Skip to content

Instantly share code, notes, and snippets.

View l3nnartt's full-sized avatar

Lennart Lösche l3nnartt

View GitHub Profile
@l3nnartt
l3nnartt / stats.json
Created April 15, 2023 03:21
Version Stats Timolia
{
"__inputs": [
{
"name": "DS_MYSQL",
"label": "MySQL",
"description": "",
"type": "datasource",
"pluginId": "mysql",
"pluginName": "MySQL"
}
@l3nnartt
l3nnartt / upload.php
Last active September 19, 2022 14:15
shareX upload
<?php
header("Content-Type: text/text");
$key = "SECRET_KEY";
$uploadhost = "http://i.lennartloesche.de/";
$redirect = "http://lennartloesche.de/";
if ($_SERVER["REQUEST_URI"] == "/robot.txt") { die("User-agent: *\nDisallow: /"); }
if (isset($_POST['k'])) {
if ($_POST['k'] == $key) {
$target = getcwd() . "/" . basename($_FILES['d']['name']);
if (move_uploaded_file($_FILES['d']['tmp_name'], $target)) {
@l3nnartt
l3nnartt / build.gradle
Created March 8, 2022 15:40 — forked from Barteks2x/build.gradle
build.gradle for Craftbukkit/Spigot 1.8
apply plugin: 'java'
//this is the same ad Maven groupID
//usually it refers to domain name you own. If your domain is tutorial.bukkit.com then your droupID is com.bukkit.tutorial
group = 'com.tutorial'
//the same as Maven artifactID. This will be used as base for jar name. Usually the same as plugin name
archivesBaseName = 'Tutorial'
//Plugin version. "-SNAPSHOT" at the end is reserved for development versions.
version = '1.0-SNAPSHOT'
@l3nnartt
l3nnartt / timolia-api.js
Last active November 5, 2021 20:34
Timolia 4rena Top 1000
var request = require('request');
var options = {
'method': 'GET',
'url': 'https://www.timolia.de/api/leaderboard/4rena',
'headers': {
'Accept': 'application/json, text/javascript, */*; q=0.01',
'Accept-Encoding': 'gzip, deflate, br',
'Referer': 'https://www.timolia.de/game/4rena/leaderboard',
'User-Agent': 'Mozilla/5.0 (https://github.com/l3nnartt)',
'Pragma': 'no-cache',
@l3nnartt
l3nnartt / pixel-claim.py
Last active November 5, 2021 20:34
Auto Claim Daily Pixel
import time
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
driver = webdriver.Chrome("PATH TO ChromeDriver.exe")
driver.get("https://shop.timolia.de/")
time.sleep(4)
search_field = driver.find_element_by_id("usernamePixel")
search_field.send_keys("YOUR YOUSERNAME")