This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
#! /usr/bin/env python | |
""" Convert values between RGB hex codes and xterm-256 color codes. | |
Nice long listing of all 256 colors and their codes. Useful for | |
developing console color themes, or even script output schemes. | |
Resources: | |
* http://en.wikipedia.org/wiki/8-bit_color | |
* http://en.wikipedia.org/wiki/ANSI_escape_code |
let s:hook = { | |
\ 'kind': 'hook', | |
\ 'name': 'bundler', | |
\ } | |
function! s:hook.on_module_loaded(session, context) | |
if a:session.config.type !=# 'ruby' | |
return | |
endif | |
if !executable('bundle') |
(eval-when (:compile-toplevel :load-toplevel :execute) | |
(require 'xml-http-request) | |
(require 'json)) | |
(defpackage :wandbox | |
(:use :lisp :editor)) | |
(in-package "wandbox") | |
(export '(post-wandbox-region post-wandbox post-wandbox-string show-compiler-list show-compiler-options)) | |
カプリチョーザ 新宿ワシントンホテル店 - 都庁前/イタリアン [食べログ] --------
http://tabelog.com/tokyo/A1304/A130401/13011945/
コーヒーがうまい。
http://tabelog.com/tokyo/A1310/A131004/13110601/
なんと激ウマな牛丼もあるらしい。
" This is a port of CC500 | |
" http://homepage.ntlworld.com/edmund.grimley-evans/cc500/ | |
" | |
"------------------------------------------------------------------------------- | |
" ORIGINAL HEADER | |
"------------------------------------------------------------------------------- | |
" Copyright (C) 2006 Edmund GRIMLEY EVANS <edmundo@rano.org> | |
" | |
" This program is free software; you can redistribute it and/or modify | |
" it under the terms of the GNU General Public License as published by |
定番、および比較的最近の学習リソースを集めてみました (2015/2)。
See https://github.com/romainl/vim-rnb for an up-to-date version.
# Thanks to commenters for providing the base of this much nicer implementation! | |
# Save and run with $ python 0dedict.py | |
# You may need to hunt down the dictionary files yourself and change the awful path string below. | |
# This works for me on MacOS 10.14 Mohave | |
from struct import unpack | |
from zlib import decompress | |
import re | |
filename = '/System/Library/Assets/com_apple_MobileAsset_DictionaryServices_dictionaryOSX/9f5862030e8f00af171924ebbc23ebfd6e91af78.asset/AssetData/Oxford Dictionary of English.dictionary/Contents/Resources/Body.data' | |
f = open(filename, 'rb') |