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
| // ==UserScript== | |
| // @name Hide Delish Kitchen Images | |
| // @namespace https://gist.github.com/ternbusty/2dad4dce836b58fcba5fd234ab27fcbc | |
| // @version 1.0 | |
| // @description Hide images in Delish Kitchen Recipe Page | |
| // @author ternbusty | |
| // @match https://delishkitchen.tv/recipes/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=delishkitchen.tv | |
| // @grant none | |
| // ==/UserScript== |
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
| // ==UserScript== | |
| // @name YouTube Playlist Player | |
| // @namespace https://ternbusty.github.io | |
| // @version 1.0 | |
| // @description Shuffle or Reverse Your YouTube Playlist | |
| // @author ternbusty | |
| // @match https://ternbusty.github.io/*youtube.html* | |
| // @grant GM.xmlHttpRequest | |
| // @connect www.youtube.com | |
| // ==/UserScript== |
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
| Sub FormatData() | |
| Dim Dic As Object | |
| Dim TextStore As String: TextStore = "" | |
| Dim Row As String | |
| Dim FormattedRow As String | |
| Dim pg As Page | |
| Dim rc As Rectangle | |
| Dim ln As Line | |
| Set Dic = CreateDic() |
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
| #!/bin/bash | |
| mkdir qiita | |
| cd qiita | |
| echo '#include<stdio.h> | |
| #include<math.h> | |
| int main(void) | |
| { | |
| FILE *fp; | |
| fp = fopen("qiita.dat", "w"); |
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
| #encoding:utf-8 | |
| import urllib3, sys, os | |
| import json | |
| def weatherTranslate(weather, num): | |
| if "Thunderstorm" in weather: | |
| return("⚡️") | |
| elif "Drizzle" in weather: | |
| return("🌂") | |
| elif "Rain" in weather: |
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
| var fs = WScript.CreateObject("Scripting.FileSystemObject"); | |
| var file = fs.OpenTextFile("Spitz.txt", 2, true); | |
| var iTunesApp = WScript.CreateObject("iTunes.Application"); | |
| var playlist = iTunesApp.LibrarySource.Playlists.ItemByName("スピッツ年代順"); | |
| var str = "" | |
| if (playlist) { | |
| var numTracks = playlist.Tracks.Count; | |
| for ( var i = 1; i <= numTracks; i++) { |
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
| from apscheduler.schedulers.blocking import BlockingScheduler | |
| import os, time, requests | |
| sched = BlockingScheduler() | |
| # for line notify | |
| url = "https://notify-api.line.me/api/notify" | |
| token = "" #ラインのアクセストークン | |
| headers = {"Authorization" : "Bearer "+ token} |
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 setTrigger() { | |
| var triggerDay = new Date(); | |
| triggerDay.setHours(6); | |
| triggerDay.setMinutes(30); | |
| ScriptApp.newTrigger("main").timeBased().at(triggerDay).create(); | |
| } | |
| // その日のトリガーを削除する関数(消さないと残る) | |
| function deleteTrigger() { | |
| var triggers = ScriptApp.getProjectTriggers(); |
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
| # -*- coding: utf-8 -*- | |
| from __future__ import print_function | |
| import httplib2 | |
| import os | |
| from apiclient import discovery | |
| from oauth2client import client | |
| from oauth2client import tools | |
| from oauth2client.file import Storage |
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
| 'フォルダ内の棋譜を連続解析し、X手目まで指した局面での評価値を表示します。 | |
| '対局者名を指定するとそちら側から見た評価値を表示させることができるので、ウォーズなどの棋譜をまとめて解析する際自分のidを指定するなどしてお使いください。 | |
| '実行方法:将棋エンジンの実行ファイルがあるディレクトリにこのファイル(ScoreCp.vbs)を置き、コマンドプロンプトで以下のコマンドを実行します。 | |
| 'X手目まで指したときの評価値を表示させるには | |
| '> cscript ScoreCp.vbs エンジンファイル名 {棋譜フォルダ名|棋譜ファイル名} スレッド数 検討時間[秒] X | |
| '対局者名を指定する場合は | |
| '> cscript ScoreCp.vbs エンジンファイル名 {棋譜フォルダ名|棋譜ファイル名} スレッド数 検討時間[秒] X 自分の名前 | |
| 'としてください。 |
NewerOlder