Skip to content

Instantly share code, notes, and snippets.

View tokibito's full-sized avatar
👨‍👩‍👦

Shinya Okano tokibito

👨‍👩‍👦
View GitHub Profile
========================================
In defense of zope libraries 翻訳
========================================
Pyramid が Zope ライブラリを使っていることについての非常に長い defence
----------------------------------------------------------------------
freenode の #pyramid IRC チャンネルで、以下のような質問に私は
うんざりするほど多くの時間を割いてきた。
@shimizukawa
shimizukawa / pythonstartup.py
Created November 8, 2011 14:39
PYTHONSTARTUP
# -*- encoding: utf-8 -*-
try:
import pyreadline.rlmain
#pyreadline.rlmain.config_path=r"c:\xxx\pyreadlineconfig.ini"
import readline,atexit
import pyreadline.unicode_helper
#
#
#Normally the codepage for pyreadline is set to be sys.stdout.encoding
#if you need to change this uncomment the following line
@mopemope
mopemope / EchoServer.ooc
Created October 6, 2011 07:57
EchoServer
import threading/Thread
import net/ServerSocket
main: func {
socket := ServerSocket new("0.0.0.0", 5000)
socket listen(100)
while(true){
conn := socket accept()
Thread new (||