Skip to content

Instantly share code, notes, and snippets.

View jasonwilliams's full-sized avatar

Jason Williams jasonwilliams

View GitHub Profile
@jasonwilliams
jasonwilliams / gist:e0076f8a832f070d55e8
Created May 22, 2015 13:57
Add Node and Babel to Sublime (Ctrl + b)
{
"cmd": ["/usr/local/bin/node", "$file"],
"selector": "source.js",
"variants": [
{ "name": "Babel (ECMA 6)",
"cmd": ["/usr/local/bin/babel-node", "$file"]
}
]
@jasonwilliams
jasonwilliams / gist:e481842648e4056eaa26
Created August 7, 2015 16:11
Asia | # Korea (North and South) | Tz Database entry
# Korea (North and South)
# From Annie I. Bang (2006-07-10):
# http://www.koreaherald.com/view.php?ud=200607100012
# Korea ran a daylight saving program from 1949-61 but stopped it
# during the 1950-53 Korean War. The system was temporarily enforced
# between 1987 and 1988 ...
# From Sanghyuk Jung (2014-10-29):
# http://mm.icann.org/pipermail/tz/2014-October/021830.html
C:\Users\IEUser\workspace\servo (win32)
λ bash mach build -d
which: no python2.7 in (/mingw64/bin:/usr/bin:/c/Users/IEUser/bin:/c/cmder/bin:/bin:/usr/bin:/share/vim/vim74:/c/cmder/vendor/conemu-maximus5:/c/cmder/vendor/conemu-maximus5/ConEmu:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Program Files/OpenSSH/bin:/cmd:/c/Python27:/c/Python27/Scripts:/c/cmder)
Running virtualenv with interpreter C:\Python27\python.exe
New python executable in C:\Users\IEUser\workspace\servo\python\_virtualenv\Scripts\python.exe
Installing setuptools, pip, wheel...done.
looking for rustc at C:\Users\IEUser\workspace\servo\.servo\rust\2015-12-09/rustc-nightly-x86_64-pc-windows-gnu\rustc\bin\rustc.exe
Downloading Rust compiler...
Downloading Rust compiler: 100.0%
Extracting Rust compiler...
C:\Users\IEUser\workspace\servo (win32)
λ bash mach build -d
which: no python2.7 in (/mingw64/bin:/usr/bin:/c/Users/IEUser/bin:/c/cmder/bin:/bin:/usr/bin:/share/vim/vim74:/c/cmder/vendor/conemu-maximus5:/c/cmder/vendor/conemu-maximus5/ConEmu:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Program Files/OpenSSH/bin:/cmd:/c/Python27:/c/Python27/Scripts:/c/cmder)
Running virtualenv with interpreter C:\Python27\python.exe
New python executable in C:\Users\IEUser\workspace\servo\python\_virtualenv\Scripts\python.exe
Installing setuptools, pip, wheel...done.
looking for rustc at C:\Users\IEUser\workspace\servo\.servo\rust\2015-12-09/rustc-nightly-x86_64-pc-windows-gnu\rustc\bin\rustc.exe
Downloading Rust compiler...
Downloading Rust compiler: 100.0%
Extracting Rust compiler...
IEUser@IE11WIN10 MINGW64 ~/servo
$ echo $MSYSTEM
MINGW64
IEUser@IE11WIN10 MINGW64 ~/servo
$ ./mach build -d
looking for rustc at /home/IEUser/servo/.servo/rust/2015-12-09/rustc-nightly-x86_64-unknown/rustc/bin/rustc
Downloading Rust compiler...
Download failed (403): Forbidden - https://static-rust-lang-org.s3.amazonaws.com/dist/2015-12-09/rustc-nightly-x86_64-unknown.tar.gz
src/libANGLE/Platform.cpp: In function 'void ANGLEPlatformInitialize(angle::Platform*)':
src/libANGLE/Platform.cpp:25:19: warning: 'void ANGLEPlatformInitialize(angle::Platform*)' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
src/libANGLE/Platform.cpp: At global scope:
src/libANGLE/Platform.cpp:32:19: error: function 'void ANGLEPlatformShutdown()' definition is marked dllimport
ANGLE_EXPORT void ANGLEPlatformShutdown()
^
src/libANGLE/Platform.cpp: In function 'void ANGLEPlatformShutdown()':
src/libANGLE/Platform.cpp:32:19: warning: 'void ANGLEPlatformShutdown()' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
make: *** [/home/IEUser/servo/target/debug/build/angle-ee9dc8911de0d6f3/out/src/libANGLE/Platform.o] Error 1
make: *** Waiting for unfinished jobs....
Compiling net v0.0.1 (file:///C:/msys64/home/IEUser/servo/components/servo)
Compiling devtools v0.0.1 (file:///C:/msys64/home/IEUser/servo/components/servo)
Compiling canvas v0.0.1 (file:///C:/msys64/home/IEUser/servo/components/servo)
Compiling script_traits v0.0.1 (file:///C:/msys64/home/IEUser/servo/components/servo)
Compiling gfx v0.0.1 (file:///C:/msys64/home/IEUser/servo/components/servo)
Compiling servo v0.0.1 (file:///C:/msys64/home/IEUser/servo/components/servo)
Compiling layout_traits v0.0.1 (file:///C:/msys64/home/IEUser/servo/components/servo)
Compiling compositing v0.0.1 (file:///C:/msys64/home/IEUser/servo/components/servo)
Compiling webdriver_server v0.0.1 (file:///C:/msys64/home/IEUser/servo/components/servo)
Compiling glutin_app v0.0.1 (file:///C:/msys64/home/IEUser/servo/components/servo)
IEUser@IE11WIN10 MINGW64 ~/servo
$ ./mach build -d
Updating git repository `https://github.com/servo/rust-fontconfig`
Compiling angle v0.1.0 (file:///C:/msys64/home/IEUser/angle)
Compiling script v0.0.1 (file:///C:/msys64/home/IEUser/servo/components/servo)
Compiling script_traits v0.0.1 (file:///C:/msys64/home/IEUser/servo/components/servo)
Compiling gfx v0.0.1 (file:///C:/msys64/home/IEUser/servo/components/servo)
Compiling layout_traits v0.0.1 (file:///C:/msys64/home/IEUser/servo/components/servo)
Compiling compositing v0.0.1 (file:///C:/msys64/home/IEUser/servo/components/servo)
C:\msys64\home\IEUser\servo\components\compositing\constellation.rs:28:30: 28:46 warning: unused import, #[warn(unused_imports)] on by default
@jasonwilliams
jasonwilliams / gist:e051491cc788e17c420a
Created March 27, 2016 23:24
npm install --no-optional on browserhtml
λ npm install --no-optional
npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated graceful-fs@1.2.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
amdefine@1.0.0 node_modules\babel-core\node_modules\source-map\node_modules\amdefine -> node_modules\amdefine
ansi-regex@2.0.0 node_modules\babel-core\node_modules\chalk\node_modules\has-ansi\node_modules\ansi-regex -> node_modules\ansi-regex
archy@1.0.0 node_modules\gulp\node_modules\archy -> node_modules\archy
arr-flatten@1.0.1 node_modules\watchify\node_modules\anymatch\node_modules\micromatch\node_modules\arr-diff\node_modules\arr-flatten -> node_modules\arr-flatten
arr-diff@2.0.0 node_modules\watchify\node_modules\anymatch\node_modules\micromatch\node_modules\
$ ./mach run -r -- -b -w --pref dom.mozbrowser.enabled http://localhost:6060
compile "\\\\?\\C:\\msys64\\home\\Jason\\servo\\resources\\shaders\\quad.vs.glsl"
compile "\\\\?\\C:\\msys64\\home\\Jason\\servo\\resources\\shaders\\quad.fs.glsl"
compile "\\\\?\\C:\\msys64\\home\\Jason\\servo\\resources\\shaders\\blit.vs.glsl"
compile "\\\\?\\C:\\msys64\\home\\Jason\\servo\\resources\\shaders\\blit.fs.glsl"
compile "\\\\?\\C:\\msys64\\home\\Jason\\servo\\resources\\shaders\\border.vs.glsl"
compile "\\\\?\\C:\\msys64\\home\\Jason\\servo\\resources\\shaders\\border.fs.glsl"
compile "\\\\?\\C:\\msys64\\home\\Jason\\servo\\resources\\shaders\\blend.vs.glsl"
compile "\\\\?\\C:\\msys64\\home\\Jason\\servo\\resources\\shaders\\blend.fs.glsl"
compile "\\\\?\\C:\\msys64\\home\\Jason\\servo\\resources\\shaders\\filter.vs.glsl"