rbenv, ruby-buildを更新
$ cd ~/.rbenv
$ git pull origin master
$ cd ~/.rbenv/plugins/ruby-build
$ git pull origin master
#!/usr/bin/env python | |
from __future__ import division | |
"""flawfinder: Find potential security flaws ("hits") in source code. | |
Usage: | |
flawfinder [options] [source_code_file]+ | |
See the man page for a description of the options.""" |
// To add these functions to your Google Doc documents, | |
// see https://developers.google.com/apps-script/guides/sheets/functions | |
/** | |
* @fileOverview Google Doc Apps Script: LENB() / LENH() functions for Spreadsheet. | |
* @author Hiroshi Yamamoto ([email protected]) | |
* @license <a href="http://www.wtfpl.net/">WTFPL version 2.0</a> | |
* @version 0.2.0 | |
*/ |
ja: | |
devise_token_auth: | |
sessions: | |
not_confirmed: "'%{email}' に確認用のメールを送信しました。メール内の説明を読み、アカウントの有効化をしてください。" | |
bad_credentials: "ログイン用の認証情報が正しくありません。再度お試しください。" | |
not_supported: "/sign_in に GET はサポートされていません。POST をお使いください。" | |
user_not_found: "ユーザーが見つからないか、ログインしていません。" | |
token_validations: | |
invalid: "ログイン用の認証情報が正しくありません。" | |
registrations: |
#!/bin/bash | |
# https://gist.github.com/ymkjp/4f54ecb3446fa42ff2a8 | |
set -e | |
cd $(dirname $0) | |
# Current date YYYYMMDD_HHMMSS | |
DATE_CURRENT_YMD=$(date '+%Y%m%d_%H%M%S') | |
# AWS Profile |
body { | |
font-family: Helvetica, arial, sans-serif; | |
font-size: 14px; | |
line-height: 1.6; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
background-color: white; | |
padding: 30px; } | |
body > *:first-child { |
#!/bin/sh | |
[[ -e ~/.dotfiles ]] || git clone [email protected]:ymkjp/.dotfiles.git ~/.dotfiles | |
pushd ~/.dotfiles | |
git submodule init | |
git submodule update | |
for i in `ls -a` | |
do | |
[ $i = "." ] && continue |
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use GD; | |
sub draw_page { | |
my ($width, $height) = @_; | |
return unless $width && $height; |