1. Google Chrome のショートカットを作成する 2. 右クリック → プロパティを開く 3. コマンド(Windowsはリンク先)の末尾に --user-agent="{userAgent}" を追加する。 iPhoneの場合は --user-agent="Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_0 like Mac OS …
会社の偉い人に「CSSだけでガンダムを描け」と言われたのですが、CSS3は初めてなのでこれで許してください。 画像を一切使わずにCSS3だけでドラえもんを描いてみた を参考にしました。 デモページを開く # Firefox 3.5.x 以上と Chrome 以外で見ると悲しいこ…
...と、m2ymさんが怒ってたので このうざいやつ↓ を消すグリモンです インストール // ==UserScript== // @name Google Navi Remover // @namespace // @description // @author bugiugi // @version v0.1.1 : 2010.05.07 // @include *google.co.jp/search*…
印刷時、<fieldset>〜</fieldset>を使っている箇所がページをまたぐと枠線が崩れたり中身が欠けたりするバグがあるので <div> を使ってCSSで再現した。 ■HTML <div class="sub-category"> <div class="sub-category-title"> Size </div> <div class="sub-category-body"> Width:<input type="text" value="100" size="4" />< br /> Height:</div></div></div>
javascript:(function(){var num=prompt("Ticket Number");if(num){window.location.href=location.href+"&pct-off="+num+"-";}})();; 1. Amazon.co.jpの検索エリアにて、セレクトボックスからジャンルを選ぶ 2. キーワードは空欄で[Go]を押下 3. 表示された…
position: relative; width: auto; height: auto; overflow-y: visible; overflow-x: visible; あやしい親ブロックに * で適用させてシラミつぶし。
※ああああああああああああああああああああああああああああああああああああああああああああああああああああああ ↓ ※ああああああああああああああああああああああああああああああああああああああああああああああああああああああ .hoge { text-inde…
指定無し <input type="file">size="30" <input type="file" size="30"/>width:300px <input type="file" style="width:300px"/>size="30" width:300px <input type="file" size="30" style="width:300px"/>Firefoxにはstyleでのwidth指定が反映されないので、IEと揃えたい場合は「size」を使う。
※事前にfirefoxが立ち上がっていない状態にしておく $ firefox -profilemanagerprofilemanagerでprofile作成する。 作成したらfirefoxを起動させずにprofilemanagerを終了。 それぞれのprofileでfirefoxを起動。 $ firefox -P [profile name] -no-remote# de…
1024×768 javascript:void(resizeTo(1024,768));現在のウインドウサイズを知りたいとき javascript:alert(window.outerWidth + %22×%22 + window.outerHeight);
[システム]-[システム管理]-[制限付きドライバの管理]-[NVIDIAの高性能グラフィックドライバ] 有効にする。再起動して、[制限付きドライバを有効にするにはここをクリック]。
/etc/X11/xorg.conf Section "Monitor" HorizSync 1.0-10000.0 VertRefresh 1.0-10000.0 Section "Screen" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1600x1200" "1400x1050" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSect…
1から100までの数をプリントするプログラムを書け。ただし3の倍数のときは数の代わりに「Fizz」と、5の倍数のときは「Buzz」とプリントし、3と5両方の倍数の場合には「FizzBuzz」とプリントすること。 <html> <head> <title>FizzBuzz</title> <script type="text/javascript"> </head></html>
IME>ツール>プロパティ全般>入力設定>スペースの入力を「常に半角」
USB携帯充電器 (99円ショップ) 赤外線LED×2 (千石電商) 抵抗 100Ω 配線用モール (東急ハンズ)
Firefox:センタリングしたい要素に margin:0 auto; IE:センタリングしたい要素の"親"要素に text-align:center;=> センタリングしたい要素の"親"要素に margin:0 auto; text-align:center;※子要素もセンタリングされてしまうので text-align:left; ※Firefo…
cgi実行ファイルとして扱う AddHandler cgi-script htaccess全てのホストからの接続を拒否 <Files ~ "^\.ht"> order allow,deny deny from all satisfy all </Files>
" → " & → & < → < > → > → space © → ©
.htaccess ErrorDocument 404 http://hogehoge/err/404.shtml ErrorDocument 500 http://hogehoge/err/500.shtml ErrorDocument 403 http://hogehoge/err/403.shtml
<meta name="robots" content="noindex,nofollow"></meta>
.htaccess AuthUserFile /home/hoge/.htpasswd AuthGroupFile /dev/null AuthName "Please enter your ID and password" AuthType Basic require valid-userアスキーモードでアップロード xreaの場合 AuthUserFile /virtual/XREAのID/.htpasswd
1. FLV Splitterとffdshowをインストール - AX(またはDLL)ファイルのインストール - システムフォルダ [ C:\WINDOWS\system32 ] にAXファイルをコピーします。 - 「ファイル名を指定して実行」。 - インストール: "regsvr32 FLVSplitter.ax" - アンインストー…
javascript:(function(){if(document.body.innerHTML.match(/\/player2\.swf\?([^\%22]+)\%22/))location.href='http://youtube.com/get_video?'+RegExp.$1})();
http://dslinux.org/ Downloadsから「dslinux.nds」をDL。
1. sudo apt-get moo2. アプリケーションの実行で free the fish
fuga@hoge:/~$ sudo gedit /boot/grub/menu.lstOSを並び替える。