Skip to content

Instantly share code, notes, and snippets.

View supermomonga's full-sized avatar
🏠
Working from home

supermomonga supermomonga

🏠
Working from home
View GitHub Profile
# coding: utf-8
puts :便利
benri
%table
- items.each_slice(3) do |sliced|
%tr
- sliced.each do |item|
%td= item ? item.title : ''
# coding: utf-8
# This code works with Ruby2.0
puts %w(Hello World).tap{ |hw|
bytes = hw.join.bytes.to_a
a, b = bytes.pop, bytes.pop
c = b - a
c += c + c+ c
@d = c.chr
}.join @d
function neocomplete#handler#_do_auto_complete..neocomplete#complete#_get_results..neocomplete#complete#_set_results_words..200..<SNR>177_check_source..<SNR>177_make_cache..neocomplete#cache#async_load_from_file..<SNR>225_async_load..vimproc#system_bg..vimproc#plineopen3..<SNR>182_plineopen, line 8
Vim(let):E121: Undefined variable: fd
Source name is buffer
Error occured in source's gather_candidates()!
function neocomplete#handler#_do_auto_complete..neocomplete#complete#_get_results..neocomplete#complete#_set_results_words..200..<SNR>177_check_source..<SNR>177_make_cache..neocomplete#cache#async_load_from_file..<SNR>225_async_load..vimproc#system_bg..vimproc#plineopen3..<SNR>182_plineopen, line 8
Vim(let):E121: Undefined variable: fd
Source name is buffer
Error occured in source's gather_candidates()!
"app/views/widgets/_submenu.html.haml" 14L, 324C written
Error detected while processing function <SNR>181_check_buffer..<SNR>181_initialize_include..neocomplete#cache#async_load_from_tags..<SNR>225_async_load.
require 'rspec'
def cloop(*params, &block)
r = ->(*xs){ block.(r, *xs) }
r.(*params)
end
def map(xs, &block)
cloop([], xs){ |r, nxs, x|
if x == []
def cloop(*params, &block)
  r = ->(*xs){ block.(r, *xs) }
  r.(*params)
end
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/Users/momonga/.rbenv/versions/2.0.0-p247 --with-openssl-dir=/usr/local/opt/openssl
## --------- ##
## Platform. ##
/var/folders/jf/9wcyvc712dgbrnx19dxlrfy80000gn/T/ruby-build.20130826234758.77246 ~
x ruby-2.0.0-p247/
x ruby-2.0.0-p247/eval_jump.c
x ruby-2.0.0-p247/transcode_data.h
x ruby-2.0.0-p247/complex.c
x ruby-2.0.0-p247/main.c
x ruby-2.0.0-p247/vm_insnhelper.h
x ruby-2.0.0-p247/goruby.c
x ruby-2.0.0-p247/enum.c
x ruby-2.0.0-p247/vm_trace.c
❯ rbenv install 2.0.0-p247
Downloading ruby-2.0.0-p247.tar.gz...
-> ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz
Installing ruby-2.0.0-p247...
BUILD FAILED
Inspect or clean up the working tree at /var/folders/jf/9wcyvc712dgbrnx19dxlrfy80000gn/T/ruby-build.20130826234758.77246
Results logged to /var/folders/jf/9wcyvc712dgbrnx19dxlrfy80000gn/T/ruby-build.20130826234758.77246.log