Skip to content

Instantly share code, notes, and snippets.

View kimihito's full-sized avatar
🏠
Working from home

kimihito kimihito

🏠
Working from home
View GitHub Profile
@kkosuge
kkosuge / glitch.rb
Created December 11, 2012 04:23 — forked from rummelonp/glitch.rb
テキストをグリッチ(参考: http://nekogata.hatenablog.com/entry/2011/11/13/040535
# -*- coding: utf-8 -*-
class String
GLITCH_CHARS = ("\u0300".."\u036f").to_a
def glitch
self.each_char.reduce("") do |r, c|
r + c + rand(2).times.map { GLITCH_CHARS.sample }.join('')
end
end
@cieux1
cieux1 / make_bread.rb
Last active December 12, 2015 07:49
パンの焼き方
require 'oven'
require 'big_bowl'
class Bread
def initialize
first_ingredients = {
'Warm Water' => '220 ml', # add 5% more if half_milk
'flour' => '300 g'
'Yeast' => '6 g',
'Salt' => '6 g',
@hanachin
hanachin / data.yml
Last active December 14, 2015 03:08 — forked from kimihito/data.yml
Lisa_Rose:
Lady_in_the_Water: 2.5
Snakes_on_a_Plane : 3.5
Just_My_Luck: 3.0
Superman_Returns: 3.5
You_Me_and_Dupree: 2.5
The_Night_Litener: 3.0
Gene_Seymour:
Lady_in_the_Water: 3.0
@tompng
tompng / fbadkiller.js
Created May 23, 2013 13:36
FaceBookの広告にいいねを押さないスクリプト
var cnt=0;
function killAds(){
var units=document.getElementsByClassName("ego_unit");
try{selectAll()}catch(e){}
for(var i=0;i<units.length;i++){
if(units[i].innerHTML.match("広告"))try{findDisableButton(units[i])}catch(e){}
}
for(var i=0;i<units.length;i++){
var unit=units[i]
if(unit.innerHTML.match("さんが"))continue;
@juno
juno / qnyp-code-statistics.md
Last active June 9, 2017 12:48
Code statistics for qnyp.com application at Nov 19, 2013.

rake about

$ rake about
About your application's environment
Ruby version              2.0.0 (x86_64-darwin12.4.0)
RubyGems version          2.1.9
Rack version              1.5
Rails version             4.0.1
JavaScript Runtime        Node.js (V8)
@asufana
asufana / 作らないで済むならそれに越したことはない.markdown
Last active January 27, 2019 01:09
作らないで済むならそれに越したことはない

作らないで済むならそれに越したことはない

  • 社内勉強会資料

ソフトウェアは資産なのか?

ソフトウェアは資産なのか負債なのか - プログラマの思索 https://www.readability.com/articles/wwdszj2n

#!/bin/bash
#
# Bash script to setup headless Selenium (uses Xvfb and Chrome)
# (Tested on Ubuntu 12.04) trying on ubuntu server 14.04
# Add Google Chrome's repo to sources.list
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee -a /etc/apt/sources.list
# Install Google's public key used for signing packages (e.g. Chrome)
# (Source: http://www.google.com/linuxrepositories/)
@tai2
tai2 / posts.md
Last active March 13, 2025 23:41
ブログネタ

ブログネタ

自分で書く

  • ソフトウェアを外注する際の注意点(失敗しない発注方法)
  • 雨が降るとインターネットが重くなる?
  • 開発の見積事例
  • チケットの書き方
  • /tmp詳解 how to
  • スタートアップにおける技術スタックの選択について
@hisaju
hisaju / mix245cloud
Last active August 29, 2015 14:11
bookmarklet of mixcloud to 245cloud
javascript:document.location='http://245cloud.com/?ad=true#mixcloud:'+ location.pathname
@azu
azu / ghqs.zsh
Last active February 16, 2021 09:37
ghq+ghs
# Require
# ghq: https://github.com/motemen/ghq
# ghs: https://github.com/sona-tar/ghs
# ghq get + ghq look(cd repo)
# Usage: gcd git://example.com/repo.git
function gcd {
if [ ! -n "$1" ]; then
echo "Usage: gcd git://example.com/repo.git"
return;