(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
Setting, DefaultValue, INIValue, CurrentValue, Origin | |
sScreenShotBaseName:Display, <unimplemented>, <unimplemented>, <unimplemented>, INI | |
sScreenShotFolderName:Display, <unimplemented>, <unimplemented>, <unimplemented>, INI | |
sRuntimeLODDatabasePath:LODManager, <unimplemented>, <unimplemented>, <unimplemented>, INI | |
strPluginsFileHeader:General, <unimplemented>, <unimplemented>, <unimplemented>, INI | |
sLanguage:General, <unimplemented>, <unimplemented>, <unimplemented>, INI | |
sFailureMessage:LANGUAGE, <unimplemented>, <unimplemented>, <unimplemented>, INI | |
sResourcePrefixList:Archive, <unimplemented>, <unimplemented>, <unimplemented>, INI | |
sDLCDefaultVoiceSuffix:Archive, <unimplemented>, <unimplemented>, <unimplemented>, INI | |
sLocalMasterPath:General, <unimplemented>, <unimplemented>, <unimplemented>, INI |
Setting, DefaultValue, INIValue, CurrentValue, Origin | |
sScreenShotBaseName:Display, <unimplemented>, <unimplemented>, <unimplemented>, INI | |
sScreenShotFolderName:Display, <unimplemented>, <unimplemented>, <unimplemented>, INI | |
sRuntimeLODDatabasePath:LODManager, <unimplemented>, <unimplemented>, <unimplemented>, INI | |
strPluginsFileHeader:General, <unimplemented>, <unimplemented>, <unimplemented>, INI | |
sLanguage:General, <unimplemented>, <unimplemented>, <unimplemented>, INI | |
sFailureMessage:LANGUAGE, <unimplemented>, <unimplemented>, <unimplemented>, INI | |
sResourcePrefixList:Archive, <unimplemented>, <unimplemented>, <unimplemented>, INI | |
sDLCDefaultVoiceSuffix:Archive, <unimplemented>, <unimplemented>, <unimplemented>, INI | |
sLocalMasterPath:General, <unimplemented>, <unimplemented>, <unimplemented>, INI |
#!/usr/bin/env bash | |
levenshtein () | |
{ | |
local -r -- target=$1 | |
local -r -- given=$2 | |
local -r -- targetLength=${#target} | |
local -r -- givenLength=${#given} | |
local -- alt | |
local -- cost |
pragma solidity ^0.4.11; | |
/** | |
* @title Ownable | |
* @dev The Ownable contract has an owner address, and provides basic authorization control | |
* functions, this simplifies the implementation of "user permissions". | |
*/ | |
contract Ownable { | |
address public owner; |
# frozen_string_literal: true | |
source "https://rubygems.org" | |
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } | |
gem "tty-prompt", github: 'piotrmurach/tty-prompt' | |
gem "rspec" |
#!/usr/bin/env ruby | |
# Show cron expression in plain english | |
# Place in /usr/local/bin and chmod +x | |
require 'bundler/inline' | |
gemfile do | |
source "https://rubygems.org" | |
gem 'cron2english' | |
end |
# Interactive approval testing for Bash. | |
# Author: Danny Ben Shitrit (https://github.com/dannyben) | |
# | |
# This utility will compare the output of a command with an expected output | |
# stored in the approvals folder. | |
# | |
# - When the approval file does not exist, the actual output will be shown to | |
# you, and you will be prompted to approve (and save) it. | |
# - When the approval file exists, but contains different data, the diff will | |
# be shown to you, and you will be prompted to approve (and save) it. |
# Stub commands printing it's name and arguments to STDOUT or STDERR. | |
stub() { | |
local cmd="$1" | |
if [ "$2" == "STDERR" ]; then local redirect=" 1>&2"; fi | |
if [[ "$(type "$cmd" | head -1)" == *"is a function" ]]; then | |
local source="$(type "$cmd" | tail -n +2)" | |
source="${source/$cmd/original_${cmd}}" | |
eval "$source" | |
fi |
#!/usr/bin/env bash | |
############################################################################## | |
# ---------------------------------------------------------------------- | |
# ASN/IPv4/Prefix lookup tool. Uses Team Cymru's whois service for data. | |
# ---------------------------------------------------------------------- | |
# example usage: | |
# asn <ASnumber> -- to lookup matching ASN data. Supports "as123" and | |
# "123" formats (case insensitive) | |
# asn <IP.AD.DR.ESS> -- to lookup matching route and ASN data |