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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>fileTypes</key> | |
| <array> | |
| <string>feature</string> | |
| </array> | |
| <key>firstLineMatch</key> | |
| <string>기능|機能|功能|フィーチャ|خاصية|תכונה|Функціонал|Функционалност|Функционал|Особина|Могућност|Özellik|Właściwość|Tính năng|Savybė|Požiadavka|Požadavek|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Fīča|Funzionalità|Funktionalität|Funkcionalnost|Funkcionalitāte|Funcționalitate|Functionaliteit|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Feature|Egenskap|Egenskab|Crikey|Característica|Arwedd(.*)</string> |
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
| # Color the current git branch in prompt | |
| # red -> we are in master, take care! | |
| # blue -> just a normal branch. Carry on | |
| function __colorize_git_ps1 () { | |
| local branch=$(__git_ps1 "%s") | |
| if [ -n "$branch" ]; then | |
| local color | |
| if [[ $branch == master* ]]; then | |
| color="31" #Red |
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
| unless ARGV[0].nil? | |
| File.open(ARGV[0],'r').each do |line| | |
| line.gsub!(/\(|\)|,/,'') | |
| versions = line.split | |
| gem_name = versions.shift | |
| versions.each do |version| | |
| puts "gem install #{gem_name} -v=#{version} --ignore-dependencies" | |
| system("gem install #{gem_name} -v=#{version} --ignore-dependencies") |
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
| # My first Thor script is a helper to the productivity strategy of having an | |
| # specific /etc/hosts file that blocks Twitter, Facebook, porn sites, and other | |
| # unwanted distractions, during certains time of the day. | |
| # Copy of your regular hosts file to /etc/hosts.play | |
| # Create a /etc/hosts.work file with all the blocked sites on it | |
| # Use 'thor lets:do [work|play]' to switch to the desired mental context. | |
| # 'work' and 'play' are orientative, use whichever keywords suit you best. | |
| # Nothing keeps you from keeping n different 'contexts' around. |
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
| A backup of http://sites.google.com/site/redcodenl/creating-shazam-in-java-1 just in case | |
| Why is this necessary? Read http://sites.google.com/site/redcodenl/patent-infringement | |
| Please fork, tweet about, etc. | |
| ---- | |
| Creating Shazam in Java | |
| A couple of days ago I encountered this article: How Shazam Works | |
| This got me interested in how a program like Shazam works… And more importantly, how hard is it to program something similar in Java? |
NewerOlder