Skip to content

Instantly share code, notes, and snippets.

View shohe05's full-sized avatar

Shohei Tanaka shohe05

  • 11:05 (UTC +09:00)
View GitHub Profile
@shouhei
shouhei / php-cs-fixer.el
Created September 11, 2014 03:27
PHP CS fixerをemacsから使うための関数
(defun php-cs-fixer ()
(interactive)
(setq filename (buffer-file-name (current-buffer)))
(call-process "php-cs-fixer" nil nil nil "fix" filename )
(revert-buffer t t)
)
@kenjiskywalker
kenjiskywalker / nginx_try_files_memo.md
Last active April 13, 2024 03:00
nginxのtry_filesの動作の確認

nginx config

nginx.conf

server {
    listen 80;
    server_name example.com;
    root /var/www/html/;
    index index.html;
    access_log /var/log/nginx/access_log hogehoge;