- MySQL で累積和を求める - 私が歌川です
- 日ごとの保存した画像の枚数とその累積を取るSQL
- 画像1枚とテーブルの1行が対応付いている
- 変数は
邪道なので使いたくない
SELECT
t1.accum_date
, t1.count
SELECT
t1.accum_date
, t1.count
rem Execute it in the directory which includes music files | |
rem It requires one argument which will become created m3u playlist file's name | |
for %%i in (*.mp3,*.mp4,*.m4a,*.wma,*.wav) do echo %cd%\%%i >> %1.m3u |
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
) | |
const requestURL = "https://twitter.com/utgwkk" |
with quine as (select 'with quine as (select %c%s%c as s) select printf(s, char(39), s, char(39)) from quine' as s) select printf(s, char(39), s, char(39)) from quine |
{ | |
"took" : 26, | |
"_shards" : { | |
"successful" : 3, | |
"total" : 3, | |
"failed" : 0 | |
}, | |
"timed_out" : false, | |
"hits" : { | |
"total" : 330, |
令和 | |
平成 | |
昭和 | |
大正 | |
明治 | |
慶応 | |
元治 | |
文久 | |
万延 | |
安政 |
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "ctrl+q", | |
"command": "-workbench.action.quickOpenView" | |
} | |
] |
.Chromeで見ると3行で折り返される { | |
-webkit-box-orient: vertical; | |
-webkit-line-clamp: 3; | |
display: -webkit-box; | |
overflow: hidden; | |
text-overflow: -o-ellipsis-lastline; | |
word-wrap: break-word; | |
} |
import sys | |
import ast | |
class TrueFalseDetected(Exception): | |
def __init__(self, lineno, col): | |
self.lineno = lineno | |
self.col = col | |
def __str__(self): | |
return 'Useless `if` detected at line {}, column {}'.format(self.lineno, self.col) |
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
=begin comment | |
各言語実装のディレクトリが置いてあるディレクトリ (ISUCON8予選なら torb/webapp/)にこのスクリプトを置いて実行すると、各言語実装のディレクトリに.gitignoreが配置される | |
=end comment | |
=cut | |
sub get_gitignore { |