1. install
brew install tor
brew install privoxy
2. copy and modify config file
require 'date' | |
ANCHOR_DAYS = { | |
1800 => 5, | |
1900 => 3, | |
2000 => 2, | |
2100 => 0, | |
} | |
# supports only 1800 ~ 2199 |
WHAT_I_LOVE = [ | |
'automation', | |
'drinking', | |
'gaming', | |
'hacking', | |
'waching movies', | |
'talking with friends', | |
'programming', | |
] |
import math | |
from tqdm import tqdm | |
def sum_root_for(num): | |
num = num * 2 | |
n = int(math.sqrt(num)) | |
if n * (n + 1) == num: | |
return n | |
else: |
#!/bin/bash | |
base_dir=`pwd` | |
git clone https://github.com/taku910/mecab.git | |
cd mecab/mecab | |
./configure --enable-utf8-only | |
make | |
make check | |
sudo make install |
# -*- coding: utf-8 -*- | |
# y: 中心 -> 北極 | |
# x: 中心 -> (0,0) | |
# z: 中心 -> (0,90E) | |
import math | |
import numpy as np | |
def to_xyz(point): | |
p = map(math.radians, point) |
class Num | |
def initialize(num) | |
@num = num | |
end | |
def ary(base) | |
Ary.new({base: base, num: @num}) | |
end | |
end |
1. install
brew install tor
brew install privoxy
2. copy and modify config file
let hintcharacters = "aoeuidhtns" | |
map d scrollLeft | |
map h scrollDown | |
map t scrollUp | |
map n scrollRight | |
vmap d scrollLeft | |
vmap h scrollDown | |
vmap t scrollUp | |
vmap n scrollRight | |
map H previousTab |