Skip to content

Instantly share code, notes, and snippets.

@akinomaeni
akinomaeni / untitled2.ipynb
Created May 2, 2020 22:59
Untitled2.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@akinomaeni
akinomaeni / overlap.rb
Created October 15, 2019 04:28
Do ranges overlap?
# frozen_string_literal: true
# 12345678
# ---- 3..6 RANGE
# --- 2..4 true
# ------ 2..7 true
# -- 4..5 true
# --- 5..7 true
# -- 1..2 false
# -- 7..8 false

ascii

"A" "B" "C" "D" "E" "F" "G" "H"

set nocompatible
filetype off
"NeoBundle の設定
if has('vim_starting')
set runtimepath+=~/.vim/bundle/neobundle.vim
endif
call neobundle#begin(expand('~/.vim/bundle'))
hoge
fuga
piyopiyo
@akinomaeni
akinomaeni / cvimrc
Last active October 17, 2018 16:48
cVimrc
set nosmoothscroll
map d closeTab
map u lastClosedTab
map <C-e> scrollDown
map <C-y> scrollUp
map <C-d> scrollPageDown
map <C-u> scrollPageUp
http://hexhoop.com/users#_=_
Koala::Facebook::ServerError in UsersController#top
{"error_code":1,"error_msg":"An unknown error occurred"} [HTTP 500]
Extracted source (around line #145):
143 data[:me][:likes] = data[:page].keys
144
145 friends = graph.get_connections("me", "friends?fields=id,name,link,birthday,picture,likes,gender,quotes")