Skip to content

Instantly share code, notes, and snippets.

View buty4649's full-sized avatar

buty4649 buty4649

View GitHub Profile
@buty4649
buty4649 / itl2m3u.pl
Created February 18, 2012 16:54
iTunes Music Library to m3u Converter
#!/usr/bin/env perl
use strict;
use utf8;
use Mac::iTunes::Library::XML;
use Encode;
binmode STDOUT, ":utf8";
my $itunes = $ARGV[0] || die "Usage: itl2m3u <iTunes Directory>";
my $library = $ARGV[0] . '/iTunes Music Library.xml';
@buty4649
buty4649 / akari.c
Created May 1, 2012 15:16
akari.cをわかりやすくしてみた (see. http://www.ioccc.org/2011/akari/hint.html)
// Don Yang
// <omoikane@uguu.org>
// <http://uguu.org/>
#include<stdio.h>
int main(int n,char **m)
{
FILE *p,*q;
int A,k,a,r,i;
BoldAsFont=yes
Transparency=off
CursorType=block
Font=Ricty Meiryo
Term=xterm-256color
Locale=ja_JP
Charset=UTF-8
OpaqueWhenFocused=yes
BackspaceSendsBS=yes
Scrollbar=none
@buty4649
buty4649 / mcstartup.sh
Created February 23, 2013 04:00
Linux用マイクラサーバ起動スクリプト
#!/bin/sh
# mcstartup.sh - v1.00
#
# example directory tree:
# ROOT
# |-- bin
# | `-- mcstartup.sh
# |-- etc
# | |-- :
# | |-- server.log -> /dev/null
@buty4649
buty4649 / gist:5703264
Created June 4, 2013 02:55
Vimwikiでmarkdownを使う設定
" vimwikiをmarkdownにする
let g:vimwiki_list = [{'syntax': 'markdown', 'ext': '.md'}]
" アンダーライン見出しのシンタクスを追加
" 見出し1
" =======
"
" 見出し2
" -------
let s:bundle = neobundle#get("vimwiki")
@buty4649
buty4649 / keymap.txt
Created June 6, 2013 08:48
Google日本語入力のキーバインド
status key command
Conversion Backspace Cancel
Composition Backspace Backspace
Precomposition Backspace Revert
Conversion Ctrl Backspace Cancel
Composition Ctrl Backspace Backspace
Precomposition Ctrl Backspace Undo
Prediction Ctrl Delete DeleteSelectedCandidate
Composition Ctrl Down MoveCursorToEnd
Conversion Ctrl Down CommitOnlyFirstSegment
@buty4649
buty4649 / sakura.vim
Last active November 1, 2018 05:34
サクラエディタ風のカラースキーム
" Vim color file
" Maintainer: Your name <youremail@something.com>
" Last Change:
" URL:
" cool help screens
" :he group-name
" :he highlight-groups
" :he cterm-colors
" ---------------------------------------------------------
" GUI設定
" ---------------------------------------------------------
" メニューの文字化け対策
source $VIMRUNTIME/delmenu.vim
set langmenu=ja_JP.utf-8
source $VIMRUNTIME/menu.vim
" カラースキーム設定
set t_Co=256
@buty4649
buty4649 / stylish_compact_tweetdeck.css
Last active January 4, 2016 05:59
TweetDeckブラウザ版のコンパクト化
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("tweetdeck.twitter.com") {
/* Sidebar */
.app-header.is-condensed {
width : 24px !important;
}
.app-header.is-condensed .app-header-inner {
width : 24px !important;
padding : 5px 0 0 !important;
" おまじない
set runtimepath=~
loadplugins
" 基本的な設定 ============================================
" ブラウザのタイトル
set titlestring=Firefox