Skip to content

Instantly share code, notes, and snippets.

View ytaniike's full-sized avatar

Yasunori Taniike ytaniike

  • self running
  • Osaka, Japan
View GitHub Profile
@ytaniike
ytaniike / 256colors_w_numbers.pl
Created June 1, 2011 13:39
Convenient for setting up tmux and other terminal software.
#!/usr/bin/perl
# displays the 256 colors specified in tmux's "colourNN" way.
# June, 1st 2011 by Yasunori Taniike (@ytaniike).
use strict;
use warnings;
my $prefix_bl = "\x1b[38;5;0;48;5;";
my $prefix_wl = "\x1b[38;5;15;48;5;";
my $suffix = "\x1b[0m";
@ytaniike
ytaniike / emmet_part_in.vimrc
Created November 29, 2013 14:16
The emmet setting in my .vimrc
let g:user_emmet_settings = {
\ 'indentation' : ' ',
\ 'lang' : 'ja',
\ 'custom_expands' : {
\ '^\%(lorem\|lipsum\)\(\d*\)$'
\ : function('emmet#lorem#ja#expand'),
\ }
\ }