Skip to content

Instantly share code, notes, and snippets.

Avatar

Fumihiko Akazawa f-akazawa

View GitHub Profile
View file0.txt
# ln -s /usr/bin/python3.6 /usr/bin/python3
# ln -s /usr/bin/pip3.6 /usr/bin/pip3
View file0.txt
>anaconda search netCDF4
色々出るが、anacondaでインストールしたのでanacondaで統一する
>anaconda show anaconda/netcdf4
のメッセージに従いインストール(バージョン指定の仕方は不明)
>conda install --channel https://conda.anaconda.org/anaconda netcdf4
View pythonscraping.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@f-akazawa
f-akazawa / file0.txt
Last active Apr 18, 2016
RedHat6.2延命策 CentOSのyumを使う ref: http://qiita.com/f-akazawa/items/01a6742a315f6ea9ea34
View file0.txt
% sudo vi /etc/yum.repos.d/CentOS-Base.repo
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-$releasever
[updates]
name=CentOS-$releasever - Updates
View gist:ab7b7df26b5c1f6c1d23
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>IndexedDB</title>
<style type="text/css">
#setkey
{
width: 464px;
}
@f-akazawa
f-akazawa / zshrc_useful.sh
Created Mar 22, 2016 — forked from mollifier/zshrc_useful.sh
少し凝った zshrc
View zshrc_useful.sh
# 少し凝った zshrc
# License : MIT
# http://mollifier.mit-license.org/
########################################
# 環境変数
export LANG=ja_JP.UTF-8
# 色を使用出来るようにする
View test02.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@f-akazawa
f-akazawa / jupyter_notebook_config.py
Last active Apr 5, 2016
AWS EC2でjupyter + opencv(Ipython notebook + opencv) ref: http://qiita.com/f-akazawa/items/9398772d59139de07dbe
View jupyter_notebook_config.py
c.NotebookApp.ip ='*' <外部からアクセス可能にする
c.NotebookApp.port = 8888 <EC2のセキュリティグループで開けたポートに合わせる
**パスワード設定も書く必要あり、別記事にする**
@f-akazawa
f-akazawa / file0.txt
Last active Oct 28, 2015
nginxとphp-fpmでphpがAccess deniedで表示されない ref: http://qiita.com/f-akazawa/items/2b92bdad4744566e01d9
View file0.txt
yyyy/mm/dd hh:mm:ss [error] xxxxx#xxxxx: *1 FastCGI sent in stderr: "PHP message: PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Unable to open primary script: /usr/share/nginx/html/mysite/index.html (Permission denied)" while reading response header from upstream, client: 192.168.xx.xxx, server: localhost, request: "GET /mysite/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "myserver.com"
You can’t perform that action at this time.