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
{ | |
"__inputs": [ | |
{ | |
"name": "DS_MYSQL", | |
"label": "MySQL", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "mysql", | |
"pluginName": "MySQL" | |
} |
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
<?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)) { |
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
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' |
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
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', |
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
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") |