This file contains hidden or 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 | |
| #is dependent on [efax,inotify-tools,beep] and your samba server of choice | |
| #===HOW2INSTALL===# | |
| #make the fax dir "sudo chmod +rw" | |
| #make the sript "sudo chmod +rx" and run it as sudo! | |
| # |
This file contains hidden or 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 true;do | |
| MONITORDIR="/srv/dev-disk-by-label-Podcasts/" | |
| inotifywait -m --exclude "[^m][^3][^u]$" "$MONITORDIR" -e create -e moved_to | | |
| while read path action file; do |
This file contains hidden or 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 | |
| HOST='webcam.wunderground.com' | |
| USER='WU_8595713CAM1' | |
| PASSWD='NOT UR PW!!' | |
| FILE='/tmp/camsnap.jpg' | |
| fswebcam -r 640x480 --jpeg 50 $FILE | |
| #FILE=`ls -lt *snapshot.jpg | head -1 | awk '{print $9}'` | |
| #echo "file is $FILE" | |
| /usr/bin/ftp -n -v $HOST << END_SCRIPT | |
| user $USER $PASSWD |
This file contains hidden or 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
| beep -f 622.25 -l 119.60 -D 5.20 -n -f 659.26 -l 119.60 -D 5.20 -n -f 739.99 -l 244.40 -D 5.20 -n -f 987.77 -l 244.40 -D 5.20 -n -f 622.25 -l 119.60 -D 5.20 -n -f 659.26 -l 119.60 -D 5.20 -n -f 739.99 -l 119.60 -D 5.20 -n -f 987.77 -l 119.60 -D 5.20 -n -f 1108.73 -l 119.60 -D 5.20 -n -f 1244.51 -l 119.60 -D 5.20 -n -f 1108.73 -l 119.60 -D 5.20 -n -f 932.33 -l 119.60 -D 5.20 -n -f 987.77 -l 244.40 -D 5.20 -n -f 739.99 -l 244.40 -D 5.20 -n -f 622.25 -l 119.60 -D 5.20 -n -f 659.26 -l 119.60 -D 5.20 -n -f 739.99 -l 244.40 -D 5.20 -n -f 987.77 -l 244.40 -D 5.20 -n -f 1108.73 -l 119.60 -D 5.20 -n -f 932.33 -l 119.60 -D 5.20 -n -f 987.77 -l 119.60 -D 5.20 -n -f 1108.73 -l 119.60 -D 5.20 -n -f 1318.51 -l 119.60 -D 5.20 -n -f 1244.51 -l 119.60 -D 5.20 -n -f 1318.51 -l 119.60 -D 5.20 -n -f 1108.73 -l 119.60 -D 5.20 -n -f 739.99 -l 244.40 -D 5.20 -n -f 830.61 -l 244.40 -D 5.20 -n -f 622.25 -l 119.60 -D 5.20 -n -f 622.25 -l 119.60 -D 130.00 -n -f 493.88 -l 119.60 -D 5.20 -n -f 587.33 -l 119.60 -D 5.20 -n -f 554.37 -l 119 |
This file contains hidden or 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
| #include "DigiKeyboard.h" | |
| void setup() { | |
| // put your setup code here, to run once: | |
| pinMode(1, OUTPUT); //LED on Model A | |
| pinMode(5, INPUT); | |
| digitalWrite(1, HIGH); | |
| DigiKeyboard.delay(100); | |
| digitalWrite(1, LOW); | |
| DigiKeyboard.delay(1000); | |
| } |
This file contains hidden or 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 :;do | |
| printf "\n" | |
| sleep 0.1 | |
| clear | |
| printf ".\n" | |
| sleep 0.1 | |
| clear | |
| printf "o\n" | |
| sleep 0.1 |
This file contains hidden or 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 :; do | |
| if /usr/bin/trayopen /dev/sr0; then | |
| sleep 20 | |
| until abcde -c /home/hacker3000/.abcde.conf; do | |
| beep -l 10000 -f 100 | |
| done | |
| beep -f 1000 -n -f 1500 -n -f 600 -n -f 500 -n -f 100 -r 2 -l 10 -n -f 50 -r 2 -l 200 -n -f 40 -r 2 -l 300 -n -f 60 -r 3 -n -f 50 -r 3 | |
| until ! /usr/bin/trayopen /dev/sr0; do | |
| printf "close tray\n" |
This file contains hidden or 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
| #include <DigiKeyboardDe.h> | |
| void setup() { | |
| // put your setup code here, to run once: | |
| pinMode(0, INPUT); | |
| pinMode(1, INPUT); | |
| pinMode(5, INPUT); | |
| DigiKeyboardDe.delay(1); | |
| } |
This file contains hidden or 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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdbool.h> | |
| #include <time.h> | |
| int main () { | |
| srand ( time(NULL) ); | |
| bool yes_no = rand() & 1; | |
| if (yes_no) { | |
| printf("im fine\n"); | |
| return 0; |
This file contains hidden or 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 json | |
| import requests | |
| import time | |
| from playsound import playsound | |
| user_IDs = ["77990", "82448"] #Enter you user IDs here. Put them in quotes and seperate them by commas | |
| user_id = "" | |
| last_state = [False] * len(user_IDs) |
OlderNewer