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
(「GitHubプライベートリポジトリ」と書きましたが、SSH鍵認証でGITを運用してる場合も同じだと思います。) | |
プライベートリポジトリの場合、SSH鍵認証での接続になると思いますが、Jenkins管理画面にはその設定(鍵の登録)項目がありません。 | |
そこで、Jenkins実行サーバのJenkins実行ユーザにSSHの設定をする必要があります。 | |
1. Jenkins実行サーバにてJenkinsユーザになり、SSHキーを生成する。`ssh-keygen -t rsa` | |
2. 生成した公開鍵をGithubアカウント管理画面で登録する。 |
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
php53だけでなく、php53-develをインストールしないと、その他のphpライブラリ(php-mysqlなど)を入れるときに、以下のメッセージが出て、失敗する。 | |
-- | |
php53-common-5.3.3-13.el5_8.x86_64 from installed has depsolving problems | |
--> php53-common conflicts with php-common | |
Skip-broken could not solve problems | |
Error: php53-common conflicts with php-common | |
You could try running: package-cleanup --problems | |
package-cleanup --dupes | |
rpm -Va --nofiles --nodigest |
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
VirtualDocumentRootではCakePHPのModRewriteが無限ループに陥る。 | |
これを防ぐために、.htaccessに以下の設定が必要 | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / |
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
# iOSの場合 | |
iOSからOTA形式でアプリをダウンロドする時は最初に、HEADリクエストが来てその後にPOSTリクエストが来る。 | |
# Andoroidの場合 | |
androidno場合はGETリクエスが2回来る。(2回目のGETリクエストでダウンロードが始まる) |
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
public MainActivityTest() { | |
super(MainActivity.class); | |
} |
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
load data local infile 'text.csv' INTO table load_test FIELDS terminated by ',' enclosed by '"' escaped by '"'; |
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
//ページ内のatagのhrefを全部取得 | |
async function getAtagHref(url) { | |
let outputs = []; | |
const puppeteer = require('puppeteer'); | |
const browser = await puppeteer.launch(); | |
const page = await browser.newPage(); | |
await page.goto(url, {waitUntil: "domcontentloaded"}); |