Skip to content

Instantly share code, notes, and snippets.

@finian
finian / sublimelinter-settings-jshint
Last active December 19, 2015 11:29
My SublimeLinter.sublime-settings with jshint options
{
"sublimelinter": "save-only",
"sublimelinter_gutter_marks_theme": "bright",
"sublimelinter_notes": true,
"sublimelinter_popup_errors_on_save": true,
"jshint_options": {
// Enforcing
"bitwise": true,
//"camelcase": false,
"curly": true,
@finian
finian / android-gitignore
Created August 12, 2014 02:28
.gitignore for Android projects
## Base on https://github.com/github/gitignore
## Android ##
# Built application files
*.apk
*.ap_
# Files for the Dalvik VM
<?xml version="1.0" encoding="UTF-8"?>
<code_scheme name="AndroidStyle">
<option name="JAVA_INDENT_OPTIONS">
<value>
<option name="INDENT_SIZE" value="4" />
<option name="CONTINUATION_INDENT_SIZE" value="8" />
<option name="TAB_SIZE" value="8" />
<option name="USE_TAB_CHARACTER" value="false" />
<option name="SMART_TABS" value="false" />
<option name="LABEL_INDENT_SIZE" value="0" />
<?xml version="1.0" encoding="UTF-8"?>
<profiles version="10">
<profile name="Android" version="10">
<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="16"/>
<setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/>
zaguo.com/.cn/.com.cn/.net/.org/.info/.me 杂果 (杂志、阅读、美食)
kuzuo.com/.cn/.com.cn 酷座(专车、租车、房地产、电影)
lugua.com/.cn/.com.cn/.net 卤瓜(生鲜)
jiegua.com/.net 节瓜(生鲜)
cangxin.com/.cn/.com.cn 藏心(收藏导购)
fuwawa.com/.cn/.com.cn 福娃娃(母婴电商)
tiaosou.com/.cn/.com.cn 挑搜(电商类)
qiadao.com/.cn/.com.cn 恰到(LBS)
sifanggou.com/.cn/.com.cn/.net 四方购(海淘)
@finian
finian / osx-10.9-setup.md
Last active September 7, 2015 10:18 — forked from kevinelliott/osx-10.9-setup.md
Clean Install – Mac OS X 10.9 Mavericks

Mac OS X 10.9 Mavericks

Custom recipe to get OS X 10.9 Mavericks running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install.

Install Software

The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.

Install from App Store

@finian
finian / install-manifest.plist
Created October 21, 2016 05:27 — forked from alexcristea/install-manifest.plist
Over-the-Air Ad Hoc Distribution manifest for iOS8. More about this subject you can find on http://www.informit.com/articles/article.aspx?p=1829415&seqNum=16
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- array of downloads. -->
<key>items</key>
<array>
<dict>
<!-- an array of assets to download -->
{"sig":"12065a0490c12ccb5b65ae4682ac6aaf7c854fc39bc490c9b2b72ed75c92a2719539fc90d3d897d5819e95f3d4b9c2c821ee9768f681b60a3b1a6b7dd406af3e0","msghash":"eec8b866fdfbf62c62cf55fd88733a13f46095bbae70142ae1819bfcd91f32c9"}
/((13[0-9])|(14[5-9])|(15[0-3,5-9])|166|(17[0-3,5-8])|(18[0-9])|(19[8,9]))\d{8}/g
@finian
finian / Free O'Reilly Books.md
Created March 19, 2019 03:53 — forked from augbog/Free O'Reilly Books.md
Free O'Reilly Books

Free O'Reilly books and convenient script to just download them.

Thanks /u/FallenAege/ and /u/ShPavel/ from this Reddit post

How to use:

  1. Take the download.sh file and put it into a directory where you want the files to be saved.
  2. cd into the directory and make sure that it has executable permissions (chmod +x download.sh should do it)
  3. Run ./download.sh and wee there it goes. Also if you do not want all the files, just simply comment the ones you do not want.