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
$ xgettext -L PHP *.php includes/*.php -p languages/zh-Hant-TW/LC_MESSAGES -n --default-domain=default --from-code=UTF-8 |
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 | |
$path = '/path/to'; | |
foreach(scandir($path) as $file) { | |
if (substr($file, -5) === '.json') { | |
$path2 = "$path/$file"; | |
file_put_contents($path2, shell_exec("cat $path2 | python -m json.tool")); | |
} | |
} | |
?> |
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
<iframe id="_if1" scrolling="no" style="width : 100%" ></iframe> | |
<script> | |
(function() { | |
var oIf = document.getElementById('_if1'), | |
win = oIf.contentWindow, | |
doc = win.document; | |
doc.write('<html><head></head><body><script src="http://postpet.jp/webmail/blog/clock_v1_moco.js" ></sc' + 'ript><body></html>'); | |
if(doc.all) { | |
var scArr = doc.getElementsByTagName('script'), |
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
<iframe id="_if2" scrolling="no" style="width : 100%" ></iframe> | |
<script> | |
(function() { | |
var oIf = document.getElementById('_if2'), | |
win = oIf.contentWindow, | |
doc = oIf.contentWindow.document; | |
doc.write('<html><head></head><body><script src="http://www.lucido-l.jp/blogparts/parts.js" ></sc' + 'ript>'); | |
if(doc.all) { |
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
<iframe id="_if3" scrolling="no" style="width : 100%" ></iframe> | |
<script> | |
(function() { | |
var oIf = document.getElementById('_if3'), | |
win = oIf.contentWindow, | |
doc = oIf.contentWindow.document; | |
doc.write('<html><head></head><body><script> google_ad_client = "pub-1821434700708607"; google_ad_slot = "8156194155"; google_ad_width = 200; google_ad_height = 200; </sc' + 'ript><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></sc' + 'ript>'); | |
if(doc.all) { |
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
<html> | |
<head> | |
</head> | |
<body> | |
<script> | |
var i, | |
max = 10000000; | |
for(i = 0; i < max; ++i); | |
This file has been truncated, but you can view the full file.
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
/// <loc filename="Metadata\ui_loc_oam.xml" format="messagebundle" /> | |
/*! | |
© Microsoft. All rights reserved. | |
This library is supported for use in Windows Store apps only. | |
Build: 1.0.9200.20498.win8_ldr.120817-1716 | |
Version: Microsoft.WinJS.1.0 | |
*/ |
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() { | |
var arr = ['log', 'error', 'info', 'warn', 'trace'], | |
n = arr.length; | |
for(var i = 0; i < n; ++i) { | |
(function(k) { | |
var f = console[k]; | |
console[k] = function() { | |
var arr = Array.prototype.slice.call(arguments); |
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
<script src="http://www.google-analytics.com/ga.js" ></script> | |
<script> | |
try { | |
var pageTracker = _gat._getTracker('UA-6851063-1'); | |
pageTracker._trackPageview(); | |
} catch(e) {} | |
</script> | |
<form action="http://www.google.com.tw/cse" target="_blank" style="margin : 10px 0" > | |
<input type="hidden" name="cx" value="partner-pub-1821434700708607:3830778188" > |
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
<div id="target" ></div> | |
<script> | |
var google_ad_client = 'ca-pub-1821434700708607', | |
google_ad_slot = '2826960791', | |
google_ad_width = 728, | |
google_ad_height = 90; | |
(function() { | |
var w = document.write; | |