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
var PROPERTIES = PropertiesService.getScriptProperties();//ファイル > プロジェクトのプロパティから設定した環境変数的なもの | |
var Line_access_token = PROPERTIES.getProperty('Line_access_token'); | |
var Amazon_accessKey = PROPERTIES.getProperty('Amazon_accessKey'); //Your Access Key | |
var Amazon_secretKey = PROPERTIES.getProperty('Amazon_secretKey'); //Your Secret Key | |
var Amazon_associateID = PROPERTIES.getProperty('Amazon_associateID'); //Your Associate ID | |
// ボットにメッセージ送信/フォロー/アンフォローした時の処理 | |
function doPost(e) { | |
var events = JSON.parse(e.postData.contents).events; | |
events.forEach(function(event) { |
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:(function(){ | |
var item_nameText = document.getElementById("productTitle").innerHTML; | |
item_nameText = item_nameText.trim(); | |
if(document.getElementById("priceblock_saleprice")){ | |
var item_priceText = document.getElementById("priceblock_saleprice").innerHTML; | |
}else{ | |
var item_priceText = document.getElementById("priceblock_ourprice").innerHTML; | |
} |
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
#include <stdio.h> | |
int bainari(int e_10to2,int n,int m) | |
{ | |
int num_2[200],amari,count,i=0,bi,bi1,ri,ri1; | |
while(e_10to2 >= 1){ | |
amari = e_10to2 % 2; | |
e_10to2 = e_10to2 / 2; | |
num_2[i] = amari; | |
i++; |
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
#include <stdio.h> | |
#include <stdlib.h> | |
double getnum_int()//入力関数 | |
{ | |
int i; | |
int num,cheak; | |
cheak = 1; | |
i = 0; | |
num = 0; |
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 | |
$header_tab=array('MYHOME','NEWROOM','OPENROOM','NOT','SETTING'); | |
foreach ($header_tab as $TAB) { | |
echo<<<TAB | |
<li class='tab' id="home" onmouseover="color_change()"> | |
<a href="#">$TAB</a> | |
</li> | |
TAB; | |
} |
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
#include <stdio.h> | |
#include <stdlib.h> | |
int main() | |
{ | |
char word[200]; | |
char c; | |
int brake; | |
int a; | |
brake = 0; |
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
#include <stdio.h> | |
#include <stdlib.h> | |
int main() | |
{ | |
int a; | |
int b; | |
int ans; | |
a = 15; | |
b = 37; |
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
#include<stdio.h> | |
#include<stdlib.h> | |
#include<limits.h>//in gcc | |
#include<errno.h>//in gcc | |
#include<math.h> | |
double get_double_num(const double max, const double min){ | |
char s[200]; | |
if (NULL == fgets(s, 200, stdin)){ |
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
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Cange_Shift_L</name> | |
<appendix>左Shift空打ちで英数</appendix> | |
<identifier>private.shift_L_to_EISUU</identifier> | |
<autogen> | |
--KeyOverlaidModifier-- | |
KeyCode::SHIFT_L, | |
KeyCode::SHIFT_L, |