Skip to content

Instantly share code, notes, and snippets.

{
"queryIntervals": [
1,
5,
10,
15,
20
],
"frameworks": [
"gemini",
{
"queryIntervals": [
1,
5,
10,
15,
20
],
"frameworks": [
"gemini",
@odekopoon
odekopoon / stripe.clj
Last active December 30, 2017 01:59 — forked from enshiromashiro/stripe.clj
seesawの警告は表示しないように
(ns stagbeetle.core
(:gen-class)
(:use [seesaw.core]
[seesaw.graphics]))
(set! *warn-on-reflection* true)
(import (java.awt.image BufferedImage
WritableRaster)
(java.awt Color
@odekopoon
odekopoon / capstan-with-qemu.bash
Created June 8, 2015 10:08
capstan with qemu at osx 10.7
brew update
brew install qemu
CAPSTAN_QEMU_PATH=/usr/local/bin/qemu-system-x86_64 capstan run -p qemu cloudius/osv
# ~/.bash_profile に追加
export CAPSTAN_QEMU_PATH=/usr/local/bin/qemu-system-x86_64
@odekopoon
odekopoon / gist:c0af22aaa718eb8defff
Last active August 29, 2015 14:22
How to install ponyc 0.1.4 on OSX 10.9
# It depends on the llvm --with-rtti (It takes a long time)
brew install https://github.com/odekopoon/homebrew-versions/raw/ponyc/ponyc014.rb
@odekopoon
odekopoon / brew-install-ponyc.sh
Last active September 1, 2015 04:15
How to install pony language compiler with HomeBrew and OSX
# It depends on the llvm --with-rtti (It takes a long time)
brew install libressl pcre2 ponyc
# use HEAD
brew install https://raw.githubusercontent.com/odekopoon/homebrew/etc/Library/Formula/ponyc.rb --HEAD
@odekopoon
odekopoon / install-oracle-jdk8.sh
Last active November 4, 2015 15:43
Install Oracle JDK8 on Scaleway Ubuntu 14.04 Server (ARMv7 32bit)
# Scaleway(https://www.scaleway.com/)
# add user && set sudo
adduser admin
su - admin
# install add-apt-repository
sudo apt-get update
sudo apt-get install -y software-properties-common
@odekopoon
odekopoon / shen.rb
Created October 12, 2015 11:26
homebrew shen 19.2
require 'formula'
class Shen < Formula
url 'http://www.shenlanguage.org/download/Shen.zip'
homepage 'http://www.lambdassociates.org/'
sha1 '3fa8f00d80b5600892fe3dc55ee97a3154a5161e'
version '19.2'
case
when ARGV.include?("--sbcl") then
depends_on 'sbcl'
@odekopoon
odekopoon / results.sh
Last active October 23, 2015 16:52
lein skummet 0.2.2: Results
### 1.8 GHz Intel Core i5 @ OS X 10.10.5
$ lein -v
Leiningen 2.5.3 on Java 1.8.0_60 Java HotSpot(TM) 64-Bit Server VM
### skummet 1.7.0-r1
$ lein clean
$ lein skummet compile; lein skummet jar
$ time java -cp target/lein-skummet-sample-0.0.1-SNAPSHOT-standalone.jar sample.core
@odekopoon
odekopoon / clojure-traning.md
Last active November 5, 2015 20:39
clojureのトレーニングについて(草稿)