npm install --save-dev node-sass nodemon
"build-css": "node-sass -o css css"
Here is a list of scopes to use in Sublime Text 2/3 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
$xml = simplexml_load_file('FileZilla.xml'); | |
$csv = fopen('FileZilla.csv','w'); | |
fputcsv($csv, ["Account","Login Name","Password","Web Site","Comments"]); | |
foreach($xml->xpath('//Server') as $server) { | |
fputcsv($csv, [(string)$server->Name, (string)$server->User, (string)$server->Pass, ((int)$server->Protocol ? 'sftp://' : 'ftp://' ) . (string)$server->Host.':'.(string)$server->Port, (string)$server->Comments]); | |
} | |
fclose($csv); |
-moz-appearance
to none
. This will "reset" the styling of the element;text-indent
to 0.01px
. This will "push" the text a tiny bit[1] to the right;/** | |
* WkHtmlToPdf table splitting hack. | |
* | |
* Script to automatically split multiple-pages-spanning HTML tables for PDF | |
* generation using webkit. | |
* | |
* To use, you must adjust pdfPage object's contents to reflect your PDF's | |
* page format. | |
* The tables you want to be automatically splitted when the page ends must | |
* have a class name of "splitForPrint" (can be changed). |
# This is an example resource file for rTorrent. Copy to | |
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to | |
# uncomment the options you wish to enable. | |
# Maximum and minimum number of peers to connect to per torrent. | |
min_peers = 1 | |
max_peers = 100 | |
# Same as above but for seeding completed torrents (-1 = same as downloading) |
var npm = require('npm'); | |
// simple npm script to automatically uninstall globally installed package | |
// | |
// Usage: [sudo] node npm-clean.js | |
// Or, maybe: npm start | |
// | |
// edit protecteds array below to disable uninstall on these packages |