Skip to content

Instantly share code, notes, and snippets.

View tknzk's full-sized avatar
🎧
Hi

Takumi KANZAKI tknzk

🎧
Hi
View GitHub Profile

Keybase proof

I hereby claim:

  • I am tknzk on github.
  • I am tknzk (https://keybase.io/tknzk) on keybase.
  • I have a public key whose fingerprint is 1152 3C07 33B0 C39B F7C5 DD93 33C6 75BA 6514 37C1

To claim this, I am signing this object:

@tknzk
tknzk / urapico_advent_calendar_1202_jindaiz.md
Last active December 1, 2017 15:29
jindaiz の思い出
@tknzk
tknzk / settings.yml
Created October 16, 2017 06:24
github-nippou settings
format:
subject: '### %{subject}'
line: '* [%{title}](%{url}) by @[%{user}](https://github.com/%{user}) %{status}'
dictionary:
status:
merged: '**merged!**'
closed: '**closed!**'
location ~ \.(hh|php)$ {
fastcgi_keep_conn on;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
upstream backend {
server 127.0.0.1:8080;
}
server {
listen 80;
server_name _;
#access_log /var/log/nginx/access_80.log main;
user www-data;
worker_processes 4;
pid /run/nginx.pid;
events {
worker_connections 768;
# multi_accept on;
}
http {
# apt-get install vim
# apt-get install zsh
# apt-get install git
# apt-get install curl
# apt-get install nginx
# apt-get install mysql
# apt-get install mariadb-server
# wget -uO - http://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-key add -
# echo deb http://dl.hhvm.com/ubuntu saucy main | sudo tee /etc/apt/sources.list.d/hhvm.list
# Description:
# No overtime by node-cron.
cron = require('cron').CronJob
random = require('hubot').Response::random
module.exports = (robot) ->
sayArr = [
'定時退社の時間になりました。毎日遅くまでご苦労様です。今日ぐらいは早く帰ってもいいんじゃないですか。'
-> % git commit
dyld: Library not loaded: /usr/local/lib/liblua.5.1.5.dylib
Referenced from: /usr/local/bin/vim
Reason: image not found
error: vim died of signal 5
error: There was a problem with the editor 'vim'.
Please supply the message using either -m or -F option.
tknzk@tknzks-mba [09:22:28] [~/Sites/countdown] [atom_feed *]
-> % brew upgrade vim
==> Upgrading 1 outdated package, with result:
-> % brew install httpd
Error: No available formula for httpd
Searching taps...
homebrew/apache/httpd22 homebrew/apache/httpd24
tknzk@tknzks-mba [06:41:11] [~]
-> % brew tap homebrew/apache
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-apache'...
remote: Counting objects: 461, done.
remote: Total 461 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (461/461), 97.11 KiB | 106.00 KiB/s, done.