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
;; Added by Package.el. This must come before configurations of | |
;; installed packages. Don't delete this line. If you don't want it, | |
;; just comment it out by adding a semicolon to the start of the line. | |
;; You may delete these explanatory comments. | |
(package-initialize) | |
(add-to-list 'package-archives | |
'("melpa-stable" . "http://melpa-stable.milkbox.net/packages/") t) |
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
// 参考:https://qiita.com/takachan_coding/items/7234781ac56a4734e62b | |
//メインで実行する関数 | |
function notifyGmail(){ | |
if (isHoliday() == false){ | |
var recipients = getRecipients(); | |
var [holidayMembers, remoteMembers] = getCalendar(); | |
var mailBody = '■■このメールはシステムからの自動配信です■■\n\n【本日の休暇予定】\n'; | |
if (holidayMembers.length == 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
(load-library "winkey") | |
(global-set-key #\C-a 'start-kbd-macro) | |
(global-set-key #\C-q 'end-kbd-macro) | |
(global-set-key #\C-z 'call-last-kbd-macro) | |
(global-set-key #\C-o 'beginning-of-buffer) | |
(global-set-key #\C-l 'end-of-buffer) | |
(set-default-directory "c:/users/t-yamamoto/documents") |
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
https://docs.github.com/en/free-pro-team@latest/graphql/overview/explorer | |
https://developer.github.com/v4/explorer/ | |
{ | |
organization(login: "mercury-inc-cc") { | |
projects(first: 20) { | |
nodes { | |
name | |
columns (first: 20) { | |
nodes { |
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 xpath = '//*[@class="gh-header-title"]'; | |
var pre = ' - '; | |
document.getElementsByXPath = function(expression, parentElement) { | |
var r = []; | |
var x = document.evaluate(expression, parentElement || document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); | |
for (var i = 0, l = x.snapshotLength; i < l; i++) | |
{ | |
r.push(x.snapshotItem(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
javascript:(function(){ | |
var pre = 'Googleドライブ:'; | |
var xpath = '//*[@guidedhelpid="folder_path"]'; | |
document.getElementsByXPath = function(expression, parentElement) { | |
var r = []; | |
var x = document.evaluate(expression, parentElement || document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); | |
for (var i = 0, l = x.snapshotLength; i < l; i++) { | |
r.push(x.snapshotItem(i)); | |
} return r; |
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
// https://qiita.com/ayasamind/items/38945bd69f8289d6ccaa を改造した | |
function newFunction() { | |
//シートから入力されたタイトル、ボディを取得する | |
SpreadsheetApp.getActiveSpreadsheet(); | |
var spreadsheet = SpreadsheetApp.getActiveSpreadsheet(); | |
var sheet = spreadsheet.getActiveSheet(); | |
var lastRow = sheet.getLastRow(); | |
var issueCount = lastRow; | |
var title = ''; | |
var body = ''; |