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 / autoexec.cfg
Last active July 28, 2021 02:33
Dota2 cfg files
//Netcode //
//Ingame values rate "80000"
cl_updaterate "40"
cl_cmdrate "40"
cl_interp "0"
cl_interp_ratio "1"
cl_smoothtime "0.01"
//Spectator values cl_spectator_cmdrate_factor "0.5"
@Der-Eddy
Der-Eddy / Stats.html
Created January 22, 2015 16:28
Agent Stats
<html><head>
<style>html { font-family: arial; } b { color: darkorange; }</style>
<script src="http://code.jquery.com/jquery-2.1.3.min.js"></script></head>
<form id="form">
<table>
<tr><td><b>Datum</b> (yyyy-mm-dd):</td><td> <input id="date" type="text" size=50></td></tr>
<tr><td><b>Zeit</b> (hh:mm:ss):</td><td> <input id="time" type="text" size=50></td></tr>
<tr><td><b>ap</b>:</td><td> <input id="time" type="ap" size=50></td></tr>
<tr><td><b>Explorer</b> (Unique Portals visites):</td><td> <input id="explorer" type="text" size=50></td></tr>
<tr><td><b>Seer</b> (Portals Discovered):</td><td> <input id="seer" type="text" size=50></td></tr>
@Der-Eddy
Der-Eddy / nsfwspoiler.py
Last active August 29, 2015 14:14
NSFW Spoiler
from PyQt5.QtWidgets import *
from time import sleep
app = QApplication([])
clipboard = app.clipboard()
while 1:
text = clipboard.text()
if text.split(".")[-1] == "jpg" or text.split(".")[-1] == "png" or text.split(".")[-1] == "gif":
clipboard.setText("[spoiler=title: NSFW Anime Spoiler, title-style: bold, title-color: orange][img]" + text + "[/img][/spoiler]")
print(clipboard.text())
2015-03-15 11:23:46,733 [loadify.ViewModel.LoginViewModel] INFO - Stored credentials were found and loaded
2015-03-15 11:23:48,403 [loadify.ViewModel.LoginViewModel] INFO - Login successful, logged in as User 1137171736
2015-03-15 11:23:48,755 [loadify.ViewModel.PlaylistsViewModel] INFO - Retrieving playlists of the logged-in Spotify user...
2015-03-15 11:23:48,854 [loadify.ViewModel.PlaylistViewModel] INFO - 0/13 tracks in playlist Panic were detected as existing on the local filesystem
2015-03-15 11:23:48,859 [loadify.ViewModel.PlaylistsViewModel] INFO - Added playlist Panic (13 tracks)
2015-03-15 11:23:48,876 [loadify.ViewModel.PlaylistViewModel] INFO - 0/16 tracks in playlist Fox Stevenson were detected as existing on the local filesystem
2015-03-15 11:23:48,877 [loadify.ViewModel.PlaylistsViewModel] INFO - Added playlist Fox Stevenson (16 tracks)
2015-03-15 11:23:48,885 [loadify.ViewModel.PlaylistViewModel] INFO - 0/4 tracks in playlist Indie Metal were detected as existing on the local f
@Der-Eddy
Der-Eddy / Newsletter.cs
Created March 24, 2015 11:50
Epvp PN Newsletter
using System;
using epvpapi;
using epvpapi.Connection;
using epvpapi.Evaluation;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
namespace PN_Newsletter
@Der-Eddy
Der-Eddy / 16x2.py
Created March 24, 2015 11:51
16x2 LCD RaspberryPi
#!/usr/bin/python
from Adafruit_CharLCD import Adafruit_CharLCD
from subprocess import *
from time import sleep, strftime, time
from datetime import datetime
from pywapi import get_weather_from_weather_com as pywapi
localcode = "GMXX1903"
@Der-Eddy
Der-Eddy / rot13
Created March 24, 2015 11:52
ROT13 Brainfuck
-,+[
-[
>>++++[>++++++++<-]
<+<-[
>+>+>-[>>>]
<[[>+<-]>>+>]
<<<<<-
]
]>>>[-]+
@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 / 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 / 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)