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
| if [ -f "$rvm_path/scripts/rvm" ] && [ -f ".ruby-version" ]; then | |
| source "$rvm_path/scripts/rvm" | |
| rvm use `cat .ruby-version` | |
| fi |
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
| libAdamPublisher-without-Reachability.a: libAdamPublisher.a | |
| for arch in armv6 armv7 i386 ; do \ | |
| lipo -thin $${arch} libAdamPublisher.a -o $${arch}.a; \ | |
| ar -d $${arch}.a Reachability.o; \ | |
| done | |
| lipo -create armv6.a armv7.a i386.a -o libAdamPublisher-without-Reachability.a | |
| rm armv6.a armv7.a i386.a |
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
| javascript:(function()%7Bdocument.getElementById('userNm').value=encodeURIComponent('이름');document.getElementById('userNo1').value='주민번호앞자리';document.getElementById('userNo2').value='뒷자리';agrchk(document.getElementById('agree1'));agrchk(document.getElementById('agree2'));goIDCheck();setTimeout('goAct()',500);%7D)(); |
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
| // ==UserScript== | |
| // @name Me2day Remove Emark | |
| // @namespace http://me2day.net/removeemark | |
| // @include http://me2day.net/* | |
| // ==/UserScript== | |
| emarks = document.querySelectorAll(".emark"); | |
| for( i = 0; i < emarks.length; i++ ) { |
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
| coffee -c pinboard.coffee ; echo -n 'javascript:'; cat pinboard.js | tr '\n' ' ' | sed 's/ / /g' | sed 's/ / /g' |
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
| foo:KeyBindings evacuee$ pwd | |
| /Users/evacuee/Library/KeyBindings | |
| foo:KeyBindings evacuee$ cat DefaultKeyBinding.dict | |
| { | |
| /* home */ | |
| "\UF729" = "moveToBeginningOfLine:"; | |
| "$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /* end */ |
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
| /* | |
| * Hibernate, Relational Persistence for Idiomatic Java | |
| * | |
| * Copyright (c) 2010, Red Hat Inc. or third-party contributors as | |
| * indicated by the @author tags or express copyright attribution | |
| * statements applied by the authors. All third-party contributions are | |
| * distributed under license by Red Hat Inc. | |
| * | |
| * This copyrighted material is made available to anyone wishing to use, modify, | |
| * copy, or redistribute it subject to the terms and conditions of the GNU |
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
| import re | |
| from mechanize import Browser | |
| br = Browser() | |
| br.set_handle_robots(False) | |
| br.open("http://www.instapaper.com") | |
| br.follow_link(text="Log In") | |
| #print br.title() | |
| br.select_form(nr=0) |
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
| import random | |
| GOAT = 0 | |
| CAR = 1 | |
| class Door: | |
| def __init__(self, index): | |
| self.index = index | |
| self.gift = GOAT |
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
| from fabric.api import * | |
| """ | |
| Base configuration | |
| """ | |
| env.project_name = '$(project)' | |
| env.database_password = '$(db_password)' | |
| env.site_media_prefix = "site_media" | |
| env.admin_media_prefix = "admin_media" | |
| env.newsapps_media_prefix = "na_media" |