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
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: orange; icon-glyph: award; | |
// https://twitter.com/simonbs/status/1512069641102790673 | |
const data = await (new Request('https://rickies.co/api/chairmen.json')).loadJSON() | |
const img = await (new Request('https://rickies.co/images/rickies-trophy-glow.png')).loadImage() |
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
[ | |
{ | |
"id": "2fb1e3e3.67ea9c", | |
"type": "tab", | |
"label": "/pushcut widget mutate", | |
"disabled": false, | |
"info": "" | |
}, | |
{ | |
"id": "14f45599.1f7022", |
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
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: cyan; icon-glyph: pray; | |
/* ********************************************** | |
by : @supermamon | |
on : 16 Oct 2021 | |
ver: 1.0.0 | |
for: https://www.reddit.com/r/Scriptable/comments/q8r061/make_widget_table_from_data_scraped_from_website/ | |
********************************************** */ |
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
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: deep-green; icon-glyph: globe-africa; | |
/* ********************************************** | |
The Golf Club Wdiget | |
By: @supermamon | |
On: 2021-09-28 | |
For: reddit.com/r/Scriptable/comments/pwnrq5/leaderboard_table_formatted_for_ios_widget/ | |
********************************************** */ |
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
// bare minimum dual temperature widget for scriptable | |
// by @supermamon | |
// 29 June 2021 | |
// get from https://openweathermap.org/appid | |
const api_key = 'your-api-key' | |
// get location | |
const loc = await Location.current() |
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
/* | |
How to setup | |
============ | |
1. Go to https://script.google.com and login | |
2. Click New Project | |
3. Give the project a name be clicking on "Untitled Project" and giving a new name | |
4. Copy this whole code and overwrite everything on Code.gs file. Click on the Save icon to save. | |
5. Go to Google drive and open the worksheet that you want to manipulate | |
6. Take a look at the url. It should be in this format -- https://docs.google.com/spreadsheets/d/spreadheet-id-as-some-long-seemingly-random-characters/edit#gid=478439860 |
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
"platforms": [ | |
{ | |
"platform": "Camera-ffmpeg", | |
"name": "Camera FFmpeg", | |
"cameras": [ | |
{ | |
"name": "Curiosity NAVCAM", | |
"videoConfig": { | |
"source": "-f image2 -loop 1 -s 720x480 -pix_fmt yuvj422p -i /homebridge/cams/curiosity-NAVCAM-curr.jpg" | |
} |
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
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: blue; icon-glyph: magic; | |
// PoC: run functions from tap targets | |
if (args.queryParameters.fn) { | |
switch (args.queryParameters.fn) { | |
case 'fn1': | |
fn1() | |
break; |
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
const require = importModule('scriptable-require') | |
const moment = await require('moment', true) | |
log(moment().format('dddd')) |
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
// get it here instead | |
// https://github.com/supermamon/scriptable-scripts/tree/master/xkcd-widget |
NewerOlder