Skip to content

Instantly share code, notes, and snippets.

View yuiseki's full-sized avatar
🍻
I want to drink

yuiseki yuiseki

🍻
I want to drink
View GitHub Profile
@yuiseki
yuiseki / save_all_page_to_gyazo.user.js
Last active January 3, 2022 08:36
見たページ全部GyazoるUserScript
// ==UserScript==
// @name Save All Page to Gyazo
// @namespace http://ssig33.com
// @version 1.0
// @author You
// @match http://*/*
// @match https://*/*
// @exclude https://*.youtube.com/
// @exclude https://youtube.com/
// @exclude https://mail.google.com/*
@yuiseki
yuiseki / script
Created June 11, 2011 15:37 — forked from youpy/script
/home/yuiseki/scripts/gyazo.rb
#!/usr/bin/env ruby
require 'fileutils'
require 'digest/md5'
tmpfile = "/tmp/image_upload#{$$}.png"
filepath = "/home/yuiseki/Dropbox/Public/gyazo/#{Digest::MD5.hexdigest(filedata)}.png"
url = 'http://dl.dropbox.com/u/334064/g/' + File.basename(file)
FileUtils.mkdir_p File.dirname(file)
@yuiseki
yuiseki / hanami.haml
Created March 28, 2011 02:39 — forked from ssig33/hanami.haml
花見.荒川智則.jp
%title 梅ラボ花見 #o873
%script{:src => "http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"}
%script{:src => "http://platform.twitter.com/anywhere.js?id=r6SEKr3NYesSmDL8bGeiLw&v=1"}
%link{:href => "http://ssig33.com/common.css", :type => "text/css", :rel => "stylesheet"}
#all
%h1 花見します
%h2 誰が来るの?
荒川智則
%h2 どこでやんの?
代々木公園
@yuiseki
yuiseki / school.rb
Created November 26, 2009 19:12 — forked from oquno/school.rb
#!/usr/local/bin/ruby -Ks
# _*_ coding: utf-8 _*_
require 'rubygems'
require 'mechanize'
require 'time'
MAIL = 'mixi_login_mail_address'
PASS = 'mixi_login_pass'
DIRECTORY = 'log_directory_path'
   _,,....,,_  _人人人人人人人人人人人人人人人_
-''":::::::::::::`''>  ゆっくりした結果がこれかよ!!! <
ヽ::::::::::::::::::::: ̄^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^ ̄
 |::::::;ノ´ ̄\:::::::::::\_,. -‐ァ     __   _____   ______
 |::::ノ   ヽ、ヽr-r'"´  (.__    ,´ _,, '-´ ̄ ̄`-ゝ 、_ イ、
_,.!イ_  _,.ヘーァ'二ハ二ヽ、へ,_7   'r ´          ヽ、ン、
::::::rー''7コ-‐'"´    ;  ', `ヽ/`7 ,'==─-      -─==', i
r-'ァ'"´/  /! ハ  ハ  !  iヾ_ノ i イ iゝ、イ人レ/_ルヽイ i |
!イ´ ,' | /__,.!/ V 、!__ハ  ,' ,ゝ レリイi (ヒ_]     ヒ_ン ).| .|、i .||
`!  !/レi' (ヒ_]     ヒ_ン レ'i ノ   !Y!""  ,___,   "" 「 !ノ i |
#define R 5
#define G 6
#define B 7
#define S 2
#define WAIT 500
int inByte = 0;
int inSwitch;
bool r, g, b, blink, off;
@yuiseki
yuiseki / gist:45416
Created January 10, 2009 08:37 — forked from nagayama/gist:2108
(^o^)/owata