This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: | |
go build -buildmode=c-shared -buildvcs=false -o in_repro.so . | |
fast: | |
go build in_repro.go | |
clean: | |
rm -rf *.so *.h *~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "https://rubygems.org" | |
gem "gems" | |
gem "octokit" | |
gem "dotenv" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2, matplotlib | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import os | |
filename='yuudachi.png' | |
filename_base, ext = os.path.splitext(filename) | |
img = cv2.imread(filename, 1) | |
kernel = np.ones((3,3),np.uint8) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2, matplotlib | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import os | |
filename='yuudachi.png' | |
filename_base, ext = os.path.splitext(filename) | |
img = cv2.imread(filename, 1) | |
kernel = np.ones((3,3),np.uint8) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "benchmark" | |
src = "[[tag, time, record['code'].to_i]]" | |
map = "#{src}" | |
tag = "foo" | |
time = 12345 | |
record = { | |
"code" => "400" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class I686W64Mingw32Gcc < Formula | |
homepage "https://gcc.gnu.org" | |
url "http://ftpmirror.gnu.org/gcc/gcc-5.2.0/gcc-5.2.0.tar.bz2" | |
sha256 "5f835b04b5f7dd4f4d2dc96190ec1621b8d89f2dc6f638f9f8bc1b1014ba8cad" | |
resource "binutils" do | |
url "http://ftpmirror.gnu.org/binutils/binutils-2.25.1.tar.bz2" | |
sha256 "b5b14added7d78a8d1ca70b5cb75fef57ce2197264f4f5835326b0df22ac9f22" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# dependencies | |
echo "Installing dependencies via Homebrew (http://brew.sh)" | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" | |
brew update | |
brew tap homebrew/versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test suite HDBC-mysql-test: RUNNING... | |
Cases: 38 Tried: 0 Errors: 0 Failures: 0 | |
Cases: 38 Tried: 1 Errors: 0 Failures: 0 | |
Cases: 38 Tried: 2 Errors: 0 Failures: 0 | |
Cases: 38 Tried: 3 Errors: 0 Failures: 0 | |
Cases: 38 Tried: 4 Errors: 0 Failures: 0 | |
Cases: 38 Tried: 5 Errors: 0 Failures: 0 | |
Cases: 38 Tried: 6 Errors: 0 Failures: 0 | |
Cases: 38 Tried: 7 Errors: 0 Failures: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make all-recursive | |
make[1]: Entering directory `/home/milter-manager-build/rpm/BUILD/milter-manager-2.0.5' | |
Making all in libev-4.19 | |
make[2]: Entering directory `/home/milter-manager-build/rpm/BUILD/milter-manager-2.0.5/libev-4.19' | |
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wall -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wcast-align -MT ev.lo -MD -MP -MF .deps/ev.Tpo -c -o ev.lo ev.c | |
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wall -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wcast-align -MT event.lo -MD -MP -MF .deps/event.Tpo -c -o event.lo event.c | |
libtool: compile: gcc -DHAVE_CONFIG_H -I. - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'mongo' | |
require 'benchmark' | |
# setup | |
Mongo::Logger.level = Logger::WARN | |
options = {} | |
options[:database] = 'latest_bench' | |
client = Mongo::Client.new(["localhost:27017"], options) | |
puts "insert one by one" |
NewerOlder