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
#!/usr/bin/env ruby | |
require 'fileutils' | |
require 'net/http' | |
require 'json' | |
block = { | |
1 => ['北海道', 'ik'], 2 => ['東北', 'hk'], 3 => ['関東甲信越', 'ak'], | |
4 => ['東海北陸', 'ck'], 5 => ['近畿', 'bk'], 6 => ['中国', 'fk'], | |
7 => ['四国', 'zk'], 8 => ['九州沖縄', 'lk'], 99 => ['全国', 'jk'] |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import shutil | |
import sys | |
import os | |
import subprocess | |
import json | |
import math | |
import re |
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
#!/bin/bash | |
CMDNAME=`basename $0` | |
dir_d="/mnt/d/ほげ" | |
dir_f="/mnt/f/ふが" | |
directory="$dir_f" | |
while getopts dfn: OPT | |
do | |
case $OPT in |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charaset="utf-8" /> | |
<title>高専ロボコンデータベース</title> | |
<meta http-equiv="Content-Style-Type" content="text/css"> | |
<style type="text/css"> | |
<!-- | |
.wrap{ | |
background: url(http://3.bp.blogspot.com/-xIvZovJ1qLk/WRaTaKHOP5I/AAAAAAABEQo/WktWXesekkoQ-BuFNkoXPgAD7YnhFTE5wCLcB/s800/machine_robot_contest.png); |
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
#!/bin/bash | |
vlc="/mnt/c/Program\ Files/VideoLAN/VLC/vlc.exe" | |
directory="tvrec" | |
lin_directory="/mnt/f/"$directory | |
win_directory="f:\\"$directory | |
src_ext="ts" | |
dst_ext="mp4" | |
files=$lin_directory"/*."$src_ext | |
#filearr=() |
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
<!-- -*- encoding: utf-8 -*- --> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<style type="text/css"> | |
html { height: 100% } | |
body { height: 100%; margin: 0px; padding: 0px } | |
</style> | |
<script type="text/javascript" charset="UTF-8"> | |
//<![CDATA[ |
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
<!-- -*- encoding: utf-8 -*- --> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<style type="text/css"> | |
html { height: 100% } | |
body { height: 100%; margin: 0px; padding: 0px } | |
</style> | |
<script src="http://maps.google.com/maps/api/js?v=3&sensor=false" | |
type="text/javascript" charset="UTF-8"></script> |