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 perl | |
use strict; | |
use warnings; | |
use utf8; | |
binmode(STDIN,':utf8'); | |
binmode(STDOUT,':utf8'); | |
use File::Path; | |
# 参考 | |
# http://msyk.net/macos/jaguar-localize/ |
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
// vim:set fenc=utf-8 ff=unix ft=javascript: | |
/** | |
* @preserve | |
* ExponentialEndlessSummer.js for Reblog Machine | |
* https://gist.github.com/mamemomonga/6090387 | |
* from "Exponential Endless Summer 2014" by saitamanodoruji | |
* http://tumblr.g.hatena.ne.jp/saitamanodoruji/20140831/1409496698 | |
*/ | |
'use strict'; |
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
@echo off | |
rem --------------------------------------------------------------------------- | |
rem Windows7 x64 バッチファイルからcygwin64 PerlでHello World! | |
rem Shift_JIS(cp932)で保存すること | |
rem --------------------------------------------------------------------------- | |
set OPATH=%PATH% | |
set PATH=C:\cygwin64\bin;%PATH% | |
for /F "usebackq" %%s in (`cygpath -u %0`) do SET UPATH=%%s | |
perl -x -S %UPATH% %* |
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
@echo off | |
rem --------------------------------------------------------------------------- | |
rem Windows7 x64 バッチファイルからActive Perl(64bit)でHello World! | |
rem Shift_JIS(cp932)で保存すること | |
rem --------------------------------------------------------------------------- | |
set OPATH=%PATH% | |
set PATH=C:\Perl64\bin;%PATH% | |
perl -x -S %0 %* | |
goto endofperl | |
@rem '; |
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 perl | |
use strict; | |
use warnings; | |
use utf8; | |
use feature 'say'; | |
binmode(STDOUT,'utf8:'); | |
use DateTime; | |
my $domain=$ARGV[0] || ''; |
更新: 2016/02/29
Raspberry Pi 2のRaspbianを設定する モニタに接続せずシリアルケーブル接続での設定メモです。
Raspbian jessie liteを使う Raspbian
https://www.cygwin.com/ から setup-x86.exe (32-bit installation) を取得し、C:\cygwin\setup に入れる。
以下のコマンドをペースト
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
// ==UserScript== | |
// @name TumblrActivityThumbnailEnlarger | |
// @description Tumblr Activityページの「最新メモ」サムネイル画像が大きくなります | |
// @namespace https://gist.github.com/mamemomonga/11439dd4e20ed852ab78 | |
// @include http://www.tumblr.com/blog/*/activity | |
// @include https://www.tumblr.com/blog/*/activity | |
// @version 1.01 | |
// @grant none | |
// ==/UserScript== |
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 perl | |
# http://blog.mamemomonga.com/2016/05/lamp-php-debian8.html | |
use utf8; | |
use feature 'say'; | |
use strict; | |
use warnings; | |
binmode(STDOUT,':utf8'); | |
binmode(STDIN, ':utf8'); |