Skip to content

Instantly share code, notes, and snippets.

@shodanuk
shodanuk / .jshintrc
Last active August 29, 2015 14:06 — forked from tonylukasavage/.jshintrc
A jshint config file intended for use in Titanium development
{
"predef": [
"Ti",
"Titanium",
"Alloy",
"Widget",
"describe",
"it",
"before",
"beforeEach",
@shodanuk
shodanuk / gist:540cb5309f4a3fab7f12
Last active August 29, 2015 14:08
TiCalabash ios run script
if [ "$#" -ne 4 ]; then
echo
echo "Usage: run_ios.sh <iphone/ipad> <7.0.3/7.1/8.1> <stop_simulator/no_stop_simulator> <app_dir>"
echo
exit 1
fi
if [ $1 = "iphone" ]; then
platform=iphone
elif [ $1 = "ipad" ]; then
@shodanuk
shodanuk / gist:c379f1db916ec7cbf129
Created November 7, 2014 11:24
TiCalabash android run script
if [ "$#" -ne 1 ]; then
echo
echo "Usage: run_android.sh <app_dir>"
echo
exit 1
fi
app=$1
# Uncomment the code below to check for a running Genymotion emulator
@shodanuk
shodanuk / .editorconfig
Created March 8, 2017 21:49 — forked from thevirtualforge/.editorconfig
Standard .editorconfig file to help enforce code standards
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
@shodanuk
shodanuk / .jsbeautifyrc
Created March 8, 2017 21:50 — forked from thevirtualforge/.jsbeautifyrc
JS-Beautify config to aid enforcement of VF Javascript style guidelines
{
"indent_size": 4,
"indent_char": " ",
"eol": "\n",
"indent_level": 0,
"indent_with_tabs": false,
"preserve_newlines": true,
"max_preserve_newlines": 10,
"jslint_happy": false,
"space_after_anon_function": false,