たきざわっかそん2015/5/3についてかきます。
- 未定
- リリースする。
#!/usr/bin/env ruby | |
require 'rest_client' | |
require 'json' | |
forecast_json = RestClient.get 'http://weather.livedoor.com/forecast/webservice/json/v1?city=030010' | |
forecast = JSON.parse(forecast_json) | |
#puts forecast["forecasts"][0]["telop"] | |
puts forecast["forecasts"][0] |
set nocompatible " Be iMproved | |
if has('vim_starting') | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
endif | |
call neobundle#rc(expand('~/.vim/bundle/')) | |
" Let NeoBundle manage NeoBundle | |
NeoBundleFetch 'Shougo/neobundle.vim' |
if exists("did_load_filetypes") | |
finish | |
endif | |
augroup filetypedetect | |
au BufRead,BufNewFile *.py setfiletype python | |
au BufRead,BufNewFile *.php,ctp :set dictionary=~/.vim/dict/php.dict filetype=php | |
au BufRead,BufNewFile *.twig set filetype=htmljinja | |
au BufRead,BufNewFile *.less set filetype=css | |
au BufRead,BufNewFile *.html set filetype=html | |
augroup END |
set cindent | |
set expandtab | |
set tabstop=4 | |
set shiftwidth=4 |
set expandtab | |
set tabstop=4 | |
set shiftwidth=4 |
alias vi='vim' | |
alias ll="ls -l" | |
#import git-prompt | |
source ~/.git-prompt.sh | |
#import git-completion.bash | |
source ~/.git-completion.bash | |
GIT_PS1_SHOWDIRTYSTATE=true | |
export PS1='\[\033[32m\]\u@\h\[\033[00m\]:\[\033[34m\]\W\[\033[31m\]$(__git_ps1)\[\033[00m\]\$ ' |
if has('vim_starting') | |
set nocompatible "vi互換解除 | |
" Required: | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
endif | |
"Required: | |
call neobundle#begin(expand('~/.vim/bundle/')) |
/* | |
* Mimic-GAS is a XML-RPC client for Google Apps Script ( based on mimic.js ) | |
* | |
* Change Log | |
* - Support (basic) authentication | |
* - Add handling response value as string when value type is not defined | |
* - Replace with class supported Google Apps Script | |
* ++ XmlHttpRequest -> UrlFetch | |
* ++ DOM -> Xml | |
* ++ Base64 -> Utilities.base64Encode/base64Decode |
FROM ruby:2.3.3 | |
ENV LANG C.UTF-8 | |
RUN curl -sL https://deb.nodesource.com/setup_7.x | bash - | |
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - | |
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs | |
RUN npm install -g typescript | |
ENV APP /app | |
RUN mkdir $APP | |
WORKDIR $APP | |
ADD Gemfile Gemfile |