Skip to content

Instantly share code, notes, and snippets.

View chinmaygarde's full-sized avatar

Chinmay Garde chinmaygarde

View GitHub Profile
@chinmaygarde
chinmaygarde / .gitignore
Created December 13, 2009 07:37
.gitignore for Flex Projects
.actionScriptProperties
.flexProperties
.flexLibProperties
.project
.settings
bin-debug
html-template
bin
@chinmaygarde
chinmaygarde / .gitignore
Created December 13, 2009 07:38 — forked from program247365/.gitattributes
.gitignore for XCode Projects
# Exclude the build directory
build/*
# Exclude temp nibs and swap files
*~.nib
*.swp
# Exclude OS X folder attributes
.DS_Store
@chinmaygarde
chinmaygarde / .gitignore
Created December 13, 2009 07:42
.gitignore for Ruby on Rails Projects
.DS_Store
log/*.log
tmp/**/*
db/*.sqlite3
@chinmaygarde
chinmaygarde / .gitignore
Created April 1, 2010 05:14
.gitignore for Android projects
.DS_Store
Thumbs.db
Desktop.ini
.metadata
tmp/**
tmp/**/*
*.bak
*.swp
*~.nib
*~
gem "rails", "2.3.8"
gem "bundler"
group :development, :test do
gem "sqlite3-ruby", :require => "sqlite3"
gem "rspec", "1.3.0"
gem "rspec-rails", "1.3.2"
gem "factory_girl", "1.3.2"
gem "ZenTest"
end
@chinmaygarde
chinmaygarde / for_eric.js
Created November 15, 2011 09:08
Browser Security Homework 3. Bypassing TSET.
// The rule is:
/*
* at $1:getCompStyle($2; ...) if $2:isLink() inject "secret"
* at document:send($1; $2) block "secret" on $2
*/
var k = { 0: "qpsoivc/dpn", "sfeuvcf/dpn", ... };
var g = [];
for(var m in k) {
var d = k[m];
@chinmaygarde
chinmaygarde / hack.sh
Last active February 6, 2019 20:37 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://gist.githubusercontent.com/chinmaygarde/2269196/raw/24fd4289a4fbd43f55023be4f1c810155cc9207e/hack.sh | sh
#
@chinmaygarde
chinmaygarde / .gitattributes
Created December 12, 2012 02:13
XCode .gitattributes
*.pbxproj -crlf -diff -merge
@chinmaygarde
chinmaygarde / .gitignore_global
Created December 16, 2012 04:00
Global .gitignore
*~.nib
*.swp
.DS_Store
*.mode1
*.mode1v3
*.mode2v3
*.perspective
*.perspectivev3
*.pbxuser
*.xcworkspace
@chinmaygarde
chinmaygarde / Preferences.sublime-settings
Last active December 10, 2015 09:19
Sublime Settings
{
"bold_folder_labels": true,
"color_scheme": "Packages/Theme - Aqua/Color Schemes/Monokai Aqua.tmTheme",
"default_line_ending": "unix",
"font_face": "Monaco",
"font_size": 15.0,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[