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
yum erase perl-Git |
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
cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages | |
git clone %filltext:name=pkgaddress:default=% |
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
insert = '展開したいテキスト' | |
# 出力 → ここに展開したいテキストをいれます。 | |
ex1 = """ | |
ここに#{insert}をいれます。 | |
""" | |
console.log(ex1); |
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
// ファイル名の指定 | |
$readFile = "example.xlsx"; | |
// 連想配列でデータ受け取り | |
$data = readXlsx($readFile); | |
// 出力確認 | |
print '<pre>'; | |
var_dump($data); |
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
# パスはここに書く 相対パスは試してないけどいけるかな? | |
targetFile = "/PHP/logs/php_error.log" | |
# ファイルの読み込み | |
fs = require("fs") | |
exec = require('child_process').exec | |
# ファイルを監視 |
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
ContentObj.setEventBrowswerBack = function() { | |
window.onpageshow = function() { | |
if (event.persisted) { | |
location.reload(); | |
} | |
}; | |
}; | |
// イベントセット |
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
// ------ YUIのフォントサイズ指定変数 | |
// ex) font-size: $fs10; | |
// Output→ font-size: 77%; | |
$fs8: 63%; | |
$fs9: 70%; | |
$fs10: 77%; | |
$fs11: 85%; | |
$fs12: 93%; | |
$fs13: 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
// 最大ファイルアップロード数を30に設定する | |
max_file_uploads = 30; |
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 | |
// Excelシート番号 | |
define('XLS_META', 0); // 今回使うシート | |
define('XLS_SNS', 1); | |
define('XLS_ITEM_LIST', 2); | |
// ----------------- 呼び出し | |
$scriptName = $_SERVER[“SCRIPT_NAME”]; | |
$scriptName = '/index.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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<meta http-equiv="Content-Style-Type" content="text/css" /> | |
<meta http-equiv="Content-Script-Type" content="text/javascript" /> | |
<title>トップ</title> | |
<meta name="keywords" content=“fugafuga1” /> | |
<meta name="description" content=“hoge100” /> | |
</head> |
OlderNewer