Skip to content

Instantly share code, notes, and snippets.

I'm fine thank you.

Yoko TAMADA tmd45

I'm fine thank you.
Block or report user

Report or block tmd45

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tmd45 /
Created Aug 31, 2018
Markdown to HTML to View



  • 本文の文字サイズを大きくする
  • アイコンのまわりに余白を追加する


tmd45 / ignore
Last active May 10, 2018
View ignore
tmd45 / classify_gcp_payments.rb
Created Aug 22, 2017
Separate GCP billing by project
View classify_gcp_payments.rb
require 'rake'
require 'csv'
# Usage:
# Need files(.csv) in same folder "junk".
# $ ruby junk/classify_gcp_payments.rb project-name
function myFunction() {
var email = 'xxxxx'
var token = 'xxxxx'
var inEventEmoji = ':date:'
var noEventEmoji = ':globe_with_meridians:'
var notWorking = ':house:'
var ima = new Imananishiton(email, token, inEventEmoji, noEventEmoji, notWorking)
tmd45 / .vimrc
Created Apr 23, 2017
vimrc for server
View .vimrc
set nocompatible
sy on
set hidden
set autoread
set autoindent
set expandtab
set list
set listchars=eol:$,tab:^\ ,extends:>,precedes:<
tmd45 /
Created Feb 3, 2016
Qiita:Team で一年前の投稿を検索表示する。nkf コマンド必要
#!/bin/sh -e
echo "NOTE: I need command nkf. please 'brew install nkf'."
echo "NOTE: I'll open a result in browser."
echo ""
printf "Your Qiita:Team? (only subdomain) : "
read subdomain
printf "Who are you? : "
read userid
tmd45 / convert.rb
Last active Aug 29, 2015
Convert to Zenkaku | Hankaku test
View convert.rb
require 'nkf'
class Convert
def self.to_han(text)
puts "----- to_han -----"
text = NKF.nkf('-wZ0', text)
tmd45 / Gemfile
Last active Aug 29, 2015
nippo.rb; refs. Githubで今日なにをしたか、調べるスクリプトを書いた - きたけーTechブログ
View Gemfile
source ''
ruby '2.1.5'
gem 'i18n'
gem 'activesupport'
gem 'octokit'
tmd45 / termcolor.rb
Created Apr 17, 2014
ターミナルで使える色と色番号を一覧にする ref:
View termcolor.rb
# -*- coding: utf-8 -*-
@fg = "\x1b[38;5;"
@bg = "\x1b[48;5;"
@rs = "\x1b[0m"
def color(code)
number = '%3d' % code
"#{@bg}#{code}m #{number}#{@rs}#{@fg}#{code}m #{number}#{@rs} "
View nokogiri_utils.rb
module NokogiriUtils
extend self
def hash_from_node(node)
{ => xml_node_to_hash(node.root) }
def xml_node_to_hash(node)
return to_value(node.content.to_s) unless node.element?
You can’t perform that action at this time.