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
package main | |
import ( | |
"net/http" | |
"github.com/go-martini/martini" | |
"encoding/json" | |
"appengine" | |
"appengine/urlfetch" | |
) |
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
/* | |
省略 | |
*/ | |
//JavaScript内でアクセスしに行くドメインを定義 | |
String domain = "http://test.ekos.biz/"; | |
//第1引数のbaseUrlにドメインを指定 | |
webview.loadDataWithBaseURL( domain , htmlString, "text/html", "UTF-8", null ); |
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
WebView webview; | |
String htmlString = "<script>"+ | |
"httpObj = new XMLHttpRequest();"+ | |
"httpObj.open('GET', 'http://test.ekos.biz/android_loadDataWithBase.txt', false);"+ | |
"xmlHttp.send(null);"+ | |
"document.write(xmlHttp.responseText);"+ | |
"</script>"; | |
webview = (WebView)findViewById(R.id.webView);//layoutのWebView参照 | |
webview.getSettings().setJavaScriptEnabled(true); | |
webview.loadDataWithBaseURL( null, htmlString, "text/html", "UTF-8", null ); |
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 | |
$processUser = posix_getpwuid(posix_geteuid()); | |
print $processUser['name']; |
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
nohup /bin/sh /path/to/cake/app/Console/Command/cake -app /path/to/cake/app HogeHoge >/dev/null 2>&1 & |
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
nohup /bin/sh /path/to/cake/app/Console/Command/cake -app /path/to/cake/app HogeHoge & |
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
/usr/bin/php /path/to/cake/app/Console/Command/cake.php HogeHoge -app /path/to/cake/app & |
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
ALTER TABLE hogehoge ALGORITHM = COPY, AUTO_INCREMENT= 10; |
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
ALTER TABLE hogehoge ENGINE = MyISAM; | |
ALTER TABLE hogehoge AUTO_INCREMENT = 10; | |
ALTER TABLE hogehoge ENGINE = InnoDB; |
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
ALTER TABLE hogehoge AUTO_INCREMENT = 10; |
NewerOlder