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
| <?php | |
| add_action( 'init', array( &$this, 'change_post_object_label' ), 0 ); | |
| add_action( 'admin_menu', array( &$this, 'change_post_menu_label' ), 0 ); | |
| add_filter( 'post_updated_messages', array( &$this, 'post_updated_messages') ); | |
| function change_post_menu_label() { | |
| global $menu; | |
| global $submenu; | |
| if( isset( $menu[5], $submenu['edit.php'] ) ) { |
| function protect_whole_site() { | |
| if ( !is_user_logged_in() ) { | |
| auth_redirect(); | |
| } | |
| } | |
| add_action ('template_redirect', 'protect_whole_site'); |
| /* http://hammerspace.co.uk/2011/10/cross-browser-alpha-transparent-background-css */ | |
| #div{ | |
| background:rgb(255,0,0); | |
| background: transparent\9; | |
| background:rgba(255,0,0,0.3); | |
| filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4cFF0000,endColorstr=#4cFF0000); | |
| zoom: 1; | |
| } | |
| #div:nth-child(n) { |
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
| .desaturate { filter: grayscale(100%); | |
| -webkit-filter: grayscale(100%); | |
| -moz-filter: grayscale(100%); | |
| -ms-filter: grayscale(100%); | |
| -o-filter: grayscale(100%); | |
| } |
| .arrowgasm(@position: top, @size : "4px", @background-color : #88b7d5, @border-width: "2px", @border-color : #c2e1f5, @arrowClass : "arrow_box"){ | |
| (~".@{arrowClass}") { | |
| position: relative; | |
| background: @background-color; | |
| border: @size solid @border-color; | |
| } | |
| (~".@{arrowClass}:after"), (~".@{arrowClass}:before") { | |
| bottom: 100%; | |
| border: solid transparent; |
| .center.navbar .nav, | |
| .center.navbar .nav > li { | |
| float:none; | |
| display:inline-block; | |
| *display:inline; /* ie7 fix */ | |
| *zoom:1; /* hasLayout ie7 trigger */ | |
| vertical-align: top; | |
| } | |
| .center .navbar-inner { |
| background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpgxpLuZ2+I+IjzZ8wqE4nilvQdkUdfhzI5QDWy+kw5Wgg2pGpeEVeCCA7b85BO3F9DzxB3cdqvBzWcmzbyMiqhzuYqtHRVG2y4x+KOlnyqla8AoWWpuBoYRxzXrfKuILl6SfiWCbjxoZJUaCBj1 |
| 0 info it worked if it ends with ok | |
| 1 verbose cli [ 'node', '/usr/local/bin/npm', 'start' ] | |
| 2 info using npm@1.3.21 | |
| 3 info using node@v0.10.24 | |
| 4 verbose run-script [ 'prestart', 'start', 'poststart' ] | |
| 5 info prestart ghost@0.4.1 | |
| 6 info start ghost@0.4.1 | |
| 7 verbose unsafe-perm in lifecycle true | |
| 8 info ghost@0.4.1 Failed to exec start script | |
| 9 error ghost@0.4.1 start: `node index` |