This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abook-vcard 0.6.0pre2-1 | |
ack 2.14-1 | |
acroread-fonts-systemwide 11.0.10-1 | |
adobe-source-han-sans-cn-fonts 1.001-1 | |
adobe-source-han-sans-jp-fonts 1.001-1 | |
aisleriot 3.14.2-1 | |
aliedit 1.0.3.20-2 | |
alsa-utils 1.0.29-1 | |
android-sdk-platform-tools r22-2 | |
android-tools 5.0.2_r1-1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("www.google.com") { | |
@namespace url(http://www.w3.org/1999/xhtml); | |
#cnt { | |
background: url(https://dl.dropboxusercontent.com/u/4574342/SuzumiyaHaruhiNoYuutsu3.png) fixed no-repeat 100% 100% transparent; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if !exists("g:vimrc_loaded") | |
" 设置颜色主题为 molokai | |
colorscheme molokai | |
let g:molokai_original = 1 | |
if has("gui_running") | |
" 设置 gvim 的外观 | |
set guioptions-=T "隐藏工具栏 | |
set guioptions-=L | |
set guioptions-=r | |
set guioptions-=m |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tj ☯ | |
' 『 | |
' 』 | |
" “ | |
" ” | |
' ‘ | |
' ’ | |
0 零 | |
1 壹 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "keymap_common.h" | |
#include "led.h" | |
#include "action_layer.h" | |
/* | |
* HHKB Layout | |
*/ | |
const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |
/* 0: Default layer | |
* ,-----------------------------------------------------------. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
USER="username" | |
PASSWORD="password" | |
PASSWORD=`echo -n $PASSWORD|md5sum|cut -d' ' -f1` | |
curl 'https://net.tsinghua.edu.cn/do_login.php' -X 'POST' -H 'Origin: http://net.tsinghua.edu.cn' \ | |
--data "action=login&username=${USER}&password={MD5_HEX}${PASSWORD}&ac_id=1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iptables -N sshban | |
iptables -A sshban -p tcp -m tcp --dport 22 -m state --state NEW -m recent --set --name DEFAULT --rsource | |
iptables -A sshban -p tcp -m tcp --dport 22 -m state --state NEW -m recent --update --seconds 60 --hitcount 4 --name DEFAULT --rsource -j DROP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# -*- coding:utf-8 -*- | |
from __future__ import print_function, division, unicode_literals | |
from udevedu.utils import invoke | |
def init(): | |
print("Monitor Yubikey NEO") | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# -*- coding:utf-8 -*- | |
from __future__ import print_function, division, unicode_literals | |
import requests | |
import hashlib | |
FISHROOM_TOKEN_ID = "" | |
FISHROOM_TOKEN_KEY = "" | |
FISHROOM_ADDR = "https://fishroom.tuna.moe/api/messages" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
email = [email protected] | |
domains = d1.example.com,d2.example.com | |
webroot-path = /home/wwwroot/letsencrypt |