unzip 6.0 で Shift_JIS などの日本語ファイル名を含む zipファイルを展開する為の patch です。
Ubuntu に入っていた unzip 5.52 用のpatchを移植、改変したものです。オリジナルの patch はこちら:
http://archive.ubuntulinux.jp/ubuntu-ja/intrepid-ja/unzip_5.52-11ubuntu1.1ja1.diff.gz
unzip 6.0 で Shift_JIS などの日本語ファイル名を含む zipファイルを展開する為の patch です。
Ubuntu に入っていた unzip 5.52 用のpatchを移植、改変したものです。オリジナルの patch はこちら:
http://archive.ubuntulinux.jp/ubuntu-ja/intrepid-ja/unzip_5.52-11ubuntu1.1ja1.diff.gz
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>h5</title> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.js"></script> | |
| <script src="exif.js"></script> | |
| <style> | |
| #holder { border: 1px dashed #ccc; width: 100px; height: 100px; margin: 20px auto;} | |
| #holder.hover { border: 1px dashed #333; } | |
| #result .property { width: 100px; } |
| // REFERENCE UNICODE TABLES: | |
| // http://www.rikai.com/library/kanjitables/kanji_codes.unicode.shtml | |
| // http://www.tamasoft.co.jp/en/general-info/unicode.html | |
| // | |
| // TEST EDITOR: | |
| // http://www.gethifi.com/tools/regex | |
| // | |
| // UNICODE RANGE : DESCRIPTION | |
| // | |
| // 3000-303F : punctuation |
| Regex for matching ALL Japanese common & uncommon Kanji (4e00 – 9fcf) ~ The Big Kahuna! | |
| ([一-龯]) | |
| Regex for matching Hirgana or Katakana | |
| ([ぁ-んァ-ン]) | |
| Regex for matching Non-Hirgana or Non-Katakana | |
| ([^ぁ-んァ-ン]) | |
| Regex for matching Hirgana or Katakana or basic punctuation (、。’) |
| (function() { | |
| Tombloo.Service.extractors.register({ | |
| name : 'Photo - Danbooru', | |
| ICON : 'http://danbooru.donmai.us/favicon.ico', | |
| URL : 'http://danbooru.donmai.us/', | |
| check : function(ctx) { | |
| const DANBOORU_LIKE_SITES = [ | |
| '://danbooru.donmai.us/post/show/', | |
| '://yande.re/post/show/', | |
| '://konachan.com/post/show/', |
| <?php | |
| function rgicgier_pagination($query = null) { | |
| if ( !$query ) { | |
| global $wp_query; | |
| $query = $wp_query; | |
| } | |
| $big = 999999999; // need an unlikely integer | |
| $pagination = paginate_links( array( |
| import json | |
| import glob | |
| files = glob.glob('*.js') | |
| data = {} | |
| for f in files: | |
| file = open(f) | |
| _ = file.readline() | |
| data[f] = json.loads(file.read()) |
| #!/bin/bash | |
| # | |
| # Download images from a Wikimedia Commons category | |
| # | |
| # Highest preview resolution and metadata in XML format will be saved in subfolders. | |
| # Usage: execute this script on a Linux command line, providing the full URL to the category page. | |
| # | |
| # Shell tools required for this script: wget sed grep | |
| # |
| import urllib2 | |
| import json | |
| from sys import argv | |
| from bs4 import BeautifulSoup | |
| import StringIO | |
| import gzip | |
| import sh | |
| import zlib | |
| url = "http://metasearch.torrentproject.com/torrenttojson4.php?site=kat.cr&search={}&output=json".format('%20'.join(argv[1:])) |