hasen's tech life

Twitter: @hasen

Entries from 2015-09-01 to 1 month

incrontabで"editor finished with error: No such file or directory"というエラーが出たので対応.

# incrontabで"editor finished with error: No such file or directory"というエラーが出たので対応. # error $ sudo incrontab -e -u root > editor finished with error: No such file or directory $ vi /etc/incron.conf # デフォルトエディタがvimに…

Bookmark (2015-09-15)

・Ansibleを結構使ってみた/ansible-nikkei-2015 https://speakerdeck.com/bungoume/ansible-nikkei-2015 ・実践!Ansibleベストプラクティス(前編) http://knowledge.sakura.ad.jp/tech/3084/ ・Ansible向けのコードカバレッジツールKirbyを作りました ht…

Bookmark (2015-09-14)

・Zabbix MySQLスレーブサーバ(レプリケーション)の監視設定メモhttps://blog.apar.jp/zabbix/3218/ ・InnoDBの透過的ページ圧縮(MySQL Server Blogより) https://yakst.com/ja/posts/2933 ・StyleStats - スタイルシートの状態をチェック http://goo.gl/d…

Bookmark (2015-09-13)

・Python3.5の新機能 http://qiita.com/ksato9700/items/9a0aef07d90d00e67525 ・Emacs Lispでブログエンジン書いた http://darui.io/posts/this-blog-is-written-in-emacs-lisp ・ブラウザおよびnode.jsのための高度な地理空間データ分析ライブラリ「furf.j…

OSXをEl Capitan GMにアップデートしたらPostgreSQLが起動しなかったので対応.

# OSXをEl Capitan GMにアップデートしたらPostgreSQLが起動しなかったので対応. # FATALエラーで出力されるディレクトリを順番に作っていった. $ postgres -D /usr/local/var/postgres > FATAL: could not open directory "pg_tblspc": No such file or d…

OSXをEl Capitan GMにアップデートした.

# OSXをEl Capitan GMにアップデートした. # Total Terminalが使えないこと以外は今のところ問題がなさそう ここからインストール / https://t.co/MjJvcVs3p6 pic.twitter.com/9D7Zb6guyP— 烏賊童貞 (@hasen) September 12, 2015 よかった。ダウンロード成功…

Bookmark (2015-09-12)

・Elasticsearch PHP Clients test drive http://jolicode.com/blog/elasticsearch-php-clients-test-drive ・SparkR 1.5 の開発でできたこと・できなかったこと http://atl.recruit-tech.co.jp/blog/3612/ ・Djangoのエントリポイントとアプリケーションの…

Bookmark (2015-09-11)

・Introducing Heroku Private Spaces: Private PaaS, delivered as-a-Service http://blog.heroku.com/archives/2015/9/10/heroku_private_spaces_private_paas_delivered_as_a_service ・Make A Real-Time Chat Room using Node Webkit, Socket.io, and ME…

Vagrantでgnuplotを試した.

# Vagrantでgnuplotを試した. # 参考: gnuplot # 参考: Graphing ApacheBench Results Using GnuPlot $ mkdir test_gnuplot $ cd test_gnuplot $ vi Vagrantfile $ vi provision.sh $ vagrant up $ open benchmark.png あまりいいかんじのグラフではないけ…

Bookmark (2015-09-10)

・Linuxカーネルの「TCP_TIMEWAIT_LEN」変更は無意味? の件について http://mkosaki.blog46.fc2.com/blog-entry-1292.html ・クラウドネイティブ化する未来 http://www.slideshare.net/keisuke69/ss-52562743 ・Go のシンプルかつ明快な SQL クエリビルダ g…

nodebrewにv4.0.0が来ていたので早速インストール.

# nodebrewにv4.0.0が来ていたので早速インストール. # 参考: Node v4.0.0 (Stable) # Pythonは2系を使う $ python -V > Python 3.4.2 $ pyenv global 2.7.9 $ pyenv rehash $ python -V > Python 2.7.9 # nodebrew $ nodebrew install v4.0.0 $ nodebrew u…

Bookmark (2015-09-09)

・PipelineDBをProductionに導入してみました。 http://developer.smartnews.com/blog/2015/09/09/20150907pipelinedb/ ・Introduction to Redux https://speakerdeck.com/axross/introduction-to-redux ・Pythonの対話型シェルIPythonのMac用フロントエンド…

コマンドabで"ab: invalid URL"というエラーが出たので対応.

# コマンドabで"ab: invalid URL"というエラーが出たので対応. # error$ ab -k -n 5000 -c 100 -g test.txt http://192.168.33.13 > ab: invalid URL > Usage: ab [options] [http[s]://]hostname[:port]/path > Options are: > ... (略) # success# URLに…

Bookmark (2015-09-08)

・いかにしてGoogleは他の企業では成し得ないような驚くべきデータセンターネットワークを作り上げたか http://postd.cc/how-google-invented-an-amazing-datacenter-network-only-they-could-create/ ・ぼくの実装した最弱のディープラーニング http://d.ha…

Bookmark (2015-09-07)

・MySQL 5.6と5.7のInnoDBバッファプールウォームアップのおはなし http://tech.gmo-media.jp/post/128523146249/innodb-buffer-pool-load-at-startup ・cron でのコマンド実行が失敗したときにアラートを飛ばすための alerty というツール http://blog.live…

mod_small_lightが試せるVagrantfileを作った.

# mod_small_lightが試せるVagrantfileを作った. # mod_small_lightは動的に縮尺を変更して,画像のサムネイルが作れるApacheモジュール. # 最初はCookpad社のtofuを使おうかと思っていたのだけれど,OSSになっていないみたいだったので.# 参考: yamac/sma…

Bookmark (2015-09-06)

・安全に『危険シェル芸』ができるスタートアップスクリプトのご案内 https://speakerdeck.com/masatoshi/an-quan-ni-wei-xian-sieruyun-gadekirusutatoatupusukuriputofalsegoan-nei ・Developers Summit 2015 KANSAIでもPHP7について発表してきました http…

Bookmark (2015-09-05)

・Mosquitto と paho-mqtt をつかってPythonで MQTTをさわる https://librabuch.jp/2015/09/mosquiito_paho_python_mqtt/ ・Introduction to Chainer (LL Ring Recursive) http://www.slideshare.net/KentaOono/introduction-to-chainer-ll-ring-recursive …

OSXでコマンドが依存するライブラリを調べるのにotoolを使った.

# OSXでコマンドが依存するライブラリを調べるのにotoolを使った.$ otool -L /usr/local/bin/convert > /usr/local/bin/convert: > /usr/local/Cellar/imagemagick/6.9.1-10/lib/libMagickCore-6.Q16.2.dylib (compatibility version 3.0.0, current versio…

RのWAFで作ったアプリを公開できるshinyapps.ioを試した.

R

# RのWAFで作ったアプリを公開できるshinyapps.ioを試した. # Herokuみたいな感じだろうか.あまり詳しくない. # 参照: shinyapps.io # deploy $ r > install.packages("devtools") > devtools::install_github("rstudio/shinyapps") > shinyapps::setAcco…

Bookmark (2015-09-04)

・Docker ToolboxとDocker Fluentd logging driverを試してみた http://recruit.gmo.jp/engineer/jisedai/blog/docker-toolbox-and-fluentd-logging-driver/ ・Instagramのスクエア制限が解禁!縦長・横長でもインスタジェニックに見える「構図」を徹底研究 …

Bookmark (2015-09-03)

・ハッカドールにおけるElastic Search利用法について発表しました http://mosa-siru.hatenablog.com/entry/2015/09/02/222952 ・GitHub Enterprise with GMO Pepabo http://www.slideshare.net/hsbt/github-enterprise-with-gmo-pepabo ・マイクロソフト、O…

"psql: FATAL: role "USER_NAME" does not exist"というエラーが出たので.

# "psql: FATAL: role "USER_NAME" does not exist"というエラーが出たので対応. # error $ psql -UUSER_NAME> psql: FATAL: role "USER_NAME" does not exist # success $ psql -d template1 > psql (9.4.4) > Type "help" for help. > template1=# 参考: …

Bookmark (2015-09-02)

・foldrを速くしたい〜Swift2シンポジウム https://tech.d-itlab.co.jp/programming/499/ ・browserify-shimを使って、CDN経由で外部JSライブラリをrequireする http://mae.chab.in/archives/2737 ・Xamarin.Forms の Windows Phone アプリを Windows ストア…

「地理院地図」のソースが公開されていたのでダウンロードしてみた.

#「地理院地図」のソースが公開されていたのでダウンロードしてみた. # 参考: 地理院地図 $ mkdir test_gsimaps $ cd test_gsimaps $ git clone https://github.com/gsi-cyberjapan/gsimaps $ cd gsimaps $ php -S localhost:8000 # ブラウザでlocalhost:80…

Bookmark (2015-09-01)

・FluxでCUIアプリ https://speakerdeck.com/kjirou/fluxdecuiapuri ・NextBSD登場 http://s.news.mynavi.jp/news/2015/08/28/252/ ・日経電子版 開発内製化の取り組み https://speakerdeck.com/yosukesuzuki/nikkei-web-development-2015 ・[LSP42] Scratch…

CentOS v6.6に Sophos Anti-Virus(無償版)をインストールした

# CentOS v6.6に Sophos Anti-Virus(無償版)をインストール# 試しに仮想環境にインストールしてみる. # https://www.sophos.com/ja-jp/products/free-tools/sophos-antivirus-for-linux.aspxからダウンロード # directory $ mkdir test_sophos_av $ cd test…