Skip to content

Instantly share code, notes, and snippets.

View buty4649's full-sized avatar

buty4649 buty4649

View GitHub Profile
@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 / 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
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 / akari.c
Created May 1, 2012 15:16
akari.cをわかりやすくしてみた (see. http://www.ioccc.org/2011/akari/hint.html)
// Don Yang
// <[email protected]>
// <http://uguu.org/>
#include<stdio.h>
int main(int n,char **m)
{
FILE *p,*q;
int A,k,a,r,i;
@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';