Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
| db/schema.rb merge=railsschema |
| // Brightness math based on: | |
| // http://www.nbdtech.com/Blog/archive/2008/04/27/Calculating-the-Perceived-Brightness-of-a-Color.aspx | |
| $red-magic-number: 241; | |
| $green-magic-number: 691; | |
| $blue-magic-number: 68; | |
| $brightness-divisor: $red-magic-number + $green-magic-number + $blue-magic-number; | |
| @function brightness($color) { | |
| // Extract color components |
| ▶ brew list -1 | while read line; do brew unlink $line; brew link $line; done | |
| Unlinking /usr/local/Cellar/appledoc/2.2... 0 links removed | |
| Linking /usr/local/Cellar/appledoc/2.2... 1 symlinks created | |
| Unlinking /usr/local/Cellar/autoconf/2.69... 0 links removed | |
| Linking /usr/local/Cellar/autoconf/2.69... 18 symlinks created | |
| Unlinking /usr/local/Cellar/bash-completion/1.3... 184 links removed | |
| Linking /usr/local/Cellar/bash-completion/1.3... 182 symlinks created | |
| Unlinking /usr/local/Cellar/bgrep/0.2... 0 links removed | |
| Linking /usr/local/Cellar/bgrep/0.2... 1 symlinks created | |
| Unlinking /usr/local/Cellar/binutils/2.24... 49 links removed |
| <?php | |
| define('MAGENTO', realpath(dirname(__FILE__))); | |
| ini_set('memory_limit', '32M'); | |
| set_time_limit (0); | |
| require_once MAGENTO . '/app/Mage.php'; | |
| Mage::app(); | |
| Mage::getModel('core/url_rewrite')->setIsSystem(0)->setOptions('RP')->setIdPath('Imported-Old-Website-URL-test1')->setTargetPath('alicia-suspender-skirt-32360')->setRequestPath('SHOPONLINE.aspx?Product=Alicia Skirt&Brand=Lascivious Test&PID=1975')->save(); | |
| Mage::getModel('core/url_rewrite')->setIsSystem(0)->setOptions('RP')->setIdPath('Imported-Old-Website-URL-test2')->setTargetPath('alicia-suspender-skirt-32360')->setRequestPath('SHOPONLINE.aspx?Product=Alicia Skirt&Brand=Lascivious Test&PID=1975')->save(); |
| <!doctype html> | |
| <!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
| <html> | |
| <head> | |
| <title>iOS 8 web app</title> | |
| <!-- CONFIGURATION --> |
| #!/usr/bin/env python | |
| import os | |
| import re | |
| import subprocess | |
| import sys | |
| modified = re.compile('^[MA]\s+(?P<name>.*)$') | |
| CHECKS = [ |