Skip to content

Instantly share code, notes, and snippets.

@JulianKingman
JulianKingman / 0_reuse_code.js
Last active August 29, 2015 14:25
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
@JulianKingman
JulianKingman / javascript_resources.md
Last active August 29, 2015 14:25 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

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
@JulianKingman
JulianKingman / meteordockersetup.yml
Last active September 7, 2017 05:43
Docker setup, with SSL
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 August 19, 2017 22:55
Circular Lottie Gradient Test
{
"v": "4.10.2",
"fr": 30,
"ip": 0,
"op": 150,
"w": 500,
"h": 500,
"nm": "Gradient",
"ddd": 0,
"assets": [],
@JulianKingman
JulianKingman / circlechart.json
Created February 2, 2018 22:37
Circular chart made with lottie
{
"v": "4.10.2",
"fr": 30,
"ip": 0,
"op": 150,
"w": 500,
"h": 500,
"nm": "Gradient",
"ddd": 0,
"assets": [],
@JulianKingman
JulianKingman / updateChannelsAndPublish.sh
Created October 29, 2018 13:08
[Expo] Updates release channels and publishes to unique channel, based on version number.
# 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";