This file contains hidden or 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
$ ignore osx > .gitignore # or path/to/.gitignore |
This file contains hidden or 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
# Created by https://www.gitignore.io | |
### OSX ### | |
.DS_Store | |
.AppleDouble | |
.LSOverride | |
# Icon must end with two \r | |
Icon |
This file contains hidden or 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
$ ignore osx |
This file contains hidden or 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
# Generate .gitignore file from gitignore.io API | |
# $@ - Comma separated list of templates to use, i.e. osx,sublimetext | |
# Common commands: | |
# 'ignore list' - List all currently supported templates | |
# 'ignore example1,example2' - Preview output in console | |
# 'ignore example1,example2 >> .gitignore' - Output to .gitignore file in CWD | |
# 'ignore example1,example2 >> ~/.gitignore' - Output to global .gitignore | |
function ignore() { | |
curl -s https://www.gitignore.io/api/$@ ; | |
} |
This file contains hidden or 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 "function gi() { curl -L -s https://www.gitignore.io/api/\$@ ;}" >> ~/.bash_profile && source ~/.bash_profile |
This file contains hidden or 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 "function gi() { curl -L -s https://www.gitignore.io/api/\$@ ;}" >> ~/.zshrc && source ~/.zshrc |
This file contains hidden or 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 ) { | |
var port = 8981; | |
// Task config | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON( 'package.json' ), | |
clean: { | |
files: [ 'dist' ] | |
}, |
This file contains hidden or 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
<?php | |
// Get query string | |
$queryString = $_SERVER['QUERY_STRING']; | |
// Get requested search term | |
$requestURL = 'https://apib4.blinkx.com/api.php?' . $queryString; | |
// Get XML from API | |
$json = callAPI( $requestURL ); | |
header( 'Access-Control-Allow-Origin: *' ); |
This file contains hidden or 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
console.log( 'JSON:', JSON.stringify( jsonObject, null, 4 ) ); |
This file contains hidden or 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
package com.jaspervalero.tools | |
{ | |
/*###################################### | |
# Yahoo Zipcode to WOEID Converter # | |
# Written By: Jasper Valero # | |
# www.jaspervalero.com # | |
# July 13th, 2011 # | |
######################################*/ | |
import flash.events.Event; |