Skip to content

Instantly share code, notes, and snippets.

@JulianKingman
JulianKingman / updateChannelsAndPublish.sh
Created Oct 29, 2018
[Expo] Updates release channels and publishes to unique channel, based on version number.
View updateChannelsAndPublish.sh
# acceptable values for arg $1 are prod and beta
echo "Publishing to $1";
iOSBuildNumber="$(json -f app.json | json expo.ios.buildNumber)"
androidVersionCode="$(json -f app.json | json expo.android.versionCode)"
channelIOS="$1_ios_$iOSBuildNumber";
channelAndroid="$1_android_$androidVersionCode";
hostUriIOS="exp.host/@EXPO_USERNAME/PROJECT_NAME?release-channel=$channelIOS";
hostUriAndroid="exp.host/@EXPO_USERNAME/PROJECT_NAME?release-channel=$channelAndroid";
@JulianKingman
JulianKingman / circlechart.json
Created Feb 2, 2018
Circular chart made with lottie
View circlechart.json
{
"v": "4.10.2",
"fr": 30,
"ip": 0,
"op": 150,
"w": 500,
"h": 500,
"nm": "Gradient",
"ddd": 0,
"assets": [],
@JulianKingman
JulianKingman / meteordockersetup.yml
Last active Sep 7, 2017
Docker setup, with SSL
View meteordockersetup.yml
nginx-proxy:
image: 'jwilder/nginx-proxy'
ports:
- '80:80'
- '443:443'
volumes:
- '/path/to/certs:/etc/nginx/certs:ro'
- '/etc/nginx/vhost.d'
- '/usr/share/nginx/html'
- '/var/run/docker.sock:/tmp/docker.sock:ro'
@JulianKingman
JulianKingman / data.json
Last active Aug 19, 2017
Circular Lottie Gradient Test
View data.json
{
"v": "4.10.2",
"fr": 30,
"ip": 0,
"op": 150,
"w": 500,
"h": 500,
"nm": "Gradient",
"ddd": 0,
"assets": [],
@JulianKingman
JulianKingman / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@JulianKingman
JulianKingman / javascript_resources.md
Last active Aug 29, 2015 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.
View javascript_resources.md

Libraries

  • jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
  • Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • AngularJS - Conventions based MVC framework for HTML5 apps.
  • Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
  • lawnchair - Key/value store adapter for indexdb, localStorage