%A - %T - %n - %a - %t
%A - %T - %n - %t
define([ | |
'jquery', | |
'underscore', | |
'brewser' | |
], | |
function( | |
$, | |
_, | |
brewser |
function onVideoReady() { | |
video.play(); | |
} | |
/* Solution #1 | |
First check for the videos readyState, if not ready add an event | |
listener to 'canplaythrough' event | |
*/ | |
if(video.readyState < 4) { | |
video.addEventListener('canplaythrough', function() { |
[ | |
{ "keys": ["super+shift+forward_slash"], "command": "toggle_comment", "args": { "block": true } } | |
] |
.icon { | |
background-image: url("social-icons.png") 0 0 no-repeat; | |
} | |
/* 1.25 dpr and up - including retina devices */ | |
@media | |
(-webkit-min-device-pixel-ratio: 1.25), | |
(min-resolution: 120dpi){ | |
.icon { | |
background-image: url("[email protected]"); |
/* | |
This snippet requires PIXI and underscoreJS to work; | |
The good thing about this approach is that you don't have to manually set the number of total frames | |
used and file name references used in the animation to build up your texture data; and this technique | |
also makes it a lot easier to remove the BaseTextures from TextureCache once you no longer need them, | |
so that you can free up precious memory! | |
Use this snippet with caution, I quickly scribbled it in, so not sure if it breaks, please let me know | |
in the comments if you found it useful or found an error. Cheers! | |
define( | |
[], | |
function() { | |
'use strict'; | |
var instance = null; | |
function Singie() { |
[core] | |
excludesfile = /Users/rob/.gitignore_global | |
[difftool "sourcetree"] | |
cmd = opendiff \"$LOCAL\" \"$REMOTE\" | |
path = | |
[mergetool "sourcetree"] | |
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\" | |
trustExitCode = true | |
[user] | |
name = |
{ | |
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night-Eighties.tmTheme", | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"font_size": 16, | |
// The number of spaces a tab is considered equal to | |
"tab_size": 2, | |
// Set to true to insert spaces when tab is pressed |
export PATH="/usr/local/bin:usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/etc:/usr/local/mysql/bin:/.rbenv/bin:$PATH" | |
export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home" | |
# Load SSH keys | |
ssh-add -K ~/.ssh/id_rsa | |
if [ -f `brew --prefix`/etc/bash_completion ]; then | |
. `brew --prefix`/etc/bash_completion | |
fi | |