From http://coliss.com/articles/build-websites/operation/work/mobile-ui-collections-2014.html
View file0.txt
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
M-x japanese-hankaku-region | |
M-x japanese-zenkaku-region |
View garoon-emphasize.user-script.js
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 garoon emphasize | |
// @namespace https://github.com/yosshi/garoon-emphasize | |
// @description garoon に表示されている文字を強調するためのスクリプト | |
// @include // garoon の URL | |
// @exclude | |
// ==/UserScript== | |
(function() { |
View gist:5002131
dos2unix をインストール(Mac)
brew install dos2unix
find コマンドで置換
find ./* -name "*.rb" -exec dos2unix {} ;
View gist:4104729
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
% hadoop jar /usr/local/Cellar/hadoop/1.0.4/libexec/hadoop-examples-1.0.4.jar pi 10 200000 | |
Number of Maps = 10 | |
Samples per Map = 200000 | |
12/11/18 20:43:33 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable | |
Wrote input for Map #0 | |
Wrote input for Map #1 | |
Wrote input for Map #2 | |
Wrote input for Map #3 | |
Wrote input for Map #4 | |
Wrote input for Map #5 |
View id333903271.html
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 lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="keywords" content="iTunes Store" /><meta name="description" content="iTunes Store" /><meta name="viewport" content="width = device-width, initial-scale = 1, minimum-scale = 1, maximum-scale = 1, user-scalable = no" /><meta name="platform-cache-id" content="16" /> | |
<title></title> |
View ffmpeg_baisoku.sh
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/sh | |
ffmpeg -i IMGP8692.AVI -s 1280x720 -r 10.1 hoge.yuv | |
ffmpeg -s 1280x720 -r 29.97 -i hoge.yuv hoge.mp4 |
View gist:1185237
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
# 後で整理する | |
git pull | |
./autogen.sh | |
./configure --with-ns --without-x | |
make | |
make install | |
cp -r ./nextstep/Emacs.app /Applications/Emacs24.app |
View chrome
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 | |
# user agent | |
IPHONE='Mozilla/5.0 (iPhone Simulator; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7' | |
XPERIA="Mozilla/5.0 (Linux; U; Android 1.6; ja-jp; SonyEricssonSO-01B Build/R1EA018) AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2 Mobile Safari/525.20.1" | |
IS04="Mozilla/5.0 (Linux; U; Android 2.1-update1; ja-jp; IS04 Build/FEK100) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Mobile Safari/530.17" | |
ANDROID=$IS04 | |
EZWEB="KDDI-XX99 UP.Browser/6.2_7.2.7.1.K.8.400 (GUI) MMP/2.0" | |
GALAXY="Mozilla/5.0 (Linux; U; Android 2.3.3; ja-jp; SC-02B Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1" | |
View twitter_reverse_post.rb
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
$KCODE='u' | |
require 'rubygems' | |
require 'twitter' | |
chars = ARGV[0].scan(/./) | |
TWITTER_USER='' | |
TWITTER_PASS='' | |
status = chars.reverse.join |
NewerOlder