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": "webapp", | |
"version": "0.0.0", | |
"dependencies": {}, | |
"devDependencies": { | |
"grunt": "~0.4.1", | |
... | |
"bower": "" | |
}, | |
"engines": { |
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
"use strict"; | |
// see http://jshint.com/docs/reporters/ | |
// and https://github.com/jshint/jshint/blob/master/examples/reporter.js | |
module.exports = { | |
reporter: function (res) { | |
var len = res.length; | |
var str = ""; | |
if (!len) { |
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
/* | |
Needs a configuration file with paths | |
for Gaia and standalone simulator | |
File contents for grunt.local.json (config): | |
{ | |
"b2g_bin_path": "/Applications/B2G.app/Contents/MacOS", | |
"gaia_homepath": "/Users/OAmat/Documents/code/gaia" |
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 | |
# Defines two properties needs for firefoxOS remote debugging | |
# | |
# Usage: | |
# ./enable-remote-debugging.sh gaia_home | |
# | |
# KNOWN BUG: | |
# If the port is busy it will be ignored and lanuched listening |
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 | |
howmany=`ls *.svg|wc -l` | |
if [ $howmany -eq 0 ] ; then | |
echo "Please launch this from inside a folder with svg files." | |
exit | |
fi | |
# In Mac OS X scripting only works when invoked with FULL PATH |
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
I. Twitter Content | |
1. All use of the Twitter API and content, documentation, code, and related materials made available to you on or through Twitter ("Twitter Content") is subject to and must comply with these Rules. As a reminder, you and your Service are subject to the Twitter Terms of Service. | |
2. You may use the Twitter API and Twitter Content in connection with the products or services you provide (your "Service") to search, display, analyze, retrieve, view, and submit information to or on Twitter. You may use the Twitter name or logos and other brand elements that Twitter makes available in order to identify the source of Twitter Content ("Twitter Marks") subject to these Rules. | |
3. Your use of the Twitter API and Twitter Content are subject to certain limitations on access, calls, and use as set forth in the Rules, on dev.twitter.com, or as otherwise provided to you by Twitter. If Twitter believes that you have attempted to exceed or circumvent these limitations, your ability to use the Twitter API and |
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
Download and install an official git from http://git-scm.com/ | |
It already includes the bash completion script. | |
Add this to your .bash_profile: | |
source /usr/local/git/contrib/completion/git-completion.bash | |
PS1='[\u@\h \w$(__git_ps1 " (%s)")]\$ ' |