create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| import java.util.Random; | |
| public class PasswordGenerator { | |
| String[] consonants = { "b", "c", "d", "f", "g", "h", "j", "k", "l", "m", | |
| "n", "p", "q", "r", "s", "t", "v", "w", "x", "y", "z" }; | |
| String[] vowels = { "a", "e", "i", "o", "u" }; | |
| public String generate() { | |
| String password = ""; |
| adb kill-server | |
| adb connect 127.0.0.1:53001 |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| git fetch --all | |
| git reset --hard origin/master | |
| git pull origin master |
| /** | |
| * Binary Tree | |
| * (c) 2014 Ben Lesh <[email protected]> | |
| * MIT license | |
| */ | |
| /* | |
| * A simple Binary Tree implementation in JavaScript | |
| */ |
| var redis = require("redis") | |
| , subscriber = redis.createClient() | |
| , publisher = redis.createClient(); | |
| subscriber.on("message", function(channel, message) { | |
| console.log("Message '" + message + "' on channel '" + channel + "' arrived!") | |
| }); | |
| subscriber.subscribe("test"); |
| /** | |
| * Integration test helper | |
| * Author: Andrés Zorro <[email protected]> | |
| */ | |
| const { existsSync } = require('fs'); | |
| const { constants } = require('os'); | |
| const spawn = require('cross-spawn'); | |
| const concat = require('concat-stream'); | |
| const PATH = process.env.PATH; |
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| [ -z "$PS1" ] && return | |
| # don't put duplicate lines in the history. See bash(1) for more options | |
| # ... or force ignoredups and ignorespace | |
| HISTCONTROL=ignoredups:ignorespace |
One word: task automation. It's basically zero effort and you can use the ./task.js package manager to handle any repetitive tasks. You can use ./task.js to automate everything with minimum effort.
./task.js provides the structure, order, and authority that you as a developer so desperately crave.
./task.js will also take responsibility for your actions if you need it to. It's what everybody is using now.
./task.js is the new hotness. It's all about ./task.js now, just like that.
This is compared to npm run/bash scripts, which are:
| var saveBlob = (function () { | |
| var a = document.createElement("a"); | |
| document.body.appendChild(a); | |
| a.style = "display: none"; | |
| return function (blob, fileName) { | |
| var url = window.URL.createObjectURL(blob); | |
| a.href = url; | |
| a.download = fileName; | |
| a.click(); | |
| window.URL.revokeObjectURL(url); |