(@ wanted branch)
$ git format-patch -o patched/ -1
- how many commit?
1
$ git log --format=oneline --decorate=short -10 patches/git.log
"use strict"; | |
var __importDefault = (this && this.__importDefault) || function (mod) { | |
return (mod && mod.__esModule) ? mod : { "default": mod }; | |
}; | |
Object.defineProperty(exports, "__esModule", { value: true }); | |
var web3_js_1 = require("@solana/web3.js"); | |
var hex_to_32_1 = __importDefault(require("hex-to-32")); | |
var atob_1 = __importDefault(require("atob")); | |
var bs58_1 = __importDefault(require("bs58")); | |
// ---------------------------------------------------- |
// Reference: http://stackoverflow.com/questions/4822471/count-number-of-lines-in-a-git-repository | |
$ git ls-files | xargs wc -l |
'Drink Responsibly, Blackmagic lives here.'; | |
/** | |
* Inject custom script to main page's document.head. | |
* Used for bypassing Chrome Extension's Content-Scripts Sandbox. | |
*/ | |
/** | |
* @param {{type?: string, src?: string, text?: string}} content | |
* @see Microsoft/vscode#22980, "JSDoc comments are ignored for destructured parameters". | |
* @see Microsoft/typescript#11597, "Intellisense for object properties defined in multi-line JSDOC comments". |
#!/bin/bash | |
machine='docker-builder' | |
export AWS_PROFILE='pahud' | |
AWS_ACCESS_KEY_ID=$(aws configure get aws_access_key_id) | |
AWS_SECRET_ACCESS_KEY=$(aws configure get aws_secret_access_key) | |
VPC='vpc-xxxxxx' | |
docker-machine create --driver amazonec2 \ |
#!/bin/sh | |
# Create a RAM disk with same perms as mountpoint | |
# Script based on http://itux.idev.pro/2012/04/iservice-speed-up-your-xcode-%D0%BD%D0%B5%D0%BA%D0%BE%D1%82%D0%BE%D1%80%D1%8B%D0%B5-%D1%81%D0%BF%D0%BE%D1%81%D0%BE%D0%B1%D1%8B/ with some additions | |
# Usage: sudo ./xcode_ramdisk.sh start | |
USERNAME=$(logname) | |
TMP_DIR="/private/tmp" | |
RUN_DIR="/var/run" |
# for Release Friends | |
ioreg -c BNBMouseDevice | grep BatteryPercent | |
ioreg -c BNBTrackpadDevice | grep BatteryPercent | |
ioreg -c AppleBluetoothHIDKeyboard | grep BatteryPercent |
Log Review Cheatsheet Critical Log Review Checklist for Security Incidents
Hardening GPO Reference UT Windows Hardening Checklist
Pass is a great command line tool to handle your password, as well in a team.
Add the key into your local GPG base:
$ gpg --keyserver <a specific key server if needed> --search-keys <email address>