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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>repl.it</title> | |
<link href="style.css" rel="stylesheet" type="text/css" /> | |
<script | |
src="https://code.jquery.com/jquery-3.3.1.min.js" | |
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" |
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 discord(message) | |
Set request = CreateObject("WinHttp.WinHttpRequest.5.1") | |
Dim Payload As String | |
DISCORD_WEBHOOK_URL = "https://discordapp.com/api/webhooks/{webhook_id}/{webhook_token}" | |
Payload = "content=" & message & _ | |
"&username=" & "{username}" & _ | |
"&avatar_url=" & "{avatar_url}" | |
With request |
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/sh | |
# This script sends TELEGRAM_MESSAGE to TELEGRAM_CHAT_ID when DEVICE_MAC is connected to the router | |
# Requires curl: opkg install curl | |
# Copy this file to /etc/hotplug.d/dhcp/ in OpenWRT | |
ONCE_IN_SECONDS="86400" # once a day | |
DEVICE_MAC="" | |
TELEGRAM_BOT_TOKEN='' | |
TELEGRAM_CHAT_ID="" | |
TELEGRAM_MESSAGE="Welcome home :)" |
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
/* | |
subtitle search by opensubtitle | |
*/ | |
// void OnInitialize() | |
// void OnFinalize() | |
// string GetTitle() -> get title for UI | |
// string GetVersion -> get version for manage | |
// string GetDesc() -> get detail information | |
// string GetLoginTitle() -> get title for login dialog |
OlderNewer