(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
:
package main | |
import ( | |
"encoding/base64" | |
"net/http" | |
"strings" | |
) | |
type handler func(w http.ResponseWriter, r *http.Request) |
package main | |
import ( | |
"fmt" | |
"syscall" | |
) | |
type DiskStatus struct { | |
All uint64 `json:"all"` | |
Used uint64 `json:"used"` |
/* | |
* uart.c | |
* | |
* Asynchronous UART example tested on ATMega328P (16 MHz) | |
* | |
* Toolchain: avr-gcc (4.3.3) | |
* Editor: Eclipse Kepler (4) | |
* Usage: | |
* Perform all settings in uart.h and enable by calling initUART(void) | |
* Compile: |
typedef void (^PaintCodeSourceBlock)(); | |
@implementation PaintCodeDrawableImages | |
+ (UIImage *)drawImageWithSize:(CGSize)size paintCodeSource:(PaintCodeSourceBlock)paintCodeSourceBlock | |
{ | |
// Begin the image context. | |
UIGraphicsBeginImageContextWithOptions(size, NO, 0.0f); | |
// Draw the paint code image. |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream