Skip to content

Instantly share code, notes, and snippets.

@kevincennis
kevincennis / v8.md
Last active March 2, 2024 21:50
V8 Installation and d8 shell usage

Installing V8 on a Mac

Prerequisites

  • Install Xcode (Avaliable on the Mac App Store)
  • Install Xcode Command Line Tools (Preferences > Downloads)
  • Install depot_tools
    • $ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
    • $ nano ~/.zshrc
    • Add path=('/path/to/depot_tools' $path)
@hayajo
hayajo / flag-slice.go
Created July 28, 2014 07:25
golangのflagで値をスライスであつかう
package main
import (
"flag"
"fmt"
"log"
)
type items []string

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
@hayajo
hayajo / INSTALL.md
Last active August 29, 2015 14:00
VMWare PlayerにXubuntuで開発環境構築

VMWare PlayerにXubuntuで開発環境構築

VirtualBoxだとグラフィック周りが不安定なの。

  1. VMにXubuntuインストール

    • メモリ 4GB
    • HDD てきとうに
    • CPU てきとうに
@hayajo
hayajo / Vagrantfile
Last active September 3, 2017 17:02
GitBucketのVagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
GITBUCKET_VERSION = "1.12"
HTTP_PORT = 8080
SSH_PORT = 29418
Vagrant.configure(2) do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
@Jxck
Jxck / README.md
Last active August 29, 2015 13:57
Go Kyoto(Go勉強会 そうだ京都、行こう) のハンズオン資料 (http://www.zusaar.com/event/4367004)
@hayajo
hayajo / Vagrantfile
Created March 13, 2014 04:15
VagrantShareでカレントディレクトリのファイルを公開する
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Usage:
# $ vagrant up
# $ vagrant login
# $ vagrant share
#
# access to http://<shared_name>.vagrantshare.com
@gnue
gnue / Dockerfile
Last active August 29, 2015 13:56
goreman を使って docker で複数プロセスを起動する
# sshd+nginx
#
# VERSION 0.0.1
FROM ubuntu
RUN apt-get update
# sshd
RUN apt-get install -y openssh-server
@voluntas
voluntas / erlang.rst
Last active March 15, 2024 13:15
実践 Erlang/OTP コトハジメ 2014.11

実践 Erlang/OTP コトハジメ 2014.11

更新

2014-11-20

バージョン

0.0.5

作者

@voluntas

URL

http://voluntas.github.io/

概要

@zxvdr
zxvdr / ssh
Created January 2, 2014 23:41
SSH proxy
package main
import (
"bytes"
"code.google.com/p/go.crypto/ssh"
"fmt"
"log"
"net"
"os"
)