Skip to content

Instantly share code, notes, and snippets.

View pokutuna's full-sized avatar
👁️
👄 👁 👂

pokutuna pokutuna

👁️
👄 👁 👂
View GitHub Profile
@pokutuna
pokutuna / README.md
Last active January 17, 2019 05:25
pomoslack

pomoslack

スクリプトエディタでアプリケーションとして書き出すと便利

{
"title": "mousekey(s+d)",
"rules": [
{
"description": "mousekey(s+d)",
"manipulators": [
{
"type": "basic",
"from": {
"simultaneous": [
{
"dependencies": {
"puppeteer": "^1.5.0",
"speedline": "^1.3.3"
}
}
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 2 columns, instead of 1 in line 4.
支払日,2017年06月05日
会員氏名, 保登心愛
カード名,ライフ・マスターカード
当月ご請求金額 合計(弁済金・分割支払金),78088
当月ご請求金額 内訳
回数指定払い,78088
リボルビング,
カード保険料・カード年会費・ETC年会費,
カード再発行手数料,
<!DOCTYPE html>
<html lang="ja">
<head>
<script src="./index.js"></script>
</head>
<body>
<div id="outer">
<div id="inner"></div>
</div>
@pokutuna
pokutuna / .gitignore
Last active March 21, 2017 00:54
DBD::mysql 4.042
local.*/
cpanfile.*.snapshot
@pokutuna
pokutuna / no_future.pl
Last active January 6, 2017 03:42
😢 Text::Xslate::Util::hash_with_default
#!/usr/bin/env perl
use strict;
use warnings;
use Data::Section::Simple;
use Text::Xslate::Util;
use Text::Xslate;
my $vpath = Data::Section::Simple->new()->get_data_section();
my $vars = { foo => 'hoge', bar => 'fuga' };
@pokutuna
pokutuna / app.psgi
Last active November 24, 2016 05:05
nginx proxy_set_header
use strict;
use warnings;
my $app = sub {
my ($env) = @_;
return [ 200, [ 'Content-Type' => 'text/plain' ], [ "HTTP_HOST: $env->{HTTP_HOST}" ] ];
};
#!/bin/bash
# 思考停止で gzip にしつつ mysqldump でテーブルをバックアップしたりレストアしたりするぞ
if [ $# != 2 ]; then
echo 'tablebackup.sh backup TABLE'
echo 'tablebackup.sh restore DUMP.sql'
exit 1;
fi
@pokutuna
pokutuna / autoexec.cfg
Last active March 29, 2016 09:46
csgo
cl_interp "0"
cl_interp_ratio "1"
rate "128000"
cl_cmdrate "128"
cl_updaterate "128"
cl_lagcompensation "1"
cl_interpolate "1"
cl_disablefreezecam "1"
snd_mixahead "0.05"
fps_max "0"