Skip to content

Instantly share code, notes, and snippets.

View willnet's full-sized avatar
👶
parenting

Shinichi Maeshima willnet

👶
parenting
View GitHub Profile
@monochromegane
monochromegane / 速習Go.md
Created July 4, 2014 09:16
速習Go。Fukuoka.go#1用の資料です。

速習Go

Go環境のつくりかた

MacOSX

homebrewでインストール

$ brew update
@voluntas
voluntas / mini4w.rst
Last active August 29, 2023 20:46
ミニ四駆走らせたいに参加してきた

ミニ四駆走らせたいに参加してきた

主催

@kamekoopa

日時

2014-06-07 13:00 - 19:00

場所

pixiv

コース

pixiv

概要

How to use swift in your terminal

setup

First, install Xcode 6 beta.

And run it.

sudo xcode-select -switch /Applications/Xcode6-Beta.app/Contents/Developer
@taea
taea / rm_pid.md
Last active January 12, 2023 14:22
postgres をちゃんと終了しないと.pidファイルが残っちゃって、Rails が起動しないもんだい

Rails 起動しようとするとこんなエラーでる

PG::ConnectionBad at /
could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
@slightair
slightair / gazoreply.user.js
Created December 4, 2013 05:57
replace gazoreply.jp copy image url
// ==UserScript==
// @name http://gazoreply.jp/
// @description replace gazoreply.jp copy image url
// @include http://gazoreply.jp/*
// @exclude http://gazoreply.jp/situation/*
// ==/UserScript==
window.addEventListener('load', function(){
var imgURL = document.getElementById("main-photo-img").getAttribute('src');
var clipboardButtonElement = document.getElementById("copy-clipboard-btn");
@udzura
udzura / LICENSE
Last active May 8, 2021 14:23
やわらかRuby
やわらかRubyはCC BY 4.0 で提供します。
詳細: https://creativecommons.org/licenses/by/4.0/deed.ja
This work is licensed under a Creative Commons Attribution 4.0 International License.
See also: https://creativecommons.org/licenses/by/4.0/deed
@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と設定される。

url:
'https://username:password@github.com/username/foo-bar-baz.git'

#383 - July 2, 2013

Olivier Lacan, Tony Winn

One Liner Webserver (0:30-)

Nobuyoshi Nakada showed a beautifully simple way to start a web server within the present working directory by only using Ruby. ruby -run -e httpd . -p 5000

  • I know this is the(?) exchange between Aaron Patterson and Nobuyoshi Nakada, both Ruby core contirbutors yesterday on Twitter, Nobuyoshi showed beautifully simple way to start a web server within the present working directory by only using ruby.
  • You mean something like that single-line Python script that was floating(?) around?
  • Yeah, exactly. All you need to do is call ruby -run -e httpd . -p 5000. That will start the server using WEBrick, which comes with(?) the Ruby Standard Library, and you can see the server running at localhost:5000 in your brouser(?), if you have an index.html file in that directory, it will show up in your browser.
@yhara
yhara / eng.md
Created June 11, 2013 02:44
WIP

海外ゲストと話すための英会話チートシート

カンファレンスとかイベントとかで海外ゲストと話してみたいけど、何話したらいいかわからないから何もできない、みたいな人のためのチートシートです。印刷して持って行こう!

主にRubyKaigi参加者を想定しているので、場面に合わせて読み替えてください。

Patches welcome.

Questions from you