Skip to content

Instantly share code, notes, and snippets.

@jlia0
jlia0 / agent loop
Last active May 3, 2026 16:36
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@syhily
syhily / download_talebook.sh
Last active September 24, 2025 08:37
Download all the books from a talebook website. The https://curl.se/ and https://stedolan.github.io/jq/ are required for using this script.
#!/usr/bin/env bash
# Download metadata, modify these as your needs.
## The directory to save the downloaded files.
download_directory="/volume1/Download/EPUB"
## The website you want to visit.
calibre_site="http://soulseeker.myds.me:25788"
## The formats you want to download. We only download the first present format.
## All the formats should be upper case.
allow_formats=( EPUB MOBI AZW3 )
@janlay
janlay / README.md
Last active January 1, 2025 02:33
魂签 (Soulsign) 脚本

About

魂签,一款用于自动签到的Chrome插件

这里存放由我创建或改进的魂签 (Soulsign) 脚本

Usage

  1. 从这里复制你想要的脚本 Raw URL
  2. 打开魂签「任务管理」
  3. 点击「添加脚本」按钮
  4. 粘贴 URL 并点击「保存」按钮
@gingerbeardman
gingerbeardman / faststart.sh
Last active June 28, 2023 06:33
Synology DSM Task Scheduler custom script to set faststart movflag on all mp4 files
#!/usr/bin/env bash
# by Matt Sephton @gingerbeardman
# requires SynoCommunity ffmpeg to be installed
log="/volume1/video/Scripts/faststart.log"
work="/volume1/video/Scripts/"
start="../"
export log
@gingerbeardman
gingerbeardman / remux.sh
Last active January 25, 2026 17:16
Synology DSM Task Scheduler custom script to remux any mkv files as mp4, moving old files to Recycle Bin
#!/usr/bin/env bash
# by Matt Sephton @gingerbeardman
# requires SynoCommunity ffmpeg to be installed
log="/volume1/video/Scripts/remux.log"
bin="/volume1/video/#recycle/"
work="/volume1/video/Scripts/"
export log
// Modified from @mutsuda's https://medium.com/@mutsuda/create-an-ios-widget-showing-google-spreadsheets-data-856767a9447e
// by @levelsio
// HOW TO
// 1) Make a Google Sheet, we'll pull the first cell e.g. A1
// 2) Publish your Google Sheet, File -> Publish To Web
// 3) Copy the SHEET_ID in the URL, put it in here below:
const endpoint = "https://spreadsheets.google.com/feeds/cells/SHEET_ID/1/public/full?alt=json"
// 4) Install Scriptable @ https://apps.apple.com/us/app/scriptable/id1405459188
// 5) Copy this entire script in to Scriptable (tip: you can send it to your iPhone via Whatsapp/Messenger/Telegram etc)
@andreasRedeker
andreasRedeker / webcam-widget.js
Created November 12, 2020 20:03
An iPhone widget, that shows you a live webcam image from foto-webcam.eu on your homescreen
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: blue; icon-glyph: camera-retro;
// Script by Andreas Redeker <hello@andreasredeker.de>
let param = args.widgetParameter
let url
if (param != null && param.length > 0) {
url = param
@herrjonas
herrjonas / hafven-co2-widget.js
Last active November 12, 2020 17:29 — forked from marco79cgn/dm-toilet-paper.js
iOS Widget, das den CO2-Gehalt in verschiedenen Hafven Coworking, Maker und Meeting Spaces anzeigt (für die scriptable.app)
// Forked from https://gist.github.com/marco79cgn/23ce08fd8711ee893a3be12d4543f2d2
// Nov 7th 2020 16:44 CET
/*
Scriptable iOS widget that shows the latest co2 amount in the air in the Hafven Coworking, Maker and Meeting Spaces
Installation guide:
1. Install Scriptable App on your iOS device
2. Create a new script inside the Scriptable App by tapping the '+' in the upper right corner
3. Copy and paste this script into the scipt window and name the script the way you want
@Shawin
Shawin / USA-Election-2020.js
Last active November 25, 2020 14:20
USA Election 2020 Votes – Scriptable Widget
// start with this
let widget = new ListWidget()
//
// Set colors
let bidenColor = new Color("1a68ff")
let trumpColor = new Color("ff4a43")
let bidenColor2 = new Color("1a68ff", 0.8)
let trumpColor2 = new Color("ff4a43", 0.8)
@marco79cgn
marco79cgn / ard-mediathek.js
Last active October 1, 2023 18:28
A custom widget showing editors picks of the ARD Mediathek for scriptable.app
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: deep-blue; icon-glyph: film;
// name: ard-mediathek.js
// description: A scriptable widget which displays the latest editorial picks of the ARD Mediathek
// author: Marco Dengel
// email: marco79cgn@gmail.com
let mediathekData;