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
su | |
for full in /dev/block/platform/soc/1d84000.ufshc/by-name/*; do | |
name=$(basename $full) | |
echo "Now backing up: $name" | |
dd if=$full of=/sdcard/full/$name | |
done |
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
object NotificationCommand "notify-teams" { | |
import "plugin-notification-command" | |
command = [ PluginDir + "/teams_connector.py" ] | |
arguments += { | |
"--h" = "$hostn$" | |
"--hn" = { | |
description = "Host" | |
value = "$host_name$" | |
} | |
"--ho" = { |
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
void Main() | |
{ | |
string webhookUrl = "https://discordapp.com/api/webhooks/602563605837250567/XWwqCqUc45sdSd3wfgdfggfjOSJ93fJQ0l-VjawpHh_UbYOzI324234234sShS6Pcx8b"; | |
new DiscordEmbedWebhookRequest() { | |
Embeds = new List<UserQuery.DiscordEmbedWebhookRequest.DiscordEmbed>(){ | |
new UserQuery.DiscordEmbedWebhookRequest.DiscordEmbed(){ | |
Title = "Fancy" | |
} | |
} | |
}.SendSync(webhookUrl); |
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
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: rook-ceph-system | |
--- | |
apiVersion: apiextensions.k8s.io/v1beta1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: cephclusters.ceph.rook.io | |
spec: |
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
opkg update && opkg install block-mount kmod-fs-ext4 kmod-usb-storage e2fsprogs kmod-usb-ohci kmod-usb-uhci fdisk | |
block detect > /etc/config/fstab; \ | |
sed -i s/option$'\t'enabled$'\t'\'0\'/option$'\t'enabled$'\t'\'1\'/ /etc/config/fstab; \ | |
sed -i s#/mnt/sda1#/overlay# /etc/config/fstab; \ | |
cat /etc/config/fstab; | |
mkdir /tempupgrade | |
mount /dev/sda1 /tempupgrade | |
rm /tempupgrade/etc/.extroot-uuid |
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
let request = require("request"); | |
var token = "XXXXXXXXXXXXXXX"; | |
request.get({ url : "https://my.sevdesk.de/api/v1/CheckAccountTransaction/?limit=-1", headers : { "Authorization" : token } }, | |
function (error, response, body) { | |
let transactions = JSON.parse(body); | |
for(var transaction of transactions.objects){ | |
if(transaction.checkAccount.id === "157622"){ | |
request.delete({ url : "https://my.sevdesk.de/api/v1/CheckAccountTransaction/"+transaction.id+"/", headers : { "Authorization" : 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
Twitter App erstellen | |
https://apps.twitter.com/ | |
nodejs LTS installieren | |
cd in den Ordner | |
npm install | |
zum starten node index.js | |
Momentan lauscht der Bot auf #fr34kyn01535.answerbot und antwortet mit einem Hi |
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
-------------------------------------------------------------------------------------- | |
As part of a commercial license agreement with RocketMod | Sven Mawby <[email protected]> the author of this product does NOT have to license products deriving from RocketMod implementations under GPLv3. | |
If you have any questions about the license or want to check the validity of this agreement see https://rocketmod.net/licensing/ or contact RocketMod Licensing <[email protected]>. | |
Note that this permission may be revoked at any time, future versions may be relicensed under GPLv3. |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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 i = window.setInterval(function(){ | |
for(let k of Object.keys(ig.game.targets)){ if(ig.game.targets[k]) for(let t of ig.game.targets[k]){ ig.game.shoot(k); for(let c of t.remainingWord){ ig.game.shoot(c); }; }; }; | |
}, 200); | |
//window.clearInterval(i); |
NewerOlder