Skip to content

Instantly share code, notes, and snippets.

View miio's full-sized avatar

miio mitani miio

  • Sapporo, Hokkaido, Japan
View GitHub Profile
// ==UserScript==
// @name hateb_avoid_cussion
// @namespace http://sorah.jp/
// @description avoid cussion
// @include http://b.hatena.ne.jp/entry/*
// ==/UserScript==
var i = null
i = setInterval(function() {
if(document.getElementById("highlighted-bookmark")) {
#! /your/favourite/path/to/ruby
# -*- coding: utf-8 -*-
# Copyright (c) 2013 Urabe, Shyouhei
#
# 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
# furnished to do so, subject to the following conditions:
@zonuexe
zonuexe / .tmux.conf
Created April 22, 2013 11:18
リモート用 .tmux.conf
set-option -g prefix C-t
bind C-t next-window
set-option -g status off
@giginet
giginet / TestFlightWrapper.h
Last active December 16, 2015 04:39
TestFlight SDK Wrapper for C++ https://testflightapp.com/sdk/
//
// TestFlightWrapper.h
// TestFlightWrapper
//
// Created by giginet on 2013/4/9.
//
//
#ifndef __VOXCHRONICLE__TestFlightWrapper__
#define __VOXCHRONICLE__TestFlightWrapper__
@stas
stas / deploy.rb
Created January 15, 2013 15:34
Mina Deploy Task (Rails + Puma + Delay Job + rbenv)
require 'mina/bundler'
require 'mina/rails'
require 'mina/git'
require 'mina/rbenv' # for rbenv support. (http://rbenv.org)
# require 'mina/rvm' # for rvm support. (http://rvm.io)
# Basic settings:
# domain - The hostname to SSH to.
# deploy_to - Path to deploy into.
# repository - Git repo to clone from. (needed by mina/git)
@shmatov
shmatov / deploy.rake
Created November 15, 2012 13:17
rails + mina + unicorn
# lib/tasks/deploy.rake
namespace :deploy do
desc 'Deploy to staging environment'
task :staging do
exec 'mina deploy -f config/deploy/staging.rb'
end
end
@marocchino
marocchino / rt.md
Created September 17, 2012 17:48
rubykaigi2012 timetable
@onjiro
onjiro / gist:2365671
Created April 12, 2012 08:47
git svn で fetch 中にエラーを食らうのだわー

git svn fetch でエラーを食らう。。。svn リポジトリに壊れたリビジョンが含まれてる?

Following parent with do_switch
Successfully followed parent
r834 = bf2f4f2499b634ccb78a93b3f60ab1ee3f05ea5f (refs/remotes/tags/ver20110325)
Index mismatch: 2c3a6eb9318e39ffb21f865f882c5b885c2ec60a != 420cd6ffa57bef1d4455806bafb535ec92edc8a8
rereading f5db4ffb22c339a563040044c77a413011c2c766
svn: E235000: In file '/usr/src/subversion/subversion-1.7.4-1/src/subversion/subversion/libsvn_delta/text_delta.c' line 728: assertion failed (window->sview_len == 0 || (window->sview_offset >= ab->sbuf_offset && (window->sview_offset + window->sview_len >= ab->sbuf_offset + ab->sbuf_len)))
error: git-svn died of signal 6