Skip to content

Instantly share code, notes, and snippets.

View Der-Eddy's full-sized avatar

Eduard Der-Eddy

View GitHub Profile
@Der-Eddy
Der-Eddy / ASCII Smilies.txt
Last active November 26, 2017 02:27
ASCII Smilies
( ͡° ͜ʖ ͡°)
( ͡ ͡° ͜ ʖ ͡ ͡°)
( ͠° ͟ʖ ͡°)
( ͡ ͡° ͜ʖ ͡ ͡°)
( ͡°╭͜ʖ╮͡°)
¯\_(ツ)_/¯
°ω°
°‿‿°
(・ω・)b
(・ω・)ノ
@Der-Eddy
Der-Eddy / passwordgen.py
Last active July 17, 2022 18:00
Password Generator tkinter
import tkinter
import random
class PWGenGui(tkinter.Frame):
def __init__(self, master=None):
self.consonants = "bcdfghjklmnpqrstvwxz"
self.vowels = "aeuoiy"
self.numbers = "0123456789"
self.symbols = "§$%&?#+"
@Der-Eddy
Der-Eddy / 2_Cloudflare.html
Last active August 29, 2015 14:22
Epvp Errors
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>
<title>Website is offline | 504: Gateway time-out</title>
<meta charset="UTF-8"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>
@Der-Eddy
Der-Eddy / ban
Last active August 29, 2015 14:21
#!/bin/bash
echo "Logging in ..."
sleep 2
echo "Banning User $1 ..."
sleep 1
echo "User $1 is banned"
exit 0
@Der-Eddy
Der-Eddy / twitch.php
Last active August 29, 2015 14:21
RocketBeansTV Twitch Thumbnail
<?php
$channelname = "rocketbeanstv";
$height = 300;
$width = 164;
$font = 4; //1 bis 5 gültig
$path_file = dirname(__FILE__) . "/thumbnail.jpg";
$path = basename($path_file);
$text_alt = array("Der erste 24/7 Sender auf Twitch", "Lust mal wieder auf GIGA Stimmung?", "Rocketbeans.tv Live Twitch Stream", "GameOne abgesetzt? Hier gehts weiter!", "Eduard Laser!");
$text_filler = array("Nachtprogramm", "Feiertag!", "Wochenende!");
$stream = json_decode(get_url_contents("https://api.twitch.tv/kraken/streams/$channelname/"));
@Der-Eddy
Der-Eddy / redditbot.py
Created April 21, 2015 21:26
Posts newest Sales to subreddit /r/Eddy_Sales
import praw
import feedparser
r = praw.Reddit(user_agent="linux:Eddy_Sales:v1.0 (by /u/dereddy)")
r.login("EddyBot", "password")
rss = "http://isthereanydeal.com/rss/waitlist/0q46u:5cf44d74d6756256c395c0b56879111d"
feeds = feedparser.parse(rss)
for feed in feeds["entries"]:
@Der-Eddy
Der-Eddy / SensorRec.lua
Created April 7, 2015 17:06
Minecraft Industrialcraft Storage Monitor (OpenCCSensors)
local monitor = peripheral.wrap("right")
local w, h = monitor.getSize()
local modem = peripheral.wrap("left")
modem.open(100)
local function padLeft(str, w)
return string.rep(" ", w - #str)..str
end
function round(num, idp)
@Der-Eddy
Der-Eddy / camera.cfg
Created March 30, 2015 16:28
Dota2 camera
////# Center on hero
alias "centerhero" "+dota_camera_center_on_hero;-dota_camera_center_on_hero" //"dota_select_all; dota_select_all; +dota_camera_follow"
////# Follow hero with single tap without locking camera
alias freelock "dota_camera_lock 0;+dota_camera_follow; -dota_camera_follow; +dota_camera_follow"
bind "SPACE" "freelock"
////# Jump to last map ping location while key pressed
alias "+show_lastping" "dota_recent_event";alias "-show_lastping" "centerhero"
bind "P" "+show_lastping" // Show Recent Event (last ping) - SET TO ALT+P IN GUI!!!
@Der-Eddy
Der-Eddy / File Info.au3
Created March 24, 2015 11:55
AutoIt Scripts
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Run_Obfuscator=y
#Obfuscator_Parameters=/striponlyincludes
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <Crypt.au3>
Global Const $GUI_EVENT_CLOSE = -3
Global Const $ES_READONLY = 2048
If NOT @Compiled Or $CmdLine[1] = "" Then
@Der-Eddy
Der-Eddy / rot13
Created March 24, 2015 11:52
ROT13 Brainfuck
-,+[
-[
>>++++[>++++++++<-]
<+<-[
>+>+>-[>>>]
<[[>+<-]>>+>]
<<<<<-
]
]>>>[-]+