Skip to content

Instantly share code, notes, and snippets.

Error: --with-openssl and --with-libressl are both specified and
curl can only use one at a time.

というエラーが出た時の対処法

@akkijp
akkijp / main.py
Created July 14, 2016 06:38
ガウシアンフィルタ
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
import cv2
import numpy as np
src = cv2.imread("./Lenna.bmp", -1)
dst = np.zeros_like(src)
def pickup_pixel(img, x, y):
@akkijp
akkijp / LICENSE
Last active June 24, 2016 10:18
AWS S3のキャッシュコントロール(cache control)を一括で書き換えるスクリプト - Script be rewritten in bulk cache control of AWS S3
Copyright (c) 2016 Kosuke Akizuki
Released under the MIT license
http://opensource.org/licenses/mit-license.php
@akkijp
akkijp / README.md
Last active June 10, 2016 17:02
python(scikit-learn)で決定木を試したソースコード
@akkijp
akkijp / README.md
Last active June 10, 2016 09:51
scikit-learnで始める機械学習 チュートリアル テストコード from http://www.slideshare.net/moa108/20130715-lt-scikitlearn

これは、「scikit-learnで始める機械学習 チュートリアル」のテストコードです。

How to use

git clone https://gist.github.com/8bd959a3d71bf6ff6487bc8885f5c9de.git
cd 8bd959a3d71bf6ff6487bc8885f5c9de
@akkijp
akkijp / install.sh
Last active June 2, 2016 14:13
Linux Brew Installation
#!/bin/bash
set -u
set -e
sudo apt-get install -y \
build-essential \
curl \
git \
m4 \

Install

このスクリプトを実行する前に、次のスクリプトを実行します

#!/bin/bash

gid_name=`id | awk '{print $2}' | sed -e 's/gid=[^(]*(*\(.*\))/\1/'`
sudo mkdir /var/run/golang && \
package main
// from http://www.darul.io/post/2015-07-22_go-lang-simple-reverse-proxy
import (
"net/http"
"net/url"
"net/http/httputil"
"flag"
"fmt"
@akkijp
akkijp / README.md
Created May 19, 2016 10:49
raspberrypi インストール手順書

raspberrypi インストール手順書

raspberrypi インストールの手順方法メモ代わり
最終目的は、OpenCVをpythonから扱う事ができるようになるまで