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
package main | |
import ( | |
"bytes" | |
"crypto/md5" | |
"encoding/json" | |
"fmt" | |
"io" | |
"log" | |
"math/rand" |
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
package main | |
import ( | |
"fmt" | |
"math/big" | |
"encoding/binary" | |
"github.com/gagliardetto/solana-go" | |
) |
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
// ==UserScript== | |
// @name Cannalivery Preise Fix | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-08-11 | |
// @description Fix fuer Preisanzeige auf Cannalivery | |
// @author fipso | |
// @match https://www.cannalivery.com/de/sortiment/cannabisblueten/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=cannalivery.com | |
// @grant none | |
// ==/UserScript== |
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
sudo apt-get update | |
sudo apt-get install ca-certificates curl gnupg | |
sudo install -m 0755 -d /etc/apt/keyrings | |
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg | |
sudo chmod a+r /etc/apt/keyrings/docker.gpg | |
# Add the repository to Apt sources: | |
echo \ | |
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \ | |
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \ |
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
const { ethers } = require("ethers"); | |
const rpc = ""; | |
const addr = ""; | |
async function main() { | |
// no providers object in ethers v6+ | |
const provider = new ethers.JsonRpcProvider(rpc); | |
const abi = [ |
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
systemctl enable NetworkManger | |
systemctl start NetworkManger | |
pacman -Syu git base-devel neovim awesome nvidia lightdm lightdm-slick-greeter base-devel bluez blueberry tor discord openssh fish wget ttf-hack-nerd redshift picom variety unzip p7zip zip maim xclip | |
systemctl enable blueooth | |
systemctl start bluetooth | |
vim /etc/lightdm/lightdm.conf | |
greeter-session=lightdm-slick-greeter |
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
import * as web3 from "@solana/web3.js"; | |
import crypto from "crypto"; | |
const MIN_OFFSET = 5; | |
const httpsRPC = | |
""; | |
const wssRPC = | |
""; |
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/bash | |
GH_USERNAME=<GitHub Username> | |
mkdir -p /tmp/gh-noreply/ | |
cd /tmp/gh-noreply | |
for repo in $(curl --request GET https://api.github.com/users/$GH_USERNAME/repos | jq --raw-output '.[] .name'); do | |
git clone https://github.com/$GH_USERNAME/$repo | |
cd $repo |
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
//Validate data | |
const pairs = Object.entries(tg) | |
.filter((e) => e[0] !== "hash") | |
.sort((a: any, b: any) => a[0].localeCompare(b[0])); | |
const tgData = pairs.map((p: any) => p.join("=")).join("\n"); | |
console.log(tgData); | |
const key = crypto | |
.createHash("sha256") | |
.update(process.env.TELEGRAM_BOT_TOKEN!) | |
.digest(); |
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
import fetch from 'node-fetch'; | |
let deposit = 0; | |
//Insert the total amount of stats pages. (click last to see the number of the actual last one) | |
const MAX_PAGES = 10; | |
async function run() { | |
for (let i = 1; i < MAX_PAGES+1; i++) { | |
const res = await fetch("https://csgoempire.com/api/v2/user/transactions?page=" + i, { |
NewerOlder