Adobe Kuler からいい感じの色の組み合わせを抜いてくるスクリプト です。 Kuler API というのがあったらしいけど今見たら提供されてなかったので書いた。 自己責任で使ってください。
http://stackoverflow.com/questions/3048838/jquery-css-color-value-returns-rgb をそのままコピーしてます。
Adobe Kuler からいい感じの色の組み合わせを抜いてくるスクリプト です。 Kuler API というのがあったらしいけど今見たら提供されてなかったので書いた。 自己責任で使ってください。
http://stackoverflow.com/questions/3048838/jquery-css-color-value-returns-rgb をそのままコピーしてます。
| <?php | |
| /** | |
| * SDHelper パンくずリストに構造化データを追記するヘルパー | |
| * テーマファイル内で $this->SD->foo() の記述で呼び出す | |
| */ | |
| class SDHelper extends AppHelper { | |
| /** | |
| * ヘルパー |
| RewriteEngine On | |
| RewriteCond %{HTTPS} off | |
| # First rewrite to HTTPS: | |
| # Don't put www. here. If it is already there it will be included, if not | |
| # the subsequent rule will catch it. | |
| RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] | |
| # Now, rewrite any request to the wrong domain to use www. | |
| # [NC] is a case-insensitive match | |
| RewriteCond %{HTTP_HOST} !^www\. [NC] | |
| RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] |
How can I restore a site from a Local site folder?に沿って復活させようとすると myloader コマンドをたたいたときに
** (myloader:828): CRITICAL **: Error restoring local.wp_posts from file local.wp_posts.sql: Table 'local.wp_posts' doesn't exist
というようなエラーが出てDBを復帰できない。
そこで、次のようなコマンドをたたいて *.sql ファイルの先頭に1行挿入する。
| /* | |
| * Google Jamboard を複製して URL 一覧を作成するだけの Google Apps Script (GAS) | |
| * 2つの学級 A, B に、それぞれ10個の Jamboard を設ける例 | |
| * Jamboard のファイル名と URL をペアにした一覧表をスプレッドシートで出力 | |
| */ | |
| const folderId = 'TARGET_FOLDER_ID'; | |
| const templateFileId = 'TEMPLATE_JAMBOARD_FILE_ID'; | |
| const className = [ | |
| 'A', 'B' |