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
Add-Type -AssemblyName System.Web | |
Write-Host "Paimon.moe Wish Importer" -ForegroundColor Cyan | |
Write-Host "1. Open Genshin Impact in this PC" | |
Write-Host "2. Then open the wish history and wait it to load" | |
Write-Host "3. When you are ready press [ENTER] to continue! (or any key to cancel)" | |
Write-Host "Waiting..." | |
$keyInput = [Console]::ReadKey($true).Key | |
if ($keyInput -ne "13") { |
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
#!bin/bash | |
TELEGRAM_BOT_TOKEN="botid:token" | |
CHAT_ID="1234567890" | |
send_telegram () { | |
title="$1" | |
timestamp="$(date -R)" | |
msg="$title\n$timestamp\n\n$(echo "$2" | sed -z -e 's|\\|\\\\|g' -e 's|\n|\\n|g' -e 's|\t|\\t|g' -e 's|\"|\\"|g')" | |
entities="[{\"offset\":0,\"length\":${#title},\"type\":\"bold\"},{\"offset\":$((${#title}+1)),\"length\":${#timestamp},\"type\":\"italic\"}]" |
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
// ==UserScript== | |
// @name Hide Promoted Tweets | |
// @namespace https://github.com/jogerj | |
// @source https://gist.github.com/jogerj/333221ea0b5e8e09a051c38a09150127 | |
// @version 0.1 | |
// @description Hide promoted tweets on twitter.com | |
// @author JogerJ | |
// @author cb372 | |
// @icon https://abs.twimg.com/favicons/favicon.ico | |
// @grant none |
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
#!/bin/bash | |
MCRCON_PATH="/usr/local/bin" | |
BACKUP_PATH="/home/opc/mc_backup" | |
MC_PATH="/home/opc/minecraft" | |
IP="127.0.0.1" | |
PORT="25575" | |
PASS="[password]" |