I hereby claim:
- I am ianlewis on github.
- I am ianlewis (https://keybase.io/ianlewis) on keybase.
- I have a public key whose fingerprint is 1530 3166 31BB FFB6 E279 2984 0B2F C40B 81B9 E26C
To claim this, I am signing this object:
| u""" | |
| sudo pip install docutils pygments # システム Python に docutils インストール | |
| rvm use 1.8.7 | |
| gem install RbST | |
| /var/www/vhosts/redmine/script/plugin install git://github.com/alphabetum/redmine_restructuredtext_formatter.git | |
| RbST はなんと! 日本語に対応しません! orz (幸いなことに、 docutils の部分は Python で書かれている) |
| // vim: ft=javascript: | |
| /*jslint sloppy: true, vars: true, white: true, nomen: true, browser: true */ | |
| /*global SpreadsheetApp, UiApp, UrlFetchApp, Utilities */ | |
| /* | |
| * A script to automate requesting data from an external url that outputs CSV data. | |
| * | |
| * Adapted from the Google Analytics Report Automation (magic) script. | |
| * @author [email protected] (Nick Mihailovski) | |
| * @author [email protected] (Ian Lewis) | |
| */ |
| <!-- Begin Open Graph metadata --> | |
| <meta content='summary' name='twitter:card'/> | |
| <meta content='@<your twitter account>' name='twitter:site'/> | |
| <b:if cond='data:blog.metaDescription'> | |
| <meta expr:content='data:blog.metaDescription' name='og:description'/> | |
| <b:else/> | |
| <!-- Twitter Cards require a description but blogger posts don't always have one --> | |
| <meta content='<Default Post Description>' name='og:description'/> | |
| </b:if> | |
| <b:if cond='data:blog.pageType == "item"'> |
| #!/bin/bash | |
| # A script for recommending a reviewer for a particular diff. | |
| # Currently only supports mercurial repositories. | |
| if [ "$1" = "" ]; then | |
| echo "Usage: recommend_reviewer REV1 REV2" | |
| exit 0 | |
| fi |
| #!/bin/bash | |
| # A drop-in replacement for rm that copies files to the Gnome trash rather than | |
| # deleting them. | |
| # Doesn't quite support all of the rm options yet. | |
| readonly progname="$(basename $0)" | |
| function printHelpAndExit { | |
| exitCode=$1 |
| # A tool for converting Eijiro database into something more usable. | |
| # A work in progress. | |
| import sys | |
| import MeCab | |
| from lxml import etree | |
| from multiprocessing import Process, Pipe |
| #:coding=utf-8: | |
| import sys | |
| import csv | |
| import collections | |
| import decimal | |
| import datetime | |
| def main(csv_path, output_path): |
| import csv | |
| import sys | |
| import calendar | |
| import time | |
| from datetime import datetime | |
| # /storage/emulated/0/sleep-data/sleep-export.csv | |
| # Formates Date/Time objects in Sleep as Android format | |
| def sleepandroid_time(time): | |
| return '%.2d. %.2d. %d %d:%.2d' % (time.day, time.month, time.year, time.hour, time.minute) |
| apiVersion: extensions/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| name: kuard | |
| labels: | |
| app: kuard | |
| spec: | |
| rules: | |
| - http: | |
| paths: |
I hereby claim:
To claim this, I am signing this object: