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 | |
# Removes all known Redaxo Frickelware. | |
system("rm -rf ."); | |
?> |
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
/* | |
USE_GITHUB_USERNAME=dewomser | |
Arduinino Box with several Outputs Contrlerd by Serial Bus | |
RGB LED | |
Relais | |
Sound | |
Remote 433MHz | |
Serial input is 6 Numbers Example, comma seperated: 0-255,0-255,0-255,0-1,0-1,0-1 | |
(color1,color2,color3,relais,musik,remote) |
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
//USE_GITHUB_USERNAME=dewomser | |
/* | |
Fade | |
This example shows how to fade an LED on pin 9 | |
using the analogWrite() function. | |
This example code is in the public domain. | |
*/ |
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
<html> | |
<head> | |
<script type="text/javascript"> | |
document.cookie = "klicker"; | |
function change() | |
{ | |
document.getElementById("d").style.visibility="hidden"; | |
} | |
function getCookie(cname) { | |
var name = cname + "="; |
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
#!/bin/bash | |
cd ~/Downloads || exit | |
### Raspbian heißt jetzt Raspios ### | |
## Welches Raspios steht in $rimage: ## | |
#rimage ="raspios_lite_armhf" | |
rimage="raspios_full_armhf" | |
dirr=$(curl --silent https://downloads.raspberrypi.org/$rimage/images/ | grep -o -E "$rimage-[0-9]{4}-[0-9]{2}-[0-9]{2}" | tail -1 ) |
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
/****************************************************************************** | |
MMA8452Q_Basic.ino | |
SFE_MMA8452Q Library Basic Example Sketch | |
Jim Lindblom @ SparkFun Electronics | |
Original Creation Date: June 3, 2014 | |
https://github.com/sparkfun/MMA8452_Accelerometer | |
This sketch uses the SFE_MMA8452Q library to initialize the | |
accelerometer, and stream values from it. |
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
#!/bin/bash | |
readarray -t a < <(ls *.yaml) | |
for IND in ${!a[@]}; do | |
lolo="${a[$IND]}" | |
ruby -ryaml -e "Psych.parse(File.open('$lolo'))" | |
if [[ $? -ne 0 ]] | |
then | |
echo "$lolo is not valid YAML" | |
# exit 1 | |
else |
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
#!/bin/bash | |
while read line; do sleep .5;ufw delete deny from $line; done < greensnow.txt | |
sleep 1 | |
rm greensnow.txt | |
wget https://blocklist.greensnow.co/greensnow.txt | |
sleep 1 | |
while read line; do sleep .5;ufw deny from $line to any; done < greensnow.txt | |
exit |
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
URL="https://www.pornhub.com/video/search?search=searchitem&o=mr";neu=$(wget -l 0 -q $URL -O - | grep -m 1 'title=\"Searchitem\"'| cut -c 19-57);youtube-dl $neu | |
# Das nach dem |cut gefällt mir noch nicht. |
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
clear; echo -e "\nVerspätungen im Bahnhof Worms\n" ; worms="https://reiseauskunft.bahn.de/bin/bhftafel.exe/dn?ld=4011&protocol=https:&rt=1&evaId=8000257&boardType=dep&productsFilter=11111&rtMode=&start=yes";curl -s -X GET $worms|grep -E "*" 2>&1 | html2text --ignore-links --ignore-images | grep -E -B 4 "Grund" |
OlderNewer