find . -type f -name '*.jpg' -exec mogrify -resize 1600x1600 {} \;
find . -type f -name '*.jpg' -exec jpegoptim -m90 -s {} \;
View gist:c1c7c637370c42736bc61eb5e120f121
View xdebug2to3.md
これを
[xdebug]
xdebug.remote_enable=1
xdebug.remote_autostart=1
xdebug.remote_host=host.docker.internal
xdebug.remote_port=9200
xdebug.remote_log=/tmp/xdebug.log
View gulpfile.js
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
'use strict'; | |
const gulp = require('gulp') | |
const sass = require('gulp-sass') | |
const autoprefixer = require('gulp-autoprefixer') | |
const ejs = require('gulp-ejs') | |
const rename = require('gulp-rename') |
View .vimrc
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
set autoread | |
set number | |
set incsearch | |
set hlsearch | |
"set nowrap | |
set ffs=unix,dos,mac | |
set encoding=utf-8 | |
" set noswapfile |
View openssl.v3-req.ext
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
authorityKeyIdentifier = critical, keyid, issuer | |
basicConstraints = critical, CA:FALSE | |
keyUsage = critical, digitalSignature, keyEncipherment | |
subjectAltName = @alt_names | |
[alt_names] | |
DNS.1 = example.com | |
DNS.2 = www.example.com |
View openssl.server.conf
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
[ req ] | |
default_bits = 4096 | |
default_md = sha512 | |
prompt = no | |
encrypt_key = no | |
distinguished_name = req_distinguished_name | |
[ req_distinguished_name ] | |
countryName = "JP" | |
commonName = "example.com" |
View openssl.ca.conf
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
[ req ] | |
default_bits = 4096 | |
default_md = sha512 | |
prompt = no | |
encrypt_key = no | |
distinguished_name = req_distinguished_name | |
x509_extensions = v3_ca | |
[ req_distinguished_name ] | |
countryName = "JP" |
View aws-blackbelt-checklist.md
これは何か
https://aws.amazon.com/jp/aws-jp-introduction/ からSlideshareへのリンクを抽出して作ったチェックリスト
抽出は2017-06-27に実施
リンク
コンピューティング
View GeolocationAPIのレスポンスからlat,lonを抜く.md
jq -r '.results[] | .geometry | .location[]' | tr '\n' '\t'