Skip to content

Instantly share code, notes, and snippets.

View shishi's full-sized avatar
🏠
Working from home

Shigenobu Nishikawa shishi

🏠
Working from home
View GitHub Profile
@Kuniwak
Kuniwak / 2013_11_15_githubjp_note.markdown
Last active October 30, 2018 07:06
「GitHub トレーニングチームから学ぶ Git の内部構造」のノートです。 曖昧なところもあるので、間違いがあったら教えてください! http://connpass.com/event/3808/

GitHub トレーニングチームから学ぶ Git の内部構造

Graphs, Hashes, and Compression, Oh My!

Hash について

従来の CVCS (集中バージョン管理システム)のリビジョン番号は連番。 SVN はサーバーにデプロイした時点でリビジョン番号1と設定される。

@kyonmm
kyonmm / TDDeXchange-exercise-for-tdder.md
Last active December 7, 2022 05:21
TDD演習課題 - TODOリストアプリ
@syohex
syohex / ginger-api.el
Created April 25, 2013 05:40
ginger API from Emacs
(require 'request) ;; https://github.com/tkf/emacs-request
(require 'json)
(defvar ginger-end-point
"http://services.gingersoftware.com/Ginger/correct/json/GingerTheText" )
;;;###autoload
(defun ginger-region (beg end)
(interactive "r")
(lexical-let* ((text (buffer-substring-no-properties beg end))
@ckazu
ckazu / freshman.rb
Last active December 15, 2015 03:19
マジとヤバイを強いと本格的ににする irc bot. cite: http://blog.livedoor.jp/kinisoku/archives/3724378.html
require 'cinch'
Process.daemon
bot = Cinch::Bot.new do
configure do |c|
c.server = 'irc.example.com'
c.password = 'password'
c.port = '1234'
c.ssl.use = true
@ganta
ganta / japanese-patch-for-emacs-24.3.patch
Created March 12, 2013 00:13
Emacs 24.3への日本語環境用のパッチです
diff --git configure.ac configure.ac
index 62f53a3..850eaa4 100644
--- configure.ac
+++ configure.ac
@@ -1571,7 +1571,7 @@ if test "${HAVE_NS}" = yes; then
leimdir="\${ns_appresdir}/leim"
INSTALL_ARCH_INDEP_EXTRA=
fi
- NS_OBJC_OBJ="nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o"
+ NS_OBJC_OBJ="nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o macim.o"
@peccu
peccu / osx-notify.el
Last active December 11, 2015 19:28
terminal-notifierをEmacsから呼び出す. おまけでsayコマンドとかsaykanaコマンドも呼ぶ
;; call terminal-notifier
;; (osx-notify :title "Cat" :message "mew")
;; with say command
;; (osx-notify :title "Cat" :message "mew" :say "mee")
;; if you have saykana command you can use it
;; (osx-notify :title "Cat" :message "mew" :saykana "に'ゃー")
;; terminal-notifier
;; sudo port install terminal-notifier
;; saykana
@tarao
tarao / init-loader.el
Last active December 10, 2015 01:48 — forked from zqwell/init-loader.el
init-loader.el 修正版(elc優先読込み、load-path問題修正、windows/linux設定ファイル読込みPrefix追加、自動バイトコンパイル)
;;; -*- coding: utf-8; mode: emacs-lisp; -*-
;;; init-loader.el ---
;; Author: IMAKADO <[email protected]>
;; Author's blog: http://d.hatena.ne.jp/IMAKADO (japanese)
;; Prefix: init-loader-
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
@teppeis
teppeis / tenkaichi-git.md
Last active April 29, 2023 14:58
天下一gitconfig大会

天下一gitconfig大会(サイボウズ社内git勉強会@2012/11/20)の@teppeisの資料です。

ぎっとぎとにしてやんよ

DojoCat

  • gistでmarkdown書いたらbookmarkletでプレゼンになるよ。
@1syo
1syo / gist:4103689
Created November 18, 2012 05:07
Gemfile for installing rails4.
source 'http://rubygems.org'
gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'journey', :git => 'git://github.com/rails/journey.git'
gem 'arel', :git => 'git://github.com/rails/arel.git'
gem 'activerecord-deprecated_finders' , :git => 'git://github.com/rails/activerecord-deprecated_finders.git'
gem 'sqlite3'
group :assets do
@holysugar
holysugar / gist:3775235
Created September 24, 2012 09:58
GoogleDrive::Spreadsheet sample
#!/usr/bin/env ruby
# coding: utf-8
require 'google_drive'
require 'highline/import'
require 'active_support/core_ext'
require 'pry'
def ask_authentication