Skip to content

Instantly share code, notes, and snippets.

Ken’ichiro Oyama k1LoW

View GitHub Profile
@k1LoW
k1LoW / img.md
Last active Jan 18, 2019
img.md
View img.md

aaaa

![img](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAgAElEQVR4AezBaVCVh7348e/vec7hcNhBFBRQEHdRcIkGFFfE3VQNSZsmbZIut7293e7tzJ3emb7vnenMnbn/Tns7baY3rUkTY6om0cgOgiiLKyqC4kqURTbZzvY8v7/nBTPMGZOmtr1vwucj+hiTJn0B+f1+2tvbqaqqori4mIaGBu7fv8/TcjqdZGdns3nzZtavX09OTg7Tp09nnN/v5xe/+AX/+Z//yaNHj1BVxhmGQUREBAUFBXzzm9/EMAwuXLhAdXU1Z8+epbe3F1Ul1NSpU1m2bBkvvvgihYWFzJgxA8MwUFVs26a7u5ubN2/y5ptv8s477zAyMoJt20zkcDhIT09n+fLlPP/882zbto2IiAhM0+SzqCpBIkLQ/fv3OXnyJO+88w7V1dU8evQI27YJ5Xa7mTlzJkuXLmXPnj3s27ePiIgIPi9VJUhEGDcyMsLDhw8pKSnhzTff5MqVKzx69AjbtvksM2bMYNmyZezYsYMNGzYwc+ZMoqKimMi2bXp6ejh//jzvvvsupaWl3L9/H1UllNPpJDMzk5dffpk9e/aQmZlJREQEn5dt2/h8PlpaWqiqquLDDz/k1KlT+Hw+QhmGQUJCAtOnT6e/v5/79+9j2zZ/C6fTSXR0NN///vf5wQ9+QExMDA6Hg08j+hiTJn0B+f1+bt++TXV1NSdOnKC+vp6Ojg6eltPpJCsri02bNrFhwwaWL1/OjBkzGOf3+/mv//ovfvGLX9Df308gEGCcYRhERESwefNmXn/9ddxuN1evXqWyspKGhgZ6enoIBAKESkhIYOnSpTz//PMUFhYyc+ZMXC4XqoplWTx48IBr165x4MAB/vznPzM6Oopt24wTERwOB3PmzCE3N5cvfelLbNy4kYiICAzD4NOoKiLCRDdu3ODkyZMcOnSIU6dOMTw8jG3bhIqJiSEjI

View 0_test.sql
CREATE TABLE a (
order_no TEXT NOT NULL,
detail_no TEXT NOT NULL,
amazon_item_id TEXT NOT NULL,
divided_delivery_charge TEXT NOT NULL,
divided_cod_fee TEXT NOT NULL,
registration_date TEXT NOT NULL,
registration_id TEXT NOT NULL,
update_date TEXT NOT NULL,
update_id TEXT NOT NULL
@k1LoW
k1LoW / piculet.tf
Created Sep 1, 2017
Test environment for Piculet `eval $(terraform output | sed 's/ //g' | sed 's/^/export /')` Raw
View piculet.tf
variable "region" {
default = "ap-northeast-1"
}
provider "aws" {
region = "${var.region}"
}
data "aws_caller_identity" "current" {}
@k1LoW
k1LoW / roadworker.tf
Last active Sep 1, 2017
Test environment for Roadworker `eval $(terraform output | sed 's/ //g' | sed 's/^/export /')`
View roadworker.tf
variable "region" {
default = "ap-northeast-1"
}
variable "availability_zones" {
type = "list"
default = ["ap-northeast-1a", "ap-northeast-1c"]
}
provider "aws" {
region = "${var.region}"
View wri.pe2hubedit.rb
require 'date'
require 'fileutils'
Dir.glob('page-*').each do |f|
content = File.read(f)
title = content.partition("\n")[0]
body = content.partition("\n")[2]
next if body.empty?
next if title.split(' ').empty?
splitted = title.split(' ')
@k1LoW
k1LoW / fusic20.md
Last active Dec 9, 2018
Fusicの20の信条
View fusic20.md

Fusicの20の信条

  • 働く人がイキイキとしている
  • デキる人になる
  • とことん働き、とことん遊ぶ
  • 尖る
  • 常に+αを考える
  • 速く
  • 全力でやる
  • 諦めが悪い
View gulpfile.js
var gulp = require('gulp');
var exec = require('gulp-exec');
gulp.task('pandoc', function() {
var options = {
silent: true
};
gulp.src('./input.md')
.pipe(exec('pandoc <%= file.path %> -f markdown -o output.docx', options))
.pipe(exec('pandoc <%= file.path %> -f markdown -o output.pdf -V documentclass=ltjarticle -V classoption=a4j -V classoption=landscape --latex-engine=lualatex --toc', options));
View JavaScript::MultiQueue
function (__structure outputStructure) main (
__number inputNumber,
__number FillIndex,
__boolean Fill,
__number ClearIndex,
__boolean Clear,
__number Iterations)
{
Object.Queue = (Object.Queue) ? Object.Queue : new Array(Iterations);
var result = new Object();
View user.yml
---
- hosts: all
vars:
username: hogehoge
sudo: true
tasks:
- name: add ssh user
user: name={{ username }} comment="ssh user"
- authorized_key: user={{ username }} key="{{ item }}"
with_lines:
View techtouch#0b10111.md

TechTouch #0b10111

** まさかの開催番号を間違っていました...正しくは#0b10111です(社内用に1回はさんでいました) **

Markdown方式で書くと吉。他は基本的に「適当」でお願いします。 AAの追加すらOKです。

最終的にgistか何かで公開します。

参加者

You can’t perform that action at this time.