Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Neil Brown Coder2012

🏠
Working from home
  • United Kingdom
View GitHub Profile
@Coder2012
Coder2012 / cloudSettings
Last active Jul 23, 2020
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2020-07-23T16:08:22.099Z","extensionVersion":"v3.4.3"}
View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
View package-lock.json
{
"name": "gatsby-starter-default",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@babel/code-frame": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0.tgz",
"integrity": "sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA==",
@Coder2012
Coder2012 / sku.json
Created Mar 20, 2018
Dummy data object SKU
View sku.json
[
{
"type": "size",
"value": "11.5in"
},
{
"type": "sku",
"value": "123"
},
{
View xcleague.js
curl "http://www.xcleague.com/xc/download.php?pilot=1&output=IGC&year=2008&xcFlightId=2008[1-100]" -o "#1.igc"
const puppeteer = require('puppeteer');
const url = 'http://www.gpsvisualizer.com/map_input?form=google';
(async() => {
const browser = await puppeteer.launch({headless: false});
const page = await browser.newPage();
page.setViewport({
View commonjs - threejs asset loaded
'use strict';
var $ = require('../js/lib/jQuery');
var THREE = require('../js/lib/three');
var globalDeferred = $.Deferred();
var deps = [];
var textures = [];
var models = [];
View promises
var $ = require('../js/lib/jQuery');
var THREE = require('../js/lib/three');
'use strict';
var loader = {
options: {
globalDeferred: $.Deferred(),
deps: [],
@Coder2012
Coder2012 / SassMeister-input.scss
Created Feb 1, 2016
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v3.3.2)
// ----
.ratings {
@for $i from 0 through 4 {
&--#{$i} & {
&__item:nth-of-type(n+#{$i+1}){
You can’t perform that action at this time.