Skip to content

Instantly share code, notes, and snippets.

View SteveEdson's full-sized avatar

Steve Edson SteveEdson

View GitHub Profile
@SteveEdson
SteveEdson / +not-found.tsx
Created March 3, 2025 22:14
Files from current directory
import { Link, Stack } from "expo-router";
import { StyleSheet, Text, View } from "react-native";
export default function NotFoundScreen() {
return (
<>
<Stack.Screen options={{ title: "Oops!" }} />
<View style={styles.container}>
<Text style={styles.title}>This screen doesn't exist.</Text>
@SteveEdson
SteveEdson / app.json
Created March 3, 2025 22:00
Files from current directory
{
"expo": {
"name": "expo-app",
"slug": "expo-app",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/images/icon.png",
"scheme": "myapp",
"userInterfaceStyle": "automatic",
"newArchEnabled": true,
@SteveEdson
SteveEdson / app.json
Created March 3, 2025 21:58
Files from current directory
{
"expo": {
"name": "expo-app",
"slug": "expo-app",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/images/icon.png",
"scheme": "myapp",
"userInterfaceStyle": "automatic",
"newArchEnabled": true,
@SteveEdson
SteveEdson / cloudSettings
Last active October 19, 2017 09:23
Visual Studio Code Settings Sync Gist
{"lastUpload":"2017-10-19T09:23:32.280Z","extensionVersion":"v2.8.3"}
// Take a photo on load
takePhoto();
setInterval(() => {
// Take a photo every X minutes, defined in the ENV
takePhoto();
}, 1000 * 60 * parseInt(process.env.PHOTO_INTERVAL, 10));
@SteveEdson
SteveEdson / Dockerfile
Created August 22, 2017 17:53
Dockerfile for project matilda
FROM resin/%%RESIN_MACHINE_NAME%%-node:slim
# switch on systemd init system in container
ENV INITSYSTEM on
COPY . /usr/src/app
WORKDIR /usr/src/app
# Copies the package.json first for better caching on later pushes
COPY package.json package.json

title: Automating optimisations with Gulp date: 2015-03-18T10:06:55+00:00 permalink: /gulp/advanced-tasks excerpt: "Gulp is a powerful task runner, that when used correctly, can vastly improve your workflow." categories:

  • gulp tags:
  • gulp
  • npm

Keybase proof

I hereby claim:

  • I am SteveEdson on github.
  • I am steveedson (https://keybase.io/steveedson) on keybase.
  • I have a public key whose fingerprint is 6945 A97A 2B93 589E FFC1 D47E E9B8 1412 AC0A 0018

To claim this, I am signing this object:

<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script><div id="dc-vadio-wrapper" class="dc-video-on"></div>
<script id="jsbin-javascript">
// Define base url
var url = "https://www.vadio.com:443/embed.php?id=dc-vadio-wrapper&stream=";
// Get current hour
var hour = new Date().getHours;
// Select the appropriate stream
var stream;
@SteveEdson
SteveEdson / 0_reuse_code.js
Created October 27, 2013 23:15
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console