View git-merge-svn
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 | |
function usage { | |
echo "USAGE: git merge-svn <from> [<to>]" | |
echo "" | |
echo " from The branch name to be merged FROM" | |
echo " to Optional branch name to be merged onto. Default: HEAD" | |
echo "" | |
} |
View node-and-npm-in-30-seconds.sh
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
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl http://npmjs.org/install.sh | sh |
View gist:1372424
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
!function( root, factory ) { | |
// Export | |
if ( typeof exports === 'object' ) { | |
// Node/CommonJS | |
factory( require( 'jquery' ) ); | |
} else if ( typeof define === 'function' && define.amd ) { | |
View jQuery.equalHeights.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
$.fn.equalHeights = function( px ) { | |
$( this ).each( function() { | |
var currentElement, | |
currentHeight, | |
currentTallest = 0, | |
children = $( this ).children(); | |
children.each( function() { |
View build.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
!function() { | |
var path = require( 'path' ) | |
, csscat = require( 'csscat' ) | |
, fsh = require( 'csscat/lib/fsh' ) | |
; | |
// The directory to copy (relative to this file) | |
var original = './'; | |
View package.json
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
{ | |
"name": "Volo-Example", | |
"version": "0.0.1", | |
"description": "Kick the tires.", | |
"author": "Me", | |
"volo": { | |
"baseUrl": "library/js", | |
"dependencies": { | |
"jquery": "github:jquery/jquery/2.0.2", | |
"Modernizr": "github:Modernizr/Modernizr/v2.6.2" |
View Gruntfile.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
module.exports = function( grunt ) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON( 'package.json' ), | |
buildPath: '../<%= pkg.name %>-build/', | |
clean: { | |
options: { |
View Gruntfile.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
module.exports = function( grunt ) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON( 'package.json' ), | |
buildPath: '../<%= pkg.name %>-build/', | |
clean: { |
View index.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
javascript:(function()%7Bwindow.location.assign('https%3A%2F%2Fwww.google.com%2Fsearch%3F'%2B%2Fq%5B%5E%26%5D%2B%2F.exec(window.location.search))%7D)() |
View fragment.xml
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
<w:p w14:paraId="72754A29" w14:textId="77777777" w:rsidR="00E76149" w:rsidRDefault="00E76149"> | |
<w:pPr> | |
<w:pStyle w:val="TOC1"/> | |
<w:tabs> | |
<w:tab w:val="right" w:leader="dot" w:pos="9350"/> | |
</w:tabs> | |
<w:rPr> | |
<w:rFonts w:eastAsiaTheme="minorEastAsia"/> | |
<w:noProof/> | |
</w:rPr> |
OlderNewer