Skip to content

Instantly share code, notes, and snippets.

View f-akazawa's full-sized avatar

Fumihiko Akazawa f-akazawa

View GitHub Profile
@f-akazawa
f-akazawa / check_binary.ipynb
Last active June 7, 2022 02:31
climate_binary_check
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 / check_binary.ipynb
Created May 26, 2022 09:31
check_binary.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# GeoNetwork
#
# Access via "http://localhost:8080/geonetwork" (or "http://$(docker-machine ip):8080/geonetwork" if using docker-machine)
#
# Default user: admin
# Default password: admin
version: '4.0.5'
services:
# ln -s /usr/bin/python3.6 /usr/bin/python3
# ln -s /usr/bin/pip3.6 /usr/bin/pip3
wordpressの例
server{
listen 8000; <<<ここを変える
root /home/wordpress;<<<ここも変える
access_log /var/log/nginx/wp_access.log;<<ログも変えておく
error_log /var/log/nginx/wp_error.log;
location / {
index index.php;
}
@f-akazawa
f-akazawa / file0.txt
Last active June 1, 2016 08:34
nginxとphp-fpmでhtmlファイルのphpを動かす ref: http://qiita.com/f-akazawa/items/a5d0bf61d78a052df85a
/etc/php-fpm.d/www.conf
user = nginx
group = nginx
listen = /var/run/php-fpm/php-fpm.sock
listen.mode = 660
security.limit_extensions = .php .html
>anaconda search netCDF4
色々出るが、anacondaでインストールしたのでanacondaで統一する
>anaconda show anaconda/netcdf4
のメッセージに従いインストール(バージョン指定の仕方は不明)
>conda install --channel https://conda.anaconda.org/anaconda netcdf4
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 April 18, 2016 02:20
RedHat6.2延命策 CentOSのyumを使う ref: http://qiita.com/f-akazawa/items/01a6742a315f6ea9ea34
% 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