javascript:(function(){window.open("https://twitter.com/intent/tweet?text="+encodeURIComponent(document.title+"\n")+location.href,"Tweet","width=550,height=420");})();
をブックマークのURLとして登録。
Usage
| \documentclass[11pt]{article} | |
| % \documentclass[a4paper]{bxjsarticle} % 文書クラスは bxjsarticle | |
| \usepackage[default]{zxjatype} % zxjatype パッケージ読込 | |
| \usepackage[utf8]{inputenc} | |
| \usepackage{fontspec, xunicode} | |
| % \usepackage{mathspec} | |
| \usepackage{coloremoji} |
| { | |
| "binary_file_patterns": | |
| [ | |
| "*.tga", | |
| "*.dds", | |
| "*.ico", | |
| "*.eot", | |
| "*.pdf", | |
| "*.psd", | |
| "*.swf", |
| #include <stdio.h> | |
| #define SHARP_OP_TEST(expr) (printf("#expr = %s, expr = %d\n", #expr, (expr)) ) | |
| #define var(i) printf("var" #i " = %d\n" , var ## i) | |
| #define CONBINE(a, b) (printf("%s\n", a##b)) | |
| int main(void){ | |
| const char test[] = "This is test"; | |
| int var1 = 10; | |
| SHARP_OP_TEST(1+2); |
| # coding: utf-8 | |
| # $ cat ./hoge.sh | |
| # #!/bin/bash | |
| # while true; do | |
| # date; sleep 1 | |
| # done | |
| cmd = "sh ./hoge.sh" | |
| pid = Process.spawn cmd, STDOUT=>STDOUT |
| # -*- coding: utf-8 -*- | |
| import sys | |
| if not(len(sys.argv) >= 2): | |
| print "ROT13: アルファベットを一文字毎に13文字後のアルファベットに置き換えるプログラム" | |
| print "usage: python rot13.py <cipher-text file>/<plain-text file>" | |
| exit() | |
| filename = sys.argv[1] |
| # -*- coding: utf-8 -*- | |
| import sys | |
| import base64 | |
| if not(len(sys.argv) >= 3): | |
| print "onion Base64 decoder: " | |
| print "usage: python onion_base64decode.py <Base64 encoded file> <n>" | |
| exit() | |
| f = open(sys.argv[1], 'r') |
| import uu | |
| import sys | |
| if not(len(sys.argv) >= 2): | |
| print "uudecode: " | |
| print "usage: python uudecode.py <file>" | |
| exit() | |
| uu.decode(sys.argv[1], sys.stdout) |
| # coding: UTF-8 | |
| import sys | |
| if not(len(sys.argv) >= 2): | |
| print "tateyomi: 縦読みしてくれるプログラム" | |
| print "usage: python tateyomi.py <file> [<offset>]" | |
| exit() | |
| offset = 0 | |
| if len(sys.argv) > 2: |