Skip to content

Instantly share code, notes, and snippets.

View rich.html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>アカウントの登録方法</title>
<style type="text/css">
#container {
margin: 10px auto;
View new.md

title: 打ち合わせメモ

May 12 2014

内容

1. 変更点の確認

  1. powのアドレスが変わった。同じWifi内で接続できるように変更
View riak_openable.rb
module CarrierWave
module Uploader
module RiakOpenable
# When using riak, we can not access to file directory.
# RiakOpenable#open provide tempfile which contains copy from server.
def open(*args)
options = args.extract_options!
file_opts = options.merge(binmode: true)
View batch_downloading.js
// Required plugins
// - https://github.com/eligrey/FileSaver.js
// - https://github.com/Stuk/jszip
// feature-detect against window.FormData, window.Blob and window.ArrayBuffer
var isSupported = !!(window.FormData && window.Blob && window.ArrayBuffer);
var downloadFile = function (url) {
var xhr = new XMLHttpRequest(),
deferred = new $.Deferred();
View 2015-04-20-programming.md

スケジュール表

俺の考えた最強のpixivクローン@05/13(水):いっくん

目標:

  • Webサーバーを立ち上げられるようになる。
  • リクエストを送れるようになる。(意味を知る)

Webサーバーとは(サーバ・クライアント)

View gist:421f9ea939601ddf6ff0
[alias]
soft=reset --soft HEAD^
freset = !git clean -fd | git reset --hard
[user]
email= alpaca-tc@alpaca.tc
name= alpaca-tc
[core]
trailing-space = false
View .vimrc
" surround_custom_mappings.vim"{{{
let g:surround_custom_mapping = {}
let g:surround_custom_mapping._ = {
\ 'p': "<pre> \r </pre>",
\ 'w': "%w(\r)",
\ }
let g:surround_custom_mapping.help = {
\ 'p': "> \r <",
\ }
let g:surround_custom_mapping.ruby = {
View test.vim
" neobundle"{{{
filetype plugin indent off " required!
" initialize"{{{
if has('vim_starting')
let bundle_dir = '~/.bundle'
if !isdirectory(bundle_dir.'/neobundle.vim')
call system( 'git clone https://github.com/Shougo/neobundle.vim.git '.bundle_dir.'/neobundle.vim')
endif
View test.vim
"------------------------------------
" neosnippet
"------------------------------------
" neosnippet "{{{
" snippetを保存するディレクトリを設定してください
" example
" let s:default_snippet = neobundle#get_neobundle_dir() . '/neosnippet/autoload/neosnippet/snippets' " 本体に入っているsnippet
" let s:my_snippet = '~/snippet' " 自分のsnippet
" let g:neosnippet#snippets_directory = s:my_snippet
View test.vim
"------------------------------------
" neocomplcache
"------------------------------------
" 補完・履歴 neocomplcache "{{{
set infercase
"----------------------------------------
" neocomplcache
let g:neocomplcache_enable_at_startup = 1