Skip to content

Instantly share code, notes, and snippets.

a = True
b = True
c = False
if(a):
a += 1
if(b):
b += 1
46 : Shougo/unite.vim
42 : Shougo/vimproc
40 : thinca/vim-quickrun
38 : tpope/vim-fugitive
33 : thinca/vim-ref
32 : mattn/webapi-vim
31 : tpope/vim-surround
29 : Shougo/neocomplcache
27 : tyru/open-browser.vim
26 : Shougo/vimshell
67 : Shougo/unite.vim
60 : Shougo/vimproc
58 : thinca/vim-quickrun
56 : tpope/vim-fugitive
53 : Shougo/neobundle.vim
48 : tpope/vim-surround
45 : Shougo/vimfiler
44 : mattn/webapi-vim
43 : thinca/vim-ref
42 : Shougo/neocomplcache
require 'open-uri'
require 'json'
hoge = {}
urls = []
urls << JSON.parse(open("http://vim-jp.org/reading-vimrc/json/archives.json").read).map{|j|j["vimrc"].map{|v| v["raw_url"] }}
urls.flatten.uniq.map{|url|
begin
file = open(url).read.encode("UTF-8", :invalid => :replace, :undef => :replace, :replace => "").split("\n")
file.select{|i|
j = i.sub(/git:\/\/github\.com(?:\/|:)/,"")
(defproject TestGame "1.0.0-SNAPSHOT"
:description "libGDX TestGame Ploject"
:dependencies [com.badlogicgames.gdx/gdx "1.5.0"]
:license {:name "MIT License"
:url "http://opensource.org/licenses/MIT"}
:repositories ["org.sonatype.snapshot" {:url "https://oss.sonatype.org/content/repositories/snapshots/"}
"org.sonatype.releases" {:url "https://oss.sonatype.org/content/repositories/releases/"}]
:javac-target "1.8"
:javac-source "1.8"
:javac-options ["-d" "classes/" "-Xlint:all"]
{
"name": "cocos2dx-clib-sample",
"version": "0.0.1",
"repo": "raa0121/cocos2dx-clib-sample",
"dependencies" : {
"cocos2d/cocos2d-x": "cocos2d-x-3.3"
},
"install": "make install"
}
# encoding: utf-8
require 'java'
require 'singleton'
import 'redis.clients.jedis.Jedis'
import 'redis.clients.jedis.JedisPool'
import 'redis.clients.jedis.JedisPoolConfig'
module Rukkit
class Redis
Spooky = require 'spooky'
module.exports = (robot) ->
robot.hear /(https?:\/\/.*)$/i, (msg) ->
url = RegExp.$1
spooky = new Spooky
child:
command: './node_modules/.bin/casperjs'
casper:
logLevel: 'debug',
verbose: true
@raa0121
raa0121 / hachima_and_zin_filter.user.js
Created October 27, 2011 11:02
はちまと刃を弾くフィルタ for Greasemonkey
// ==UserScript==
// @name hachima_and_zin_filter
// @namespace raa0121
// @description hachima_and_zin_filter
// @include http://jin115.com/*
// @include http://blog.esuteru.com/*
// ==/UserScript==
(function() {
var bodys = document.getElementsByTagName("body");
@raa0121
raa0121 / test1.java
Created November 4, 2011 07:20
JavaTest
//すごく適当に書いてるので、適宜読み替えてね!
//多分こんな感じだと思う
//class testはメソッドや変数の定義を作っておくところ
class test1{
int A(){
B();
}
int B(){
}