- JavaScript file:
/usr/local/lib/node_modules/npm/bin/npm-cli.js - Application parameters:
run start
- JavaScript file:
/usr/local/lib/node_modules/grunt-cli/bin/grunt
| function download_send_headers($filename) { | |
| // disable caching | |
| $now = gmdate("D, d M Y H:i:s"); | |
| header("Expires: Tue, 03 Jul 2001 06:00:00 GMT"); | |
| header("Cache-Control: max-age=0, no-cache, must-revalidate, proxy-revalidate"); | |
| header("Last-Modified: {$now} GMT"); | |
| // force download | |
| header("Content-Type: application/force-download"); | |
| header("Content-Type: application/octet-stream"); |
| namespace SearchBlox; | |
| function spl_autoloader($class) | |
| { | |
| $file = RW_DIR . 'classes/' . str_replace('\\', DIRECTORY_SEPARATOR, $class) . '.php'; | |
| if (file_exists($file)) { | |
| include_once $file; | |
| } | |
| } |
| // ==UserScript== | |
| // @name StackOverflow - Reviews | |
| // @description Automatic enters to review section | |
| // @match http://stackoverflow.com/review* | |
| // @copyright 2014+, Rw | |
| // @grant yes | |
| // ==/UserScript== | |
| var Reviews = (function() { | |
| // ==UserScript== | |
| // @name StackOverflow - Change font family of markdown | |
| // @namespace http://use.i.E.your.homepage/ | |
| // @version 0.1 | |
| // @description enter something useful | |
| // @match http://stackoverflow.com/* | |
| // @copyright 2012+, You | |
| // @grant none | |
| // ==/UserScript== |
| $('link').each(function (index, element){ | |
| var bootExist = /bootstrap\.(?:min\.)?css/.test($(element).prop('href')); | |
| if (bootExist) { | |
| $(element).remove(); | |
| return false; | |
| } | |
| }); |
| { | |
| "color_scheme": "Packages/Theme - Flatland/Flatland Dark.tmTheme", | |
| "font_face": "Monospace", | |
| "font_size": 12, | |
| "ignored_packages": | |
| [ | |
| "Vintage" | |
| ], | |
| "shift_tab_unindent": true, | |
| "soda_classic_tabs": true, |
| [ | |
| { | |
| "name": "Afghanistan", | |
| "code": "AF" | |
| }, | |
| { | |
| "name": "Åland Islands", | |
| "code": "AX" | |
| }, | |
| { |
| <?php | |
| /** | |
| * Usage: | |
| * $message = 'My First Push Notification!'; | |
| * $pushServer = new PushSerer(); | |
| * $pushServer->pushToGoogle('REG-ID-HERE', $message); | |
| * $pushServer->pushToApple('DEVICE-TOKEN-HERE', $message); | |
| */ | |
| class PushServer |
| <?php | |
| /** | |
| * Usage: | |
| * $message = 'My First Push Notification!'; | |
| * $pushServer = new PushSerer(); | |
| * $pushServer->pushToGoogle('REG-ID-HERE', $message); | |
| * $pushServer->pushToApple('DEVICE-TOKEN-HERE', $message); | |
| */ | |
| class PushServer |