- 脇や股間といったニオイが気になるところ以外はお湯でザザっと流すくらいでいいのでは
- 夏場はTシャツで通勤して会社のトイレで着替えると吉
- たまに禁酒すると体の軽さを実感できる
- 2年放置しているものは潔く捨てる。必要になったら買えばいい
- 折りたたみ傘よりもカッパのほうがかさばらないし捨てやすい
- ゾロ目のナンバープレートは地雷なので車間距離を開けた方がいい
- スーツで手ぶらは無職に見える
- 単語を全角スペースで区切り、ハンカクカタカナを使い、感嘆符が絵文字の人は地雷の可能性が高い
- 少しゆっくり歩くと相手は自分をよけてくれる
- 満員電車から降りるときは一言「おります」と言えば無駄な争いが起こらない
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
{ | |
"manifest_version": 2, | |
"name" : "meta refresh blocker", | |
"version" : "0.1", | |
"description" : "meta refresh タグを無効にする拡張です。", | |
"content_scripts" : [{ | |
"matches" : ["*://*/*"], | |
"run_at" : "document_idle", | |
"all_frames" : true, | |
"js" : [ "metarefreshblocker.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
function _trsja_(){ | |
google.load('language','1',{'callback':function(){ | |
var d=document,w=window,b=d.createElement('input'); | |
b.type='button'; | |
b.value='日→英翻訳'; | |
b.style.zIndex=99; | |
b.style.position='fixed'; | |
b.style.top='2em'; | |
b.style.left='50%'; | |
b.style.display='block'; |
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
あ-----!! | |
あ、新記録 | |
あぁあぁんあんあ | |
ああっ!! う~!! あっ!! ああっ!! | |
ああ~!! | |
あいいぎあが!あがががが~ | |
あいうえ痛だだだ!!! | |
あいぎゃげへえ!! ぶげぎい ばぼぶべっべっ はぱあほえ! | |
あいてててっ、てはっ! | |
あいとわ!!! |
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
<?php | |
// 参考 : https://msdn.microsoft.com/ja-jp/vba/powerpoint-vba/articles/slide-object-powerpoint | |
// パワーポイントファイル名 | |
$filename = __DIR__ . "/data/test.pptx"; | |
// COM インスタンス生成 | |
$ppt_app = new \COM("PowerPoint.Application"); |
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
@charset "utf-8"; | |
body{ | |
margin:0; | |
padding:0; | |
} | |
img{ | |
max-width: 100%; | |
} |
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
<p> | |
<input type="text" name="text" id="id_text_20171201" value="" placeholder="message" /> | |
<button onclick="send2line();">LINEに送る</button> | |
</p> | |
<script> | |
function send2line(){ | |
var text = document.getElementById("id_text_20171201").value; | |
if (text === "") { | |
alert("テキストが未入力です。"); | |
} else { |
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
option Explicit | |
dim doc, jsonStr, js, elm | |
set doc = CreateObject("htmlfile") | |
jsonStr = "{""user"":{""id"":""mgng"", ""name"": ""ムグ""}}" | |
js = _ | |
"var json = " & jsonStr & ";" & _ | |
"var div = document.createElement('div');" & _ | |
"div.setAttribute('id', 'id_elm');" & _ |
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
<?php | |
$app_id = 'あなたのapp ID'; | |
$app_secret = 'あなたのapp secret key'; | |
$my_url = 'あなたのapp url'; | |
$code = isset($_GET['code']) ? $_GET['code'] : ''; | |
if ( $code === '' ) { | |
$dialog_url = "http://www.facebook.com/dialog/oauth?client_id={$app_id}&scope=read_stream&redirect_uri=".urlencode($my_url); |
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
<?php | |
// エクセルファイルを zip として処理 | |
$zip = new ZipArchive(); | |
$zip->open( 'test.xlsx' ); | |
// 1シート目のxml取得 | |
$xml_sheet = simplexml_load_string( $zip->getFromName( 'xl/worksheets/sheet1.xml' ) ); | |
// sharedStrings.xml を取得 |