Vim manual: http://vimdoc.sourceforge.net/htmldoc/motion.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /Applications/Kaleidoscope.app/Contents/Resources/Integration/scripts | |
./install_git-default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// based on https://github.com/michaelchaize/appliness/blob/master/Illustrator-create-artboards/CreateArtboardsLayers.jsx | |
// Illustrator util to copy layers content to artboards | |
// Each layer must contain one single group | |
// It will name the artboard to match the layer name | |
// For each 20 layers it creates a new row | |
// Ensure the original artboard is placed in the top left corner | |
// TODO: translate the original artboard on the top left corner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* sidebar */ | |
.aZ6 { | |
background-color: #282a2e; | |
} | |
/* sidebar-bottom */ | |
.bhZ.bym .aj5, .vhZ.bjB .aj5 { | |
background-color: #1d1f21; | |
} | |
/* header */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// These window.navigator contain language information | |
// 1. languages -> Array of preferred languages (eg ["en-US", "zh-CN", "ja-JP"]) Firefox^32, Chrome^32 | |
// 2. language -> Preferred language as String (eg "en-US") Firefox^5, IE^11, Safari, | |
// Chrome sends Browser UI language | |
const browserLanguagePropertyKeys = ['languages', 'language']; | |
const availableLanguages = ['en', 'es']; | |
const detectedLocale = _.flow( | |
_.pick(browserLanguagePropertyKeys), // Get only language properties | |
_.values, // Get values of the properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head></head> | |
<body> | |
<p>Loaded Content</p> | |
<script> | |
(function(){ | |
var i, el = null, | |
x = []; | |
for (i = 0; i < 10000; i++) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# less compiler | |
less_c=/usr/local/bin/lessc | |
# this is the source folder | |
src_dir=client | |
# this is the deploy folder | |
deploy_dir=webspace | |
# template files to copy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!! 5 | |
/[if lt IE 7]<html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> | |
/[if IE 7]<html class="no-js lt-ie9 lt-ie8" lang="en"> | |
/[if IE 8]<html class="no-js lt-ie9" lang="en"> | |
<!--[if gt IE 8]><!--> | |
%html.no-js( lang = "en" ) | |
<!--<![endif]--> | |
%head | |
%meta( charset = "utf-8" ) | |
%meta(http-equiv = "X-UA-Compatible" content = "IE=edge,chrome=1" ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'sinatra' | |
require 'sinatra/json' | |
post '/' do | |
json params | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"color_scheme": "Packages/Theme - Spacegray/base16-eighties.dark.tmTheme", | |
"theme": "Spacegray Eighties.sublime-theme", | |
"ignored_packages": | |
[ | |
"Vintage", | |
"Markdown" | |
], | |
"font_face": "Menlo", | |
"font_size": 12, |
NewerOlder