Skip to content

Instantly share code, notes, and snippets.

View dai's full-sized avatar
🗻
still Catch it Up.

dai dai

🗻
still Catch it Up.
View GitHub Profile
@tyru
tyru / gist:376501
Created April 23, 2010 12:40
Zimbu introduction - translation in Japanese
もしあなたが新しいプログラム、例えばテキストエディタを作るとしたら、どの言語で作る?
Suppose you want to write a new program, something like a text editor. What language would you write it in?
* できるだけ速く。なのでインタプリタ言語はダメ。
* It has to be as fast as possible, so interpreted languages are out.
* ちまちまメモリ管理なんてしたくない。だからCはダメ。
* You don't want to micro manage memory, so C is out.
* プログラマに学位をとれなんて言いたくない。だからC++はダメ。
* You don't want to require programmers to have a degree, so C++ is out.
* できるだけ起動は速いほうがいいし、ランタイムには依存させたくない。だからJavaはダメ。
@nobodyplace
nobodyplace / tumblr_queue_latest_link.user.js
Last active September 23, 2015 20:57
Tumblr Queueの最新ページへのリンクを生成するGreasemonkey
@laiso
laiso / gist:1217214
Last active October 29, 2020 18:18
[日記] 厨2病フレーズだけで記述できるプログラミング言語 のイメージ
# 厨2病フレーズだけで記述できるプログラミング言語 のイメージ
何ッ ()
もしも それ が 真実 なの ならば———
これ は 大変なことになるぞ! (いや?)\
まぁ…… いい…
ククク…… 見せてもらおうじゃないか…… ←\
旋律 の 傀儡師 の 実力とやらを! # TODO なぜだ!? 動く!?
@qrush
qrush / Inconsolata-dz-Powerline.otf
Created January 11, 2012 16:50
vim-powerline patched fonts
> perl -E 'say "生" & "死"'
生 Life U+751F \xe7\x94\x9f 11100111 10010100 10011111
死 Death U+6B7B \xe6\xad\xbb 11100110 10101101 10111011
愛 Love u+611B \xe6\x84\x9b 11100110 10000100 10011011
@inao
inao / markdown2inao.pl
Last active October 2, 2015 19:19 — forked from suzuki/markdown2inao.pl
GitHubに移行しました。 https://github.com/naoya/md2inao.pl
#!/usr/bin/env perl
use strict;
use warnings;
use Pod::Usage;
use Text::Markdown 'markdown';
use HTML::TreeBuilder;
use List::Util 'max';
use Encode;
@igrigorik
igrigorik / github-ruby.sql
Created April 28, 2012 19:07
BigQuery example
/* top 100 repos for Ruby by number of pushes */
SELECT repository_name, count(repository_name) as pushes, repository_description, repository_url
FROM [githubarchive:github.timeline]
WHERE type="PushEvent"
AND repository_language="Ruby"
AND PARSE_UTC_USEC(created_at) >= PARSE_UTC_USEC('2012-04-01 00:00:00')
GROUP BY repository_name, repository_description, repository_url
ORDER BY pushes DESC
LIMIT 100
@j5ik2o
j5ik2o / gist:2970973
Last active June 6, 2024 14:24
ペアプロの心得

ペアプロの心得

休憩をとる

1.定期的に休憩をとっていますか? ペアプログラミングは、精神的な体力を消耗します。定期的に休憩をとってリフレッシュすることがとても大切です。

謙虚になる

2.「色々な実装方針がある」という認識がありますか?

@dai
dai / egintent.java
Created July 11, 2012 05:19
Example: Using Intent to Twitter. / by harukazepc(http://d.hatena.ne.jp/harukazepc/20111219/1324260914#intent)
var shareButton = Ti.UI.createButton({title:'share'});
shareButton.addEventListener('click',function(e) {
var shareText = 'share the text';
// ボタン押したら、ACTION_SEND対応のアプリへ暗黙インテント発行
var intent = Ti.Android.createIntent({
action: Ti.Android.ACTION_SEND
});
// EXTRA_TEXTとして、shareTextの内容を渡す
intent.putExtra(Ti.Android.EXTRA_TEXT,shareText);
@dai
dai / string.xml
Created July 16, 2012 13:40
japanese string.xml for android apps.
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2012 GitHub Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0