Skip to content

Instantly share code, notes, and snippets.

JGWill jgwill

Block or report user

Report or block jgwill

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jgwill
jgwill / houBatch.py
Created Nov 21, 2019 — forked from crydalch/houBatch.py
houBatch helper script
View houBatch.py
"""
A simple script to kick off a certain ROP remotely, optionally
with a given framerange.
Usage: hython path/to/script/houBatch.py /path/to/hipfile /hou/path/to/rop
TODO: Add options for multiple ROPs, hperf.
"""
import hou, sys
@jgwill
jgwill / gulpfile.js
Created Feb 10, 2019 — forked from mulderu/gulpfile.js
gulp mustache browsersync
View gulpfile.js
var gulp = require('gulp');
var sass = require('gulp-sass');
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
var include = require('gulp-include');
var mustache = require('gulp-mustache');
var cleanCSS = require('gulp-clean-css');
var autoprefixer = require('gulp-autoprefixer');
var browserSync = require('browser-sync').create();
@jgwill
jgwill / 00-nc308-Mastery-Angular.md
Last active Feb 25, 2019 — forked from eweader/angular-setup.sh
Mastery Angular - App Setting up and experimentation documentation
View 00-nc308-Mastery-Angular.md

Angular Material

Installing

# Easy nice way
@jgwill
jgwill / ZNotWorkingIn-Pythonista.py
Last active Dec 11, 2018 — forked from sirleech/gist:2660189
Python Read JSON from HTTP Request of URL
View ZNotWorkingIn-Pythonista.py
# Load Json into a Python object
import urllib2
import json
req = urllib2.Request("http://localhost:81/sensors/temperature.json")
opener = urllib2.build_opener()
f = opener.open(req)
json = json.loads(f.read())
print json
print json['unit']
@jgwill
jgwill / Fetch URL title - Node.js
Last active Nov 6, 2018 — forked from aharshac/Fetch URL title - Node.js
Node.js snippet to fetch URL title
View Fetch URL title - Node.js
/*@@@@
@a Fetch a uniform resource locator title using NodeJS
@d Nov 6, 2018 at 10:10 AM
@tlid 181106091002
@kw
@metatxt Automatic formatting of uniform of the service location when it is posted
@s Working
@CR
@ECR
@jgwill
jgwill / Mac OS X: Open in Visual Studio Code
Created Oct 15, 2018 — forked from tonysneed/Mac OS X: Open in Visual Studio Code
Add a command to Finder services in Mac OSX to open a folder in VS Code
View Mac OS X: Open in Visual Studio Code
- Open Automator
- File -> New -> Service
- Change "Service Receives" to "files or folders" in "Finder"
- Add a "Run Shell Script" action
- Change "Pass input" to "as arguments"
- Paste the following in the shell script box: open -n -b "com.microsoft.VSCode" --args "$*"
- Save it as something like "Open in Visual Studio Code"
You can’t perform that action at this time.