Skip to content

Instantly share code, notes, and snippets.

View hidenorihide777's full-sized avatar

hidenorihide777

View GitHub Profile
function writeDataToSS(data){
const ss = SpreadsheetApp.getActiveSpreadsheet();
const sheet = ss.getSheetByName('シート1');
Logger.log(data.length)
for (let raw=1;raw<=data.length;raw++){
sheet.getRange(raw+1,1).setValue(data[raw-1][0])
if (data[raw-1][1]!='0'){
sheet.getRange(raw+1,2).setValue(data[raw-1][1])
sheet.getRange(raw+1,3).setValue(data[raw-1][2])
<script type="text/javascript">
if( location.href == 'https://hidemaru-1988-sub.hatenablog.com/'){
location.href='https://hidemaru-1988-sub.hatenablog.com/archive';
}
</script>
<noscript>
<p><a href="https://hidemaru-1988-sub.hatenablog.com/archive">30代エンジニアが週に1つ目標挑戦します!!</a></p>
</noscript>
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<!-- FontAwesome-->
<link href="https://use.fontawesome.com/releases/v5.11.0/css/all.css" rel="stylesheet">
/*** オーソドックスなカード型デザイン ***/
.page-archive .archive-entries {
display: flex;
flex-wrap: wrap;
}
.page-archive .archive-entries .archive-entry {
display: flex;
flex-direction: column;
box-sizing: border-box;
/*TOPに戻るボタンの設置*/
#page_top a::before{
font-family: 'Font Awesome 5 Free';
font-weight: 900;
content: '\f139';
font-size: 40px;
color: #3f98ef;
position: fixed;
width: 25px;
height: 25px;
/* グローバルナビゲーション */
.menu {
width: 100%; /* 幅を指定 */
padding: 0 0; /* 余白を指定 */
margin-left: 0px;
margin-top:0px;
position: 0px;
}
.menu ul{
display: flex;
/*サイドバーのカスタマイズ**/
/*サイドバーアイコン追加*/
/* プロフィール */
.hatena-module-profile .hatena-module-title:before {
font-family: "Font Awesome 5 Free";
content: "\f007";/* アイコンフォント */
 font-size: 120%;
position: relative;
padding: .5em 0;
/*見出しデザイン*/
h3 {
padding: 0.1rem 0rem;
background-color: #EFFFFF;
border-top: 6px double #000;
border-bottom: 6px double #000;
}
h4 {
padding: 0.1rem 0rem;
background-color: #EAFFFF;
<link type="text/css" rel="stylesheet" href="https://hatena.wackwack.net/v1.1/css/fulldisplay.min.css"/>