If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
#!/usr/bin/env ruby | |
# A quick script to download all your files from CloudApp. | |
# To run this just run the script passing your e-mail & password | |
# to the script, for example: | |
# | |
# gem install cloudapp_api | |
# ruby cloudapp-export.rb [email protected] mypassword | |
# |
# Taken from http://www.tekrevue.com/tip/how-to-completely-disable-notification-center-in-mac-os-x/ | |
# disable | |
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist | |
# enable | |
launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist |
node --max-old-space-size=1024 my-node-script.js # increase to 1gb | |
node --max-old-space-size=2048 my-node-script.js # increase to 2gb | |
node --max-old-space-size=3072 my-node-script.js # increase to 3gb | |
node --max-old-space-size=4096 my-node-script.js # increase to 4gb | |
node --max-old-space-size=5120 my-node-script.js # increase to 5gb | |
node --max-old-space-size=6144 my-node-script.js # increase to 6gb | |
node --max-old-space-size=7168 my-node-script.js # increase to 7gb | |
node --max-old-space-size=8192 my-node-script.js # increase to 8gb |
If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
add-apt-repository -y ppa:ondrej/apache2 | |
apt-key update | |
apt-get update && apt-get upgrade | |
apt-get install apache2 |
This sets up Atom to properly lint ES6+Babel+JSX using Airbnb's .eslintrc as a starting point.
npm install --save-dev eslint-config-airbnb babel-eslint eslint-plugin-react
from your project root."extends": "eslint-config-airbnb"
to your .eslintrc{ "keys": ["home"], "command": "move_to", "args": {"to": "bol"} }, | |
{ "keys": ["end"], "command": "move_to", "args": {"to": "eol"} } |
$ vi /root/.profile
PATH=/opt/bin:/opt/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
$ ln -s /opt/bin/rdiff-backup-2.6 /usr/bin/rdiff-backup
$ ln -s /opt/bin/rdiff-backup-statistics-2.6 /usr/bin/rdiff-backup-statistics
<script type="text/javascript"> | |
(function ($) { | |
$(function () { | |
var descriptionTemplate = "What URL were you on? Who were you logged in as? Is there anything else about your environment that is important (Browser, Browser Version)?\n\nh3. What did you expected it to do?\n\nh3. What did it actually do?\n\nh3. What are the detailed steps to recreate this behavior?\n\n# Step 1\n# Step 2\n# Step 3\n# ..."; | |
var updateDescription = function updateDescription($issueTypeField, $description) { | |
if ($issueTypeField.length > 0 && $description.length > 0) { | |
var issueType = $issueTypeField.get('selector') === '#issue-create-issue-type' ? $issueTypeField.html() : $issueTypeField.val(); | |
// Update description |