Skip to content

Instantly share code, notes, and snippets.

View ggtwlb0314's full-sized avatar

Libo Wang ggtwlb0314

  • Shanghai JiaoTong University
  • Shanghai
View GitHub Profile
set-option -g prefix `
set -g default-terminal "xterm-256color"
bind-key a send-prefix
bind -n M-1 select-window -t :1
bind -n M-2 select-window -t :2
bind -n M-3 select-window -t :3
bind -n M-4 select-window -t :4
bind -n M-5 select-window -t :5
bind -n M-6 select-window -t :6
bind -n M-7 select-window -t :7
@ggtwlb0314
ggtwlb0314 / ffr.c
Created March 20, 2014 14:23 — forked from cloudwu/ffr.c
#include <stdint.h>
#include <stdlib.h>
// assert(RAND_MAX >= 0x7fff)
float
random_0_to_1() {
union {
uint32_t d;
float f;
} u;