Skip to content

Instantly share code, notes, and snippets.

@ritsuca
ritsuca / gist:ef1efde33bb02cb040b5bd54f4bc0a1b
Created October 23, 2018 01:17
読書メーター用ブックマークレット
javascript:asin=document.getElementById('ASIN').value;void(window.location.href=('https://bookmeter.com/search?keyword='+asin));
# Python 2.7.5
# Q. How many are there integer sets to become a^4 + b^4 = c^4 + d^4 in the rage of 1 to 300
# There's an requirement: a < c < d < b
# create an array
# a = i[0], b = i[1], c = i[2], d = i[3]
i = [0,0,0,0]
# loop each number in 1..300
for i[0] in xrange (1,301):
function sendForm(e){
// 使用するスプレッドシートの定義: いま開いてるシートを使うことを明示
var ss = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
// 件名、本文
var subject = '[Googleフォームの回答を受理しました]'; //件名
var body = "フォームにご記入いただいた内容\n----------------------------------------------------------"; //本文: 冒頭部分のみ
// 入力カラム名の指定