$ python setup.py build
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
# encoding: utf-8 | |
module TelSplitter | |
MAP = { | |
# 市外局番 , 市内局番の桁数のマップ | |
# http://www.soumu.go.jp/main_sosiki/joho_tsusin/top/tel_number/number_shitei.html のデータを利用 | |
# 固定電話以外の桁数は適当です... | |
'050' => 4, # IP電話 | |
'070' => 4, # 携帯電話/PHS | |
'080' => 4, # 携帯電話 |
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
/* | |
* Return "dark" or "light" depending on the kind of terminal. | |
* This is just guessing! Recognized are: | |
* "linux" Linux console | |
* "screen.linux" Linux console with screen | |
* "cygwin" Cygwin shell | |
* "putty" Putty program | |
* We also check the COLORFGBG environment variable, which is set by | |
* rxvt and derivatives. This variable contains either two or three | |
* values separated by semicolons; we want the last value in either |
古くからの超漢字ユーザなら記憶の片隅にあるかもしれないスクリプト処理系「コルネット」. 業態を変えて今も活動している(って,知っていました?),株式会社セネットが開発を進めていました. 「コルネット」は,パイロットテスト版が一部ユーザにリリースされたものの,残念ながら,陽の目をみることなく消えてしまいました.
10年の時を経て,開発に関わっていた私自身,仕様の詳細は忘れかけています. 超漢字 advent calendar という機会を得て,記録を残す意味で,どんなものだったのかをざっくりと纏めてみたいと思います.
BTRONの基本的な考え方に「データが重要である」というものがあります.
何故オブジェクト指向はクソなのか by Joe Armstrong(Erlangの作者)
このドキュメントは http://www.bluetail.com/~joe/vol1/v1_oo.html で行われたオリジナルの講演のコピーである
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 <Carbon/Carbon.h> | |
typedef void *CGSConnectionID; | |
extern CGSConnectionID _CGSDefaultConnection(void); | |
#define CGSDefaultConnection _CGSDefaultConnection() | |
typedef uint64_t CGSSpace; | |
typedef enum _CGSSpaceType { | |
kCGSSpaceUser, | |
kCGSSpaceFullscreen, |
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 | |
set -o nounset | |
set -o errexit | |
set -o pipefail | |
declare -r max=4 | |
declare i=0 | |
function wrap() { | |
local cmd=$1 ; shift |
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
# -*- coding: utf-8 -*- | |
# | |
# author: USAMI Kenta <[email protected]> | |
# license: NYSL 0.9982 | |
# | |
puts %w( | |
字佐美健太 | |
-忠吉さん,_tadsan | |
--Zonu.EXE |
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
/* | |
* TSM - Unicode Handling | |
* | |
* Copyright (c) 2011-2012 David Herrmann <[email protected]> | |
* Copyright (c) 2011 University of Tuebingen | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining | |
* a copy of this software and associated documentation files | |
* (the "Software"), to deal in the Software without restriction, including | |
* without limitation the rights to use, copy, modify, merge, publish, |