Skip to content

Instantly share code, notes, and snippets.

var PlugAPI = require('plugapi'),
AUTH = 'BmzRZ0J6sYBAUC3/7C1o4gzZlU8=?_expires=STE0MTIwNDg2NjcKLg==&user_id=Uyc1MzNjZDkxYjNiNzkwMzdiYWI1M2Q5ZDknCnAxCi4=',
ROOM = 'lingr';
var bot = new PlugAPI(AUTH);
bot.connect(ROOM);
bot.on('roomJoin', function(room) {
console.log("Joined " + room);
});
URI::InvalidURIError - bad URI(is not URI?): jvgrep%2520%25E3%2581%25AE%25E5%25AF%25BE%25E6%258A%2597%25E9%25A6%25AC%25E3%2581%25A8%25E3%2581%2597%25E3%2581%25A6%25E3%2581%25AF%2520pt%2520https://github.com/monochromegane/the_platinum_searcher%2520%25E3%2581%25A7%25E3%2581%2599%25E3%2581%258B%25E3%2581%25AD%25E3%2580%2582:
/app/vendor/ruby-2.1.0/lib/ruby/2.1.0/uri/common.rb:176:in `split'
/app/vendor/ruby-2.1.0/lib/ruby/2.1.0/uri/common.rb:211:in `parse'
/app/vendor/ruby-2.1.0/lib/ruby/2.1.0/uri/common.rb:747:in `parse'
/app/vendor/bundle/ruby/2.1.0/gems/mechanize-2.5.1/lib/mechanize/http/agent.rb:621:in `rescue in resolve'
/app/vendor/bundle/ruby/2.1.0/gems/mechanize-2.5.1/lib/mechanize/http/agent.rb:618:in `resolve'
/app/vendor/bundle/ruby/2.1.0/gems/mechanize-2.5.1/lib/mechanize/http/agent.rb:214:in `fetch'
/app/vendor/bundle/ruby/2.1.0/gems/mechanize-2.5.1/lib/mechanize.rb:407:in `get'
nicothumb.rb:150:in `get_image_url'
nicothumb.rb:197:in `do_maji_sugoi'
<?php
define("YESTERDAY_DT", "2014-06-01 00:00:00");
function getCurrentTime() {
$dt = new DateTime();
$dt->setTimeZone(new DateTimeZone('Asia/Tokyo'));
return $dt->format('Y-m-d H:i:s');
}
function getFileList($dir) {
@raa0121
raa0121 / lein.vim
Last active August 29, 2015 14:04
"
" The MIT License (MIT)
"
" Copyright (c) 2014 raa0121
"
" 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
diff --git a/.vimrc b/.vimrc
index 7a9a196..7d6cb2f 100644
--- a/.vimrc
+++ b/.vimrc
@@ -80,78 +80,37 @@ let g:neobundle_default_git_protocol='https'
NeoBundleFetch 'Shougo/neobundle.vim'
-NeoBundle 'mattn/flappyvird-vim'
-
(ns cloft2.app
(:use [clojure.core.strint :only (<<)]
[cloft2.lib :only (later sec)])
(:require [clj-http.client]
[clojure.string :as s]
[cloft2.lib :as l]
[cloft2.fast-dash]
[cloft2.sneaking-jump]
[cloft2.safe-grass]
[cloft2.kickory]
diff --git a/client/src/cloft2/app.clj b/client/src/cloft2/app.clj
index b072892..ff08631 100644
--- a/client/src/cloft2/app.clj
+++ b/client/src/cloft2/app.clj
@@ -14,7 +14,7 @@
[org.bukkit.entity Arrow Player Horse]
[org.bukkit.inventory ItemStack]
[org.bukkit.util Vector]))
-
+(-> env .getClass)
if has('win32') || has('win64')
NeoBundleLocal 'C:\vim\plugins\'
else
NeoBundle 'Shougo/vimproc.vim'
call neobundle#config('vimproc.vim', {
\ 'build' : {
\ 'windows' : 'make -f make_mingw32.mak',
\ 'cygwin' : 'make -f make_cygwin.mak',
\ 'mac' : 'make -f make_mac.mak',
\ 'unix' : 'make -f make_unix.mak',
/home/raa0121/.rbenv/versions/2.1.0/bin/ruby -I"lib" -I"/home/raa0121/.rbenv/versions/2.1.0/lib/ruby/2.1.0" "/home/raa0121/.rbenv/versions/2.1.0/lib/ruby/2.1.0/rake/rake_test_loader.rb" "test/test_completion.rb" "test/test_doc.rb" "test/test_functional.rb" "test/test_method_analyzer.rb" "test/test_method_args.rb" "test/test_options.rb" "test/test_ruby_toggle_file.rb" "test/test_xmpfilter.rb" "test/test_xmptestunitfilter.rb"
/home/raa0121/devlop/rcodetools/lib/method_analyzer.rb:38:in `trace_func': undefined method `critical' for Thread:Class (NoMethodError)
from /home/raa0121/.rbenv/versions/2.1.0/lib/ruby/2.1.0/monitor.rb:194:in `mon_exit'
from /home/raa0121/.rbenv/versions/2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:143:in `ensure in require'
from /home/raa0121/.rbenv/versions/2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:143:in `require'
test/unit warning: method MethodAnalyzerMarshalOutput#test_marshal_merged is redefined
/home/raa0121/devlop/rcodetools/test/../bin/rct-meth-arg
def hhk(hhk)
hhk.to_s.chars.map{|c|
case c
when 'H' then ['ハッピー', 'ハッキング'].sample
when 'K' then :キーボード
else '♡'
end
}.join
end