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
[ | |
{ | |
"word": "Asshole", | |
"kana": "アスホール", | |
"meaning": "いやな奴(Ass=お尻、Hole=穴)", | |
"notice": "「うざい野郎」「ろくでなし」" | |
}, | |
{ | |
"word": "あばずれ", | |
"kana": "あばずれ", |
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
const { exec } = require('child_process'); | |
const { promisify } = require('util'); | |
const routes = require('/tmp/route.json'); | |
const csv = `/tmp/06badc24-fc5b-44bc-bf75-baccb47a797b.csv`; | |
const execAsync = promisify(exec); | |
async function getRouteCount(route) { | |
const method = route.method === 'GET|HEAD' ? 'GET' : route.method; |
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
diff --git a/lisp/php-mode.el b/lisp/php-mode.el | |
index dd57690..efcdd2a 100644 | |
--- a/lisp/php-mode.el | |
+++ b/lisp/php-mode.el | |
@@ -83,6 +83,7 @@ | |
(require 'rx) | |
(require 'cl-lib) | |
(require 'flymake) | |
+ (require 'flymake-proc) | |
(require 'php-flymake) |
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
server { | |
listen [::]:80; | |
listen 80; | |
index index.php index.html; | |
root /var/www/october; | |
access_log /var/log/nginx/access.log main; | |
error_log /var/log/nginx/error.log warn; |
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
user nginx; | |
worker_processes auto; | |
pid /run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} | |
http { |
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
(defparameter *coins* `(1 5 10 50 100 500)) | |
(defparameter *have-coins* `(3 2 1 3 0 2)) | |
(defparameter *sum* 620) | |
(defun calc (index sum answer) | |
(let* ((number (min (floor sum (nth index *coins*)) (nth index *have-coins*))) | |
(new-sum (- sum (* number (nth index *coins*)))) | |
(new-answer (+ answer number))) | |
(values new-sum new-answer))) |
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
precision mediump float; | |
uniform float t; // time | |
uniform vec2 r; // resolution | |
const float PI = 3.1415926; | |
const vec3 red = vec3(1.0, 0.0, 0.0); | |
const vec3 yellow = vec3(1.0, 1.0, 0.2); | |
const vec3 white = vec3(1.0); | |
const vec3 black = vec3(0.15, 0.15, 0.15); | |
const vec3 gray = vec3(0.4, 0.4, 0.4); |
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
<?php | |
declare(strict_types = 1); | |
namespace Hoge; | |
class FetchBanks | |
{ | |
/** | |
* Execute the console command. | |
* |