This file contains hidden or 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
<!-- OGP --> | |
<meta property="og:url" content="{ url }" /> | |
<meta property="og:type" content="{ website || article || blog || and more url(https://ogp.me/#types) }" /> | |
<meta property="og:title" content="{ page_title } - { site_title }" /> | |
<meta property="og:description" content="{ description }" /> | |
<meta property="og:site_name" content="{ site_name }" /> | |
<meta property="og:image" content="{ image_url }" /><!-- size 1200 * 630 --> | |
<!-- 確認ツール https://developers.facebook.com/tools/debug/?locale=ja_JP --> | |
<!-- Twitter Card --> |
This file contains hidden or 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
/** | |
* スプレッドシートから選択項目一覧を取得する | |
* | |
* @param {string} ssId スプレッドシートの ID | |
* @param {string} sheetName リストを記述してあるシート名 | |
* | |
* @return {Object} 選択項目名のリスト | |
**/ | |
var getMultichoiceItemList = function(ssId, sheetName) { | |
var ss = SpreadsheetApp.openById(ssId); |
This file contains hidden or 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 | |
// ページ付き URL に強制転送 | |
if (! array_key_exists('page', $args)) { | |
header('Location: /page/1'); | |
exit; | |
} | |
// View に送るデータ | |
$values = []; |
This file contains hidden or 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
<ul class="menu"> | |
<li v-for="title in titles"> | |
<a v-bind:href="'#'+title.href">{{ title.title }}</a> | |
</li> | |
</ul> | |
<article> | |
<header> | |
<h1 id="first" class="add-to-list">First article</h1> | |
</header> | |
<section> |
This file contains hidden or 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 (global) { | |
var TimeConvert = (function () { | |
function TimeConvert() {} | |
TimeConvert.prototype.sec2min = function (time) { | |
var min = Math.floor(time / 60); | |
var sec = time % 60; | |
return { | |
min: min, |
This file contains hidden or 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
window.onload = function() { | |
var sliders = document.getElementsByClassName('slider'); | |
for (var i = 0; i < sliders.length; i++) { | |
var slider = sliders[i]; | |
var options = { | |
range: { | |
min: [0, 10], | |
max: [100] | |
}, |
This file contains hidden or 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
RewriteEngine On | |
# Some hosts may require you to use the `RewriteBase` directive. | |
# If you need to use the `RewriteBase` directive, it should be the | |
# absolute physical path to the directory that contains this htaccess file. | |
# | |
# RewriteBase / | |
RewriteCond %{REQUEST_URI} !(^/public/) | |
RewriteRule ^ index.php [QSA,L] |
This file contains hidden or 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(global) { | |
function SetValueToToday(className) { | |
var date = new Date(), | |
year, | |
month, | |
day, | |
today; | |
this.className = className || 'set-value-to-today'; | |
this.className = this.className.replace(/^\./, ''); |
This file contains hidden or 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 myFunction() { | |
var config = {} | |
config['spreadsheet'] = { | |
ssId: 'スプレッドシートの ID', | |
sheetName: 'リスト', | |
messageSheet: 'メッセージ', | |
testSheet: 'テスト', | |
displayValues: true, | |
emailLabel: 'メールアドレス' |
This file contains hidden or 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
<img width=200 src=cid:banner> | |
{ お名前 } 様 | |
この度はお問い合わせいただき、ありがとうございます。 | |
後ほど担当者より回答いたします。 |
NewerOlder