Skip to content

Instantly share code, notes, and snippets.

Tomohiro Imaizumi incheon

Block or report user

Report or block incheon

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
luislavena /
Last active Sep 29, 2019
Workaround RubyGems' SSL errors on Ruby for Windows (RubyInstaller)

SSL upgrades on and RubyInstaller versions

UPDATE 2016-12-01: Please refer to the official guide instead of this process.

UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.


udzura /
Created Jun 2, 2014
Hubot + CoffeeScript ではじめるやわらかプログラミング入門


  • Hubot であそぼう


YuukiTsuchida / UnixTime
Created May 23, 2014
View UnixTime
public static class UnixTime
private static readonly DateTime UNIX_EPOCH = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
* 現在時刻からUnixTimeを計算する.
* @return UnixTime.


未開封のWindows PCと一緒に手渡された環境構築マニュアル、1つ1つ手作業で進めるだけで初日が終わってしまった、そんな時間の無駄を省く為のドキュメント。




23maverick23 / font_awesome.rb
Last active Oct 23, 2018
Jekyll: Font Awesome icons Liquid tag
View font_awesome.rb
# The MIT License (MIT)
# Copyright (c) 2014 Ryan Morrissey
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
View gist:6696152
function! s:separate_defenition_to_each_filetypes(ft_dictionary) "{{{
let result = {}
for [filetypes, value] in items(a:ft_dictionary)
for ft in split(filetypes, ",")
if !has_key(result, ft)
let result[ft] = []
call extend(result[ft], copy(value))
jasonmadigan / 404_finder.rb
Created Aug 24, 2012
404 Finder - Simple Ruby site crawler, finds 404s
View 404_finder.rb
#!/usr/bin/env ruby
# Simple 404 finder
require 'rubygems'
require 'anemone'
url = ARGV[0]
if url.nil?
them0nk / rspec_rails_cheetsheet.rb
Created Mar 23, 2012
Rspec Rails cheatsheet (include capybara matchers)
View rspec_rails_cheetsheet.rb
@user.should have(1).error_on(:username) # Checks whether there is an error in username
@user.errors[:username].should include("can't be blank") # check for the error message
response.should render_template(:index)
response.should redirect_to(movies_path)
benjamincharity / Local Fallback for jQuery and Modernizr
Created Jan 6, 2012
Include jQuery and Modernizr from a CDN and add local fallbacks in case the CDN fails. Versions written in HTML and HAML.
View Local Fallback for jQuery and Modernizr
<script type='text/javascript'>
window.jQuery || document.write('<script src="js/jquery-1.7.1.js">\x3C/script>')
<script src='' type='text/javascript'></script>
<script type='text/javascript'>
window.Modernizr || document.write('<script src="js/modernizr-2.0.6.js">\x3C/script>')
pathawks / meta.html
Last active Dec 19, 2018
Open Graph for Jekyll
View meta.html
{% if include.content %}
<meta property="{{ }}" content="{{ include.content }}" />
{% endif %}
You can’t perform that action at this time.