Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
path=$1
other=/home/project/olddir
diff -bu -x "*.rej" $other/$path $path
@ataka
ataka / Makefile
Created March 23, 2009 20:42
queue sample program
# Queue sample program
# Author: Masayuki Ataka <[email protected]>
PROGRAM = queue
CC = gcc
CFLAGS = -W -Wall -g -O2 -std=c99
CPPFLAGS = -DDEBUG
all: $(PROGRAM)
@ataka
ataka / Makefile
Created April 22, 2009 21:57
企業の体質をシミュレーションするモデル
# Corporate Work program
# Author: Masayuki Ataka <[email protected]>
PROGRAM = cwork
CC = gcc
CFLAGS = -W -Wall -g -O2 -std=c99
CPPFLAGS = -DDEBUG
GNUPLOT = gnuplot
@ataka
ataka / pm-suspend-snd.sh
Created May 31, 2009 02:11
Suspend with modprobe sound module
#!/bin/sh
#
# Copied from http://pulpdust.org/item/688
#
# Kill pulseaudio and GNOME volume control applet before reload snd module.
# You can kill puleaudio as followed:
# $ pulseaudio -k
#
pm=pm-suspend
@ataka
ataka / Makefile
Created June 24, 2009 21:11
History of Blogger
all: blogger-history.png
blogger-history.png: blogger-history.dot
dot -Tpng -o $@ $<
@ataka
ataka / README
Created September 14, 2009 16:15
CSS Counter
CSS counter sample script
@ataka
ataka / Makefile
Created April 22, 2010 18:02
Binary Tree Sample
# Binary Tree sample program
# Author: Masayuki Ataka <[email protected]>
PROGRAM = btree
CC = gcc
CFLAGS = -W -Wall -g -O2 -std=c99
CPPFLAGS = -DDEBUG
all: $(PROGRAM)
@ataka
ataka / README
Created November 1, 2011 00:52
GDD2011 DevQuiz Web Game
GDD2011 DevQuiz Web Game
ルール
シンプルな神経衰弱ゲームです。カードはクリックすることでめくることができます。全 64 セットを解くことで問題クリアとなります。
@ataka
ataka / mark-blog-entry.el
Created February 17, 2012 04:35
Mark blog entry
(defun mark-blog-entry ()
(interactive)
(search-forward "<title>")
(forward-line -1)
(skip-chars-backward " \n")
(forward-line)
(push-mark nil t t)
(search-backward "<title>")
(forward-line)
(point))
@ataka
ataka / shibuya-el-position-paper.md
Created September 5, 2012 23:35 — forked from ainame/shibuya-el-position-paper.md
shibuya.el のポジションペーパーです

Shibuya.el#1 ポジションペーパー

Personal