This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
CSV to Array using #include | |
*/ | |
#include <stdio.h> | |
int main(int argc, char *argv[]) | |
{ | |
/* echo '10,20,30,40,50' > hoge.csv */ | |
int hoge[] = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
TextFieldとMinimalCompsのVScrollBarで手っ取り早く | |
日本語が使えるスクロールバー付きTextFieldを作るサンプル | |
(MinimalCompsのTextAreaのソースコードを参考にしています) | |
*/ | |
package { | |
import flash.display.Sprite; | |
import flash.text.TextField; | |
import flash.text.TextFieldType; | |
import flash.events.Event; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
itunes_conv.js - iTunesの曲名を変換するスクリプト(Windows用) | |
[使い方] | |
(1) iTunesを開く | |
(2) 変換したい曲を選択(複数選択可) | |
(3) このスクリプトを実行(ファイルをダブルクリック | |
or コマンドプロンプトで wscript itunes_conv.js) | |
[参考] | |
http://www1.atwiki.jp/itunes/pages/26.html | |
http://d.hatena.ne.jp/prime503/20090914/1252883786 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Download the pdf files of Ubuntu Magazine Japanese vol.3 | |
## (URL http://ubuntu.asciimw.jp/elem/000/000/010/10231/) | |
require 'open-uri' | |
BASE_URL = 'http://ubuntu.asciimw.jp/elem/000/000/010/10231/' | |
PDF_URL_REG = /href="(koukai\/.+?.pdf)"/ | |
OUT_DIR = 'ubumaga_vol3' | |
html_body = '' | |
open(BASE_URL, 'r') { |f| html_body = f.read } |
NewerOlder