Skip to content

Instantly share code, notes, and snippets.

View code404's full-sized avatar

Shinya.K code404

View GitHub Profile
@code404
code404 / Transcoding_iPhone5.ini
Created November 11, 2012 17:43
iPhone5に最適化したMP4(H264,AAC)へ変換します。マルチスレッドで動作し、NeroAacEncとNicMP4Boxを使用しますので注意してください。また、変換完了後自動的にiTunesに登録をしません。
[Info]
Title=機種別設定:MP4ファイル, iPhone5向け設定
TitleE=Model: MP4, for iPhone5
Description=iPhone5に最適化したMP4(H264,AAC)へ変換します。マルチスレッドで動作し、NeroAacEncとNicMP4Boxを使用しますので注意してください。また、変換完了後自動的にiTunesに登録をしません。
DescriptionE=Convert to MP4(H264,AAC) for iPhone5 movies. Caution, using NeroAacEnc and NicMP4Box, and behavior multithread processing. Not adding iTunes library when done.
[Item0]
Title=【お手軽変換 16:9 QB】640x360 / 48kHz 96Kbps
TitleE=【Facile 16:9 QB】640x360 / 48kHz 96Kbps
@code404
code404 / カウントダウン
Created July 30, 2012 20:41
AviUtl拡張編集のテキストオブジェクトに貼り付けて使うカウントダウン。コメントアウトしてる方を使えば分表示も可能。
<?
t=obj.totaltime-obj.time
s=math.floor(obj.track0*100*3/4)
mes(string.format("%d.<s"..s..">%02d",t,(t*100)%100))
--mes(string.format("%02d:%02d.<s"..s..">%02d",t/60,t%60,(t*100)%100))
?>
@code404
code404 / カウントタイマー
Created July 30, 2012 18:24
AviUtl拡張機能用のカウントダウン/アップを表示するカスタムオブジェクト。時間を扱うので進行速度は一定。カウント目的のため分までしか表示なし。拡張子をobjにして使用。
--track0:サイズ,1,256,34
--track1:表示形式,0,5,0,1
--track2:ダウン/アップ,0,1,0,1
--check0:小数点以下小文字,1
--dialog:フォント名,font="MS UI Gothic";文字色/col,col1=0xffffff;影・縁色/col,col2=0x000000;装飾タイプ,deco=0;
-- 0=2.23 1=02.23 2=00:02.23 3=2 4=02 5=00:02
if(math.floor(obj.track2) >= 1) then
sec = obj.time
@code404
code404 / userChrome.css
Created April 12, 2011 20:43
userChrome.css: UI - UI Delete
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/* Firefox 4 メニューボタンを非表示にする
#appmenu-button-container {
display: none;
}
*/
/* 最小化、最大化、閉じるを消す */
#titlebar-min,
@code404
code404 / userChrome.css
Created April 12, 2011 20:41
userChrome.css: UI - UI Fix
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/* ロケーションバーにフォーカス時IMEをオフにする */
#urlbar *|input {
ime-mode: inactive !important;
}
/* 検索バーの右側に履歴を出すボタンを表示
#searchbar .autocomplete-history-dropmarker {
display: -moz-box;
@code404
code404 / Google_PageRank.user.js
Created April 10, 2011 17:44
Google PageRank: Displays pagerank in web search results of Google.
// ==UserScript==
// @name Google PageRank
// @description Displays pagerank in web search results of Google.
// @version 3.1.0
// @author Shinya <code404sk@gmail.com>
// @contributor
// @namespace http://code404.org/
// @homepage http://userscripts.org/scripts/show/11216
// @id Google-Pagerank@code404.org
// @run-at document-end
@code404
code404 / user.js
Created April 2, 2011 23:34
user.js: Overrides Firefox core config file.
//=========================================================================
// Firefox 4.0.* 用
//=========================================================================
//=========================================================================
// ユーザーインターフェイス
//=========================================================================
// 起動時に既定のブラウザであるかを確認するか [true]
@code404
code404 / Google_Result_Numbers.user.js
Created March 30, 2011 03:49
Google Result Numbers: Adds a number in turn to web search results of Google.
// ==UserScript==
// @name Google Result Numbers
// @description Adds a number in turn to web search results of Google.
// @version 2.1.0
// @author Shinya <code404sk@gmail.com>
// @contributor
// @namespace http://code404.org/
// @homepage http://userscripts.org/scripts/show/11213
// @id Google-Result-Numbers@code404.org
// @run-at document-end