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 | |
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
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
// Beispiel Twurl Tweet mit Bild | |
// initialisieren mit genauer Byte größe | |
twurl -H upload.twitter.com "/1.1/media/upload.json" -d "command=INIT&media_type=image/jpg&total_bytes=2204" | jq | |
//Das mittlere ist das richtige | |
{ | |
"media_id": 1108021296946917400, |
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 | |
sleep 60 | |
/usr/bin/wget -P /home/foo/falkencam/$(date +%m_%d_%y) http://falken3-webcam.worms.de/webcam/current.jpg | |
# crontab to get Photo every 5 minutes | |
#*/5 * * * * /home/foo/bin/falkencam.sh |
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
### Keybase proof | |
I hereby claim: | |
* I am dewomser on github. | |
* I am dewomser (https://keybase.io/dewomser) on keybase. | |
* I have a public key whose fingerprint is DD17 340A 93E0 906B 941A 47BF B906 747A 55A1 3AFE | |
To claim this, I am signing this object: |
OlderNewer