% git count-objects -v
count: 6845
size: 36348
in-pack: 37399
packs: 36
size-pack: 166057
| # 動かない | |
| <Directory "/hoge"> | |
| Order deny,allow | |
| Deny from all | |
| Allow from all | |
| </Directory> |
| % cmake . \ (git)-[master] - | |
| -DCMAKE_CXX_COMPILER=$(brew --prefix gcc48)/bin/g++-4.8 \ | |
| -DCMAKE_C_COMPILER=$(brew --prefix gcc48)/bin/gcc-4.8 \ | |
| -DCMAKE_ASM_COMPILER=$(brew --prefix gcc48)/bin/gcc-4.8 \ | |
| -DLIBIBERTY_LIB=$(brew --prefix gcc48)/lib/x86_64/libiberty-4.8.a \ | |
| -DCMAKE_INCLUDE_PATH="/usr/local/include:/usr/include" \ | |
| -DCMAKE_LIBRARY_PATH="/usr/local/lib:/usr/lib" \ | |
| -DLIBEVENT_LIB=$(brew --prefix libeventfb)/lib/libevent.dylib \ | |
| -DLIBEVENT_INCLUDE_DIR=$(brew --prefix libeventfb)/include \ | |
| -DICU_INCLUDE_DIR=$(brew --prefix icu4c)/include \ |
| % sudo brew install hhvm --HEAD Password: | |
| ==> Cloning https://github.com/facebook/hhvm.git | |
| Updating /Library/Caches/Homebrew/hhvm--git | |
| ==> Patching | |
| patching file hphp/runtime/ext/gd/libgd/gdft.cpp | |
| patching file CMake/HPHPFindLibs.cmake | |
| patch unexpectedly ends in middle of line | |
| Hunk #1 succeeded at 29 with fuzz 2 (offset 2 lines). | |
| ==> cmake . -DCMAKE_CXX_COMPILER=/usr/local/opt/gcc48/bin/g++-4.8 -DCMAKE_C_COMPILER=/usr/local/opt/gcc48/bin/gcc-4.8 -DCMAKE_ASM_COMPILER=/usr/local/opt/gcc48/bin/gcc-4 | |
| ==> make -j4 |
| yosasaki@SPC-072 devel% boom -n 10000 -c 200 http://localhost:5000/ | |
| 10000 / 10000 Boooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo! 100.00 % | |
| Summary: | |
| Total: 0.5068 secs. | |
| Slowest: 0.0462 secs. | |
| Fastest: 0.0033 secs. | |
| Average: 0.0099 secs. | |
| Requests/sec: 19732.5997 | |
| Total Data Received: 110000 bytes. |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title></title> | |
| </head> | |
| <body> | |
| <input id="file" type="file" name="file"> | |
| <script> | |
| var reader = new FileReader; |
| (ns fizzbuzz.core) | |
| (defn fizzbuzz | |
| [end] | |
| (map | |
| #(cond | |
| (= (mod % 15) 0) "FizzBuzz" | |
| (= (mod % 5) 0) "Buzz" | |
| (= (mod % 3) 0) "Fizz" | |
| :else (str %)) (range 1 end))) |
| (ns test.database | |
| (:require [korma.core :as k] | |
| [korma.db :refer [mysql defdb]] | |
| [test.config :as config] | |
| [clj-time.core :as t] | |
| [clj-time.coerce :as c])) | |
| (def default-time-zone-id (t/time-zone-for-id "Asia/Tokyo")) | |
| (def utc->jst-filter-keys [:created_at :updated_at]) |
| apache_dir = '/etc/httpd' | |
| cookbook_file "#{apache_dir}/conf.d/server-status.conf" do | |
| source 'server-status.conf' | |
| owner 'root' | |
| group 'root' | |
| mode '0644' | |
| action :create | |
| end |
| % cat composer.json | |
| { | |
| "config": { | |
| "vendor-dir": "vendor" | |
| }, | |
| "require": { | |
| "monolog/monolog": "^1.15" | |
| }, | |
| "autoload": { | |
| "classmap": [ |