(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
:
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "generic/fedora28" | |
config.vm.network "public_network" | |
config.vm.synced_folder ".", "/vagrant", type: "nfs" | |
config.vm.provider "vmware_desktop" do |v| | |
v.ssh_info_public = true | |
v.vmx["numvcpus"] = "2" |
var E_PREFIX_RATE = 0.25; | |
// All of our word lists: | |
var _word_lists = { | |
verb : [ | |
"implement", "utilize", "integrate", "streamline", "optimize", "evolve", "transform", "embrace", | |
"enable", "orchestrate", "leverage", "reinvent", "aggregate", "architect", "enhance", "incentivize", | |
"morph", "empower", "envisioneer", "monetize", "harness", "facilitate", "seize", "disintermediate", |
import urllib2 | |
import json | |
def rpc_call(url, method, args): | |
data = json.dumps({ | |
'id': 1, | |
'method': method, | |
'params': [args] | |
}).encode() |
CRC has a daemon, which can be used to do some basic CRC operations, to start the daemon run crc daemon
or with debug logging crc daemon --log-level debug
In case of macOS and Windows, crc setup --enable-experimental-features
will start the daemon but it'll also start the tray.
The daemon when started, listens on a Unix socket at $CRC_HOME/crc.sock, (~/.crc/crc.sock in linux and macOS) for commands/requests.. After connecting to the socket, it accepts commands as a JSON.
It understands a subset of the crc CLI commands:
CLI commands | Daemon api | Response |
---|
Many users of Git are curious about the lack of delta compression at the object (blob) level when commits are first written. This efficiency is saved until the pack file is written. Loose objects are written in compressed, but non-delta format at the time of each commit.
A simple run though of a commit sequence with only the smallest change to the image (in uncompressed TIFF format to amplify the observable behavior) aids the understanding of this deferred and different approach efficiency.
Create the repo:
$tempDir = $args[0] | |
$startUpFolder = "$Env:USERPROFILE\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" | |
function RemoveUserFromServiceLogon | |
{ | |
# security template to modify SeServiceLogonRight | |
$securityTemplate = @" | |
[Unicode] | |
Unicode=yes | |
[Version] |
const net = require('net'); | |
const homedir = require('os').homedir(); | |
const path = require('path'); | |
const SOCKET_PATH = path.join(homedir, ".crc", "crc.sock"); | |
function sendCommand(command, args) { | |
if (command === "") { | |
console.log("Command is required!!") | |
return |
Name: crc-w6m86-master-0 | |
Roles: master,worker | |
Labels: beta.kubernetes.io/arch=amd64 | |
beta.kubernetes.io/os=linux | |
kubernetes.io/arch=amd64 | |
kubernetes.io/hostname=crc-w6m86-master-0 | |
kubernetes.io/os=linux | |
node-role.kubernetes.io/master= | |
node-role.kubernetes.io/worker= | |
node.openshift.io/os_id=fedora |