Microblog
List sublime text extensions
List of browser extensions
Browser bookmarks
Any encrypted ssh keys and your ssh config file
Downloaded fonts
Custom colors picked with gPick:
Chrome JS snippets:
/etc/hosts file:
Ansible vault files:
Files in your virtual machines:
psql history
bash history
Customized config files:
~/.config/xfce4/terminal
~/.gitconfig
~/.bashrc
~/.inputrc
~/.quodlibet/config
~/.config/Code/User/settings.json
Drop down terminal config
Even your ~/.bash_history
"jsx-quotes": ["error", "prefer-single"],
"max-len": "off",
"multiline-ternary": "off",
"no-console": "off",
"no-catch-shadow": "off",
"no-else-return": "off",
"no-inline-comments": "off",
"no-sync": "off",
$ base64 ./arrow-up.svg
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2aWV3Qm94PSIwIDAg
NSA1IiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
MjAwMC9zdmciIHhtbG5zOmJ4PSJodHRwczovL2JveHktc3ZnLmNvbSI+CiAgPHBhdGggZD0iTSAy
LjUgMCBMIDUgNSBMIDAgNSBMIDIuNSAwIFoiIHN0eWxlPSJmaWxsOiByZ2IoODIsIDgyLCA4Mik7
IiBieDpzaGFwZT0idHJpYW5nbGUgMCAwIDUgNSAwLjUgMCAxQGExN2I2NDEyIi8+Cjwvc3ZnPg==
$ pwgen -s 10
The main roadblock are compiled packages, it's not possible to automatically bundle binary files together with js code.
It appears that backend packages are not designed to be bundled and a bunch of errors raise if one attempts to do so.
So, why does my debian system want to upgrade jQuery?, where is it being used?
Enter apt-get why. This command outputs the chain of dependencies of the package you give it
$ sudo aptitude why libjs-jquery
i task-xfce-desktop Recommends quodlibet
i A quodlibet Depends exfalso (= 3.2.2-1)
i A exfalso Depends libjs-sphinxdoc (>= 1.0)
i A libjs-sphinxdoc Depends libjs-jquery (>= 1.4)
Although there's no right answer and both sides have compelling (and irrelevant) arguments (See: StackOverflow - Table Naming Dilemma: Singular vs. Plural Names)
I think I'm leaning more towards the plural side.
Of course, this only applies to greenfield projects in which you are in charge of making decisions like this.
Besides, it makes your work as a developer harder. For example, PM2 expects the user running the application to have a home dir in which it can put its .pm2 folder. Yes, there is the $PM2_HOME env variable, but I personally couldn't make it work and trying to fix it, is just more trouble than it's worth.
/devops $ mgitstatus
Outputs:
./vm-nodejs: ok
./create-dev-certificate: Uncommitted changes
./roles/ansible-install-redis: ok
./roles/ansible-restore-database: ok
./roles/ansible-install-postgresql: ok
./roles/ansible-sequelize-migrate: ok
./roles/ansible-remount-shared-folder: ok
./roles/ansible-install-nginx: ok
./roles/ansible-sequelize-seed: ok
Microtasks execute before tasks.
Promises create microtasks and setTimeout creates tasks.
npm install --save-dev eslint-config-standard eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node
eslint-config-standard: An ESLint Shareable Config for JavaScript Standard Style
eslint-plugin-standard: ESlint Rules for the Standard Linter
eslint-plugin-promise: Enforce best practices for JavaScript promises.
eslint-plugin-import: This plugin intends to support linting of ES2015+ (ES6+) import/export syntax, and prevent issues with misspelling of file paths and import names
eslint-plugin-node: Additional ESLint's rules for Node.js
.eslintrc.json
{
"extends": ["standard", "plugin:react/recommended", "plugin:import/errors", "plugin:import/warnings"],
"plugins": ["promise"]
}
However nowadays I prefer Gpick. It will magnify an area just by hovering over it.
There are 3 clipboards (called selections).
The first one is called PRIMARY and contains the last text that was selected and can be pasted using the mouse middle button.
The second one is called CLIPBOARD (more in line with what Windows users expect) and is used with Ctrl+C and Ctrl+V
The last one is not used
xclip is a tool made for interacting with the clipboard in the command line and allows you to use either of these three selections
Contents in the clipboard have TARGETS, these communicate to the programs pasting the contents what they represent and how they are to be pasted. For example an image needs to treated as a blob
Push your changes to the master branch, once that is done:
$ npm version patch
$ npm publish --access=public