Skip to content

Instantly share code, notes, and snippets.

@asonas
asonas / vim.rb
Last active August 29, 2015 14:16 — forked from uasi/vim.rb
require 'formula'
class Vim < Formula
homepage 'http://www.vim.org/'
url 'ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2'
head 'https://vim.googlecode.com/hg/'
sha256 'd0f5a6d2c439f02d97fa21bd9121f4c5abb1f6cd8b5a79d3ca82867495734ade'
version '7.4.488'
def features; %w(tiny small normal big huge) end
require 'date'
require 'i18n'
JAVA = "http://www.java.com/#{I18n.locale}/"
YOU = `whoami`
def DOWNLOAD(today)
puts "Free Java Download"
puts JAVA
@asonas
asonas / chatwork-to-all-helper.user.js
Last active January 26, 2017 04:42 — forked from haruta/chatwork-to-all-helper.user.js
Chatworkが新しくバージョンアップしたことによるDOM構造の追随を施した。 使い方とかは https://gist.github.com/haruta/4173983
// ==UserScript==
// @name chatwork to all helper
// @match https://www.chatwork.com/*
// @version 1.2
// ==/UserScript==
(function() {
document.getElementById('_chatText').addEventListener('blur', function(e){
if (/[@@]{2}/.test(e.target.value)) {
var to_list = [];
@asonas
asonas / jquery-tapp.js
Created September 13, 2012 06:49 — forked from rosylilly/jquery-tapp.js
jQuery-tapp
jQuery.fn.extend({
/**
* $('li').tapp() で console.debug に this を出力します。
*
* func を与えることで、func(this) を実行した結果を console.debug に出力します。
*
* @this {jQuery}
* @param {function(jQuery)=} func
* @return {jQuery}
*/
@asonas
asonas / gist:2280087
Created April 2, 2012 02:20 — forked from e-jigsaw/gist:2277968
高専クリエイターズ
適当なコミュニティサイトをつくる。
そこで高専な人で普段からものづくりしてる人があつまる
誰かが企画書を投げると、その企画に参加したい人たちが参加していくある程度人数や役割がそろったら開発開始。
作業の内容は常にgitのコミットログがそのコミュニティサイトに流れてくる。
流動性をどんどん見せるための演出がすごくあるといいかも。
すべてのプロジェクトのコミットログがトップページに流れてくると脳汁やばい。
成果物もURLを付記してどんどん完成していく姿が見える