- 去美国北卡出差,第一次和美国人打德州扑克,去了Duke大学
- 参加大学同学婚礼,当了第二次伴郎
- 放弃公租房
#include <stdio.h> | |
#include <stdlib.h> | |
#define CHAR2INT(x) (('0' <= x && x <= '9') ? \ | |
(x - '0') : \ | |
(('a' <= x && x <= 'f') ? \ | |
(10 + (x - 'a')) : \ | |
(('A' <= x && x <= 'F') ? (10 + (x - 'A')) : (0)))) | |
#define UUID2ARRAY(uuid) { \ |
const assert = require('assert') | |
const ENCODERS = { | |
raw(len) { | |
return function(v) { | |
assert(v instanceof Buffer) | |
const buffer = Buffer.alloc(len) | |
v.copy(buffer) | |
return buffer |
for fgbg in 38 48 ; do #Foreground/Background | |
for color in {0..256} ; do #Colors | |
#Display the color | |
echo -en "\e[${fgbg};5;${color}m ${color}\t\e[0m" | |
#Display 10 colors per lines | |
if [ $((($color + 1) % 10)) == 0 ] ; then | |
echo #New line | |
fi | |
done | |
echo #New line |
# Style Guide: https://github.com/google/styleguide/blob/gh-pages/pyguide.md | |
# Pythonic: https://docs.python-guide.org/writing/style/ | |
from __future__ import absolute_import | |
from __future__ import division | |
from __future__ import print_function | |
import os | |
import sys | |
import string |
#!/usr/bin/env python | |
# Style Guide: https://github.com/google/styleguide/blob/gh-pages/pyguide.md | |
# Pythonic: https://docs.python-guide.org/writing/style/ | |
from __future__ import absolute_import | |
from __future__ import division | |
from __future__ import print_function | |
import os | |
import re |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<script src="http://ajaxorg.github.io/ace-builds/src/ace.js"></script> | |
<style> | |
#editor { position: absolute; top: 0; left: 0; right: 0; bottom: 0;} | |
.ace_link_marker { | |
position: absolute; |