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
@mixin opacity($val) { | |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=" $val * 100 ")"; /* IE 8 */ | |
filter: alpha(opacity= $val * 100); /* IE 5-7 */ | |
-khtml-opacity: $val; /* Safari 1.x (pre WebKit) */ | |
-moz-opacity: $val; /* Firefox < 0.9 */ | |
opacity: $val; /* FF 0.9+, Safari 2+, Chrome 1+, Opera 9+, IE 9+, iOS 3+, Android 2.2+) */ | |
zoom: 1; /* gives the object layout */ | |
} |
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
blockquote { | |
margin: 0px 0px 0px 10px; | |
text-indent:-10px; | |
quotes: "\201C" "\201D"; | |
} | |
blockquote:before { content: open-quote; } | |
blockquote:after { content: close-quote; } |
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
var url1 = "http://www.youtube.com/embed/sC_IESaVT0A?rel=0&autohide=1&autoplay=1"; | |
var id1 = url1.replace(/(^(.)*(embed\/|watch\?v=))([0-9a-zA-Z_]*)(.)*/gm, "$4"); | |
// id1 === 'sC_IESaVT0A' | |
var url2 = "http://www.youtube.com/watch/?v=sC_IESaVT0A"; | |
var id2 = url2.replace(/(^(.)*(embed\/|watch\?v=))([0-9a-zA-Z_]*)(.)*/gm, "$4"); | |
// id2 === 'sC_IESaVT0A' |
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
#!/bin/bash | |
# If Sublime Text 2 does not have a window open, the file browser will be empty | |
# or sometimes a window will not be created. Opening/activating Sublime then | |
# sleeping for 1 second before sending it files/folders to open seems to fix | |
# this issue. | |
# | |
# Setup: | |
# Save the file and name it `sbl` (no file extension) | |
# Move it to: `/usr/local/bin/sbl` |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
/*! | |
* Bootstrap v2.3.2 | |
* | |
* Copyright 2012 Twitter, Inc | |
* Licensed under the Apache License v2.0 | |
* http://www.apache.org/licenses/LICENSE-2.0 |
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
#!/bin/bash | |
NODE_VERSION=0.4.7 | |
NPM_VERSION=1.0.94 | |
# Save script's current directory | |
DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
#cd "${DIR}" | |
# |
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
{ | |
"asi" : false, | |
"bitwise" : true, | |
"boss" : false, | |
"browser" : true, | |
"camelcase" : false, | |
"couch" : false, | |
"curly" : true, | |
"debug" : false, | |
"devel" : false, |
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
grunt.initConfig({ | |
watch: { | |
all: { | |
files: ['<%= jshint.all.src %>'], | |
tasks: ['jshint'], | |
options: { nospawn: true } | |
} | |
}, | |
jshint: { all: { src: ['Gruntfile.js', 'lib/**/*.js'] } } | |
}); |
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
.awesome-app { | |
padding-bottom: 20px; | |
} | |
.another-app { | |
padding-bottom: 10px; | |
} | |
.awesome-app .btn { | |
display: block; width: 200px; height: 30px; font-size: 14px; background: red; color: white; border: none; | |
} | |
.another-app .btn { |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.samba.nmbd</string> | |
<key>OnDemand</key> | |
<false/> | |
<key>ProgramArguments</key> | |
<array> |
OlderNewer