Skip to content

Instantly share code, notes, and snippets.

# coding: utf-8-hfs
# install-ruby.rb
execute "sudo apt-get update"
package "git-core" do
action :install
end
%w(
autoconf
@benevolent0505
benevolent0505 / Program.cs
Created December 8, 2015 19:32
TwitterIntentSample
using System;
namespace TwitterWebIntentSample
{
class Program
{
static string TWITTER_INTENT_URI = "https://twitter.com/intent/tweet?text=";
static void Main(string[] args)
{
@benevolent0505
benevolent0505 / file1.txt
Created October 6, 2012 21:41
「A Tour of Go」でGo言語を学ぶ(~#28) ref: http://qiita.com/items/ddaa13be965e15185dad
4
@benevolent0505
benevolent0505 / file1.txt
Created September 25, 2012 20:25
「A Tour of Go」でGo言語を学ぶ(~#20) ref: http://qiita.com/items/63fad29ca7b75dc85ddd
45
@benevolent0505
benevolent0505 / file1.txt
Created September 22, 2012 15:47
「A Tour of Go」でGo言語を学ぶ(~#13) ref: http://qiita.com/items/9cefa2ad3eb5539c1527
0 0 0 false false false
@benevolent0505
benevolent0505 / file1.txt
Created September 21, 2012 16:45
「A Tour of Go」でGo言語を学ぶ(~#10) ref: http://qiita.com/items/a5b514b289997b50a8bb
-1 1.2246467991473515e-16
@benevolent0505
benevolent0505 / file1.txt
Created September 20, 2012 15:21
「A Tour of Go」でGo言語を学ぶ(~#8) ref: http://qiita.com/items/71cc2b5ef7d8c939efa0
55
@benevolent0505
benevolent0505 / HelloWorld.go
Created September 19, 2012 16:10
「A Tour of Go」でGo言語を学ぶ ref: http://qiita.com/items/e44d71a29a14db07b335
package main
import "fmt"
func main() {
fmt.Println("The grass is always greener on the other side of the fence.\n")
fmt.Println("「隣の芝は青い」")
}
var TimeSchedule = function() {
this.timeSchedule = [
[], [], [], [], [], [], []
];
};
TimeSchedule.prototype = {
setLesson: function(day, period, lesson) {
if (!this.timeSchedule[day][period-1]) {
this.timeSchedule[day][period-1] = lesson;
@benevolent0505
benevolent0505 / .tmux.conf
Created March 1, 2015 06:28
my .tmux.conf
# prefixキーをC-tに変更
set -g prefix C-t
# C-bのキーバインドを解除
unbind C-b
bind C-t send-prefix
# キーストロークのディレイを減らす
set -sg escape-time 1