Skip to content

Instantly share code, notes, and snippets.

Aki springaki

Block or report user

Report or block springaki

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
View Install suggested

Install suggested plugin

  • Folders Plugin
  • OWASP Markup Formatter Plugin
  • build timeout plugin
  • Credentials Binding Plugin
  • Timestamper Workspace Cleanup Plugin
  • Ant Plugin Gradle Plugin
  • Pipeline GitHub Organization
  • Folder Plugin
springaki / gist:652cdb16fdf3c39d3c27
Created Oct 24, 2015
Node.js & npm のアンインストール
View gist:652cdb16fdf3c39d3c27
lsbom -f -l -s -pf /var/db/receipts/ \
| while read i; do
sudo rm /usr/local/${i}
sudo rm -rf /usr/local/lib/node \
/usr/local/lib/node_modules \
sudo rm -rf ~/.npm
springaki / file0.txt
Created Dec 16, 2014
RubyMineで簡単に行ごとのコミットログを見る方法 (Annotate,Blame) ref:
View file0.txt
$ git annotate <ファイル名>
springaki / .powenv
Last active Aug 29, 2015
RubyMineでPowを使いながらDebugする方法 ref:
View .powenv
export RUBY_DEBUG_PORT=1234
export POW_WORKERS=1
View Count words.
"no ruby, no life!"
# => {"no"=>2,"ruby"=>1,"life"=>1}
str = "no ruby, no life!"
# A.1
str.scan(/\w+/).each_with_object({|e,h| h[e]+=1}
# => {"no"=>2, "ruby"=>1, "life"=>1}
# A.2
springaki / poi
Last active Dec 19, 2015
POI のA1形式での範囲指定と矩形4点の取り方
View poi
String range = "A1:C5"
CellRangeAddress address = CellRangeAddress.valueOf(range);
int firstRow = address.getFirstRow();
int lastRow = address.getLastRow();
int firstColumn = address.getFirstColumn();
int lastColumn = address.getLastColumn();
View lottery.rb
class Lottery
def initialize(winners)
@winners = winners
@ary = []
def add(name, weight)
@ary +=, name)
springaki / usage: amazon plugin for octopress.erb
Created Feb 5, 2013
usage: amazon plugin for
View usage: amazon plugin for octopress.erb
{{ "4048687158" | amazon_medium_image }}
{{ "4798122971" | amazon_medium_image }}
View 1405.txt
Marco Tempest: What I'd like to show you today
is something in the way of an experiment.
Today's its debut.
It's a demonstration of augmented reality.
View ted.rb
# -*- encoding: utf-8 -*-
# TED Subtitles sample
require 'json'
require 'open-uri'
base_url = ''
id = 1405
url_en = "#{base_url}/id/#{id.to_s}/lang"
You can’t perform that action at this time.