- 更新
2014-04-10
- バージョン
0.2.1
- 作者
@voluntas
- URL
reltool 周りについて勉強がてらまとめてみました
" Language: Colored CSS Color Preview | |
" Maintainer: Niklas Hofer <niklas+vim@lanpartei.de> | |
" URL: svn://lanpartei.de/vimrc/after/syntax/css.vim | |
" Last Change: 2008 Feb 12 | |
" Licence: No Warranties. Do whatever you want with this. But please tell me! | |
" Version: 0.6 | |
function! s:FGforBG(bg) | |
" takes a 6hex color code and returns a matching color that is visible | |
let pure = substitute(a:bg,'^#','','') |
// ==UserScript== | |
// @name sumally-add-via-link | |
// @namespace swdyh | |
// @include http://sumally.com/* | |
// @version 0.0.1 | |
// ==/UserScript== | |
document.addEventListener('DOMNodeInserted', function(ev) { | |
if (ev.target && ev.target.className == 'oneblock') { | |
addVia(ev.target) |
" Evernote Clearly: Clipper: Clip: " {{{ | |
" Evernote Clearly :: Add-ons for Firefox | |
" https://addons.mozilla.org/ja/firefox/addon/clearly/ | |
" Evernote Web Clipper :: Add-ons for Firefox | |
" https://addons.mozilla.org/ja/firefox/addon/evernote-web-clipper/ | |
" Clearly (toggle) | |
nnoremap e :<C-u>js __readable_by_evernote.__readable_by_evernote__launch(false)<CR> | |
" Clip to Evernote | |
nnoremap E :<C-u>js __readable_by_evernote.__readable_by_evernote__launch(true)<CR> |
open Spotlib.Spot | |
open GapiUtils.Infix | |
open GapiLens.Infix | |
open GapiLens.StateInfix | |
open GapiMonad.SessionM | |
module OAuth2 = GapiOAuth2 | |
module Conv = GapiConversation | |
module Service = GapiService |
" vim:set sts=2 sw=2 tw=0 et: | |
scriptencoding utf-8 | |
function! s:IsEnable() | |
" Check version (and patch) | |
if !(v:version == 703 && has('patch1248') || v:version >= 704) | |
return 0 | |
end | |
" Check python |
# DOCKER-VERSION 0.6 | |
FROM ubuntu:precise | |
MAINTAINER Mark McIntyre, m@mgm.io | |
# Install HHVM | |
RUN echo deb http://dl.hhvm.com/ubuntu precise main >> /etc/apt/sources.list | |
RUN echo deb http://archive.ubuntu.com/ubuntu precise main universe >> /etc/apt/sources.list | |
RUN apt-get update |
2014-04-10
0.2.1
@voluntas
reltool 周りについて勉強がてらまとめてみました
2014-03-05
0.1.1
@voluntas
概要
relx コトハジメ の内容を把握している読者を想定しています。
Dockerイメージなどを開発環境にしていると、なるべく実際に動く環境に近いような動作環境でテストしたくなります。
一方で、開発環境というのはなるべく手間なく勝手にコンパイルやテストが走ったり、変更点を勝手にリロードしてほしいものです。
relx を使ってリリースイメージに近いような環境でソフトウェアを起動しつつ、 sync を使って自動コンパイル&リロードする環境を作ろうというのがこの記事の趣旨です。
http { | |
include /etc/nginx/mime.types; | |
default_type application/octet-stream; | |
log_format ltsv 'domain:$host\t' | |
'host:$remote_addr\t' | |
'user:$remote_user\t' | |
'time:$time_local\t' | |
'method:$request_method\t' | |
'path:$request_uri\t' |