start new:
tmux
start new with session name:
tmux new -s myname
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
// https://blogs.oracle.com/janp/entry/how_the_scp_protocol_works | |
package main | |
import ( | |
"fmt" | |
"golang.org/x/crypto/ssh" | |
) | |
const privateKey = `content of id_rsa` |
It's tuesday afternoon and I bang my head against the wall | |
Tried so many solutions but theres none at all | |
Double checked my spellings checked on StackOverflow | |
Yelled, cried and begged on Twitter and FB but no no no | |
I should know this, it's really very basic stuff | |
There's no warning no nothing, I've had enough | |
Why do I do this to myself, loosing all this sleep and hair | |
To make something work and probably only I would care | |
It's that little moment of happiness after infinity of self-abuse | |
Another bug, another bruise |
// Traverses an arbitrary struct and translates all stings it encounters | |
// | |
// I haven't seen an example for reflection traversing an arbitrary struct, so | |
// I want to share this with you. If you encounter any bugs or want to see | |
// another example please comment. | |
// | |
// The MIT License (MIT) | |
// | |
// Copyright (c) 2014 Heye Vöcking | |
// |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
# Edit this file as you like and merge with $HOME/.gitconfig (global) or .git/config (given repo only) | |
# | |
# See https://help.github.com/articles/set-up-git | |
# | |
# See http://git-scm.com/docs/git-config | |
# or http://www.kernel.org/pub/software/scm/git/docs/git-config.html | |
# | |
# See http://git-scm.com/book/en/Customizing-Git-Git-Configuration | |
# or http://progit.org/book/ch7-1.html | |
# |
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
{... | |
"scripts": { | |
"postinstall": "node patch.js", | |
... | |
} | |
} |
View: Pods(<namespace>)[number of pods listed] | |
NAME pod name | |
READY number of pods in ready state / number of pods to be in ready state | |
RESTARTS number of times the pod has been restarted so far | |
STATUS state of the pod life cycle, such as Running | ... | Completed | |
CPU current CPU usage, unit is milli-vCPU | |
MEM current main memory usage, unit is MiB | |
%CPU/R current CPU usage as a percentage of what has been requested by the pod | |
%MEM/R current main memory usage as a percentage of what has been requested by the pod |