Skip to content

Instantly share code, notes, and snippets.

View mdaisuke's full-sized avatar
:octocat:
vibe coder

mdaisuke mdaisuke

:octocat:
vibe coder
View GitHub Profile
(define atom?
(lambda (x)
(and (not (pair? x)) (not (null? x)))))
(print
(eq? 'superman 'superman)
)
@mdaisuke
mdaisuke / vimrc
Created July 28, 2011 06:26
vim redline
set textwidth=80
if exists('&colorcolumn')
set colorcolumn=+1
endif
@javan
javan / gist:1168475
Created August 24, 2011 16:32
Fix iPhone home button
Found this tip in comment here: http://www.tipb.com/2011/01/04/tipb-bug-home-button-working-iphone/
1.) Open any application
2.) Press and hold the power button until the slide to shutdown swipe bar appears.
3.) Release Power button
4.) Press and hold Home button Lightly
until screen returns to icon screen
@zh
zh / bot.rb
Created October 26, 2011 07:29 — forked from jpr5/bot.rb
XMPP/Ruby Bot for HipChat
#!/usr/bin/env ruby
#
# Script: HipChat bot in Ruby
# Author: Jordan Ritter <[email protected]>
#
unless `rvm-prompt i g`.chomp == "ree@xmpp"
exec("rvm ree@xmpp ruby #{$0}")
end
@sorah
sorah / lamb.da.rb
Created November 5, 2011 11:37
Lambda calculus.
#-*- coding:utf-8 -*-
class Lamb
LAMBDAS = ["λ", "\\"]
def self.run(code)
self.new.run(code)
end
def initialize
end
@tily
tily / scaling_isomorphic_javascript_code.ja.markdown
Last active July 19, 2025 22:00
サバクラ両方で動く JavaScript の大規模開発を行うために

サバクラ両方で動く JavaScript の大規模開発を行うために

原文:Scaling Isomorphic Javascript Code (This is just for study, please contact me at tily05 atmark gmail.com if any problem.)

考えてみれば Model-View-Controller とか MVC ってよく聞くよね。実際どんなものか知ってる? 抽象的に言うなら「オブジェクト情報の保持されるグラフィック・システム (つまり、ラスターではないグラフィック。ゲームとか) 上に構築された、表示系を中心としたアプリケーションにおいて、主要な機能どうしの関わりをうまく分離すること」とでも言おうか。もう少し深く考えを押し進めてみれば、これは当然、他のさまざまなアプリケーションにもあてはまる言葉 (bucket term ?) だ。

過去に多くの開発コミュニティが MVC による解決案を提供し、それによってよくあるユースケースにうまく対処し、地位を築くことができた。例をあげるなら、Ruby や Python コミュニティは Rails や Django を作り、MVC アーキテクチャを実現した。

["newsycombinator: StratifiedJS: Javascript + structured concurrency http://t.co/tqmLVM80 (Wed Feb 01 11:05:03 +0000 2012)",
"kuwa_tw: “Twitter Bootstrapが大幅バージョンアップ!して凄まじいことに・・・ | IDEA*IDEA” http://t.co/qV0wrqZC (Wed Feb 01 10:58:40 +0000 2012)",
"d2mr: そのコースは普通にアリだと思うんだ。インフラに強いアプリエンジニアは必要だし。 RT @mdaisuke: @takkeybook そんなフレキシブルに行ったり来たりできますかね(・∀・) 相談してみようかしら(・∀・) (Wed Feb 01 10:36:08 +0000 2012)",
"newsycombinator: Twitter Bootstrap 2.0 Released http://t.co/lALLsA33 (Wed Feb 01 03:05:10 +0000 2012)",
"newsycombinator: Study Finds Engineers Far More Likely than MBAs to Build and Run Companies http://t.co/p9JLfatI (Wed Feb 01 03:05:09 +0000 2012)",
"horiebot: 寝食を忘れるほど、仕事に打ち込んでみること。そこから道は開けてくる。 (Wed Feb 01 00:27:19 +0000 2012)",
"KOBA789: Ryan が Node.js のコミッタ引退と聞いて。お疲れ様でした。そして素敵なプロジェクトをありがとう。また新しいプロジェクトで楽しませてください。 #nodejs_jp (Tue Jan 31 04:08:47 +0000 2012)",
"rjurney: Interesting: Hive for Heroku, Treasure Data http://t.co/JmGm7Eu2 (Mon Jan 30 23:08:54 +0000 2012)",
"yoshiori: “コード書けるインフラエンジニアの深刻な不足問題 «
@novi
novi / gist:1805373
Created February 12, 2012 00:43
Node.js 開発環境 基礎

Node.js 開発環境 基礎

Node.jsのインストール

OS X ならHomebrewまたはMacportsで。

[~] $ brew install node
[~] # port install node

nodeコマンドでnodeのインタプリタを起動。

@jexchan
jexchan / multiple_ssh_setting.md
Created April 10, 2012 15:00
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"
@paulmillr
paulmillr / active.md
Last active December 5, 2025 05:52
Most active GitHub users (by contributions). https://paulmillr.com

Most active GitHub users (git.io/top)

The list would not be updated for now. Don't write comments.

The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.

Because of GitHub search limitations, only 1000 first users according to amount of followers are included. If you are not in the list you don't have enough followers. See raw data and source code. Algorithm in pseudocode:

githubUsers