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
| [global] | |
| # | |
| # Default Data Set | |
| # | |
| twoStepFlag 1 | |
| clientOnly 0 | |
| socket_priority 0 | |
| priority1 20 | |
| priority2 128 | |
| domainNumber 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
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <h1>Nintendo Switch Bowser Meme Generator</h1><br> | |
| <form action="v.php" method="post" enctype="multipart/form-data"> | |
| Select very bad image: | |
| <input type="file" name="fileToUpload" id="fileToUpload"> | |
| <input type="submit" value="Upload Image" name="submit"> | |
| </form> |
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
| { | |
| "msg_type": "status", | |
| "author": "bob@example.com", | |
| "payload": { | |
| "text:" obvious, | |
| "last_sig": hash | |
| "media_link": http link //optional | |
| "quoted_tweet_id": siehe unten //optional, wenn da mitteilung an autor pushen | |
| "geo": Cords halt | |
| }, |
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
| var twitter = require("twitter"); | |
| var client = new twitter({ | |
| consumer_key: '', | |
| consumer_secret: '', | |
| access_token_key: '', | |
| access_token_secret: '' | |
| }); | |
| var markov = require('markov'); |
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
| // Quick & Dirty Discord Markov Bot | |
| // Written in Node.js | |
| // install: npm install markov discord.io fs | |
| // then insert a discord bot token and start it (be sure to have write permissions - it will store it's model in a simple text file) | |
| var Discord = require('discord.io'); | |
| var bot = new Discord.Client({ | |
| token: "", | |
| autorun: true | |
| }); |
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
| 1. Runterladen: git clone https://github.com/letsencrypt/letsencrypt | |
| 2. Ins Verzeichnis: cd letsencrypt | |
| 3. Zertifikat generieren: ./letsencrypt-auto certonly -w /var/www/html -d kirschn.de -d www.kirschn.de | |
| Obrige Zeile generiert ein Zertifikat für die Domains www.kirschn.de und kirschn.de, Webroot vom Webserver ist /var/www/html | |
| Let's Encrypt erstellt dort eine Datei, auf welche dann vom Dienst zugegriffen wird. | |
| Besteht Zugriff auf dise Datei von allen mit -d gekennzeichneten Domains lassen sich danach die Zertifikate sowie dier Keychain in | |
| /etc/letsencrypt/live/ur.domain/ finden | |
| 4. Nach neunzig Tagen Zertifikat erneuern | |
| 4.1 Wieder in das Let's Encrypt Verzeichnis | |
| 4.2 ./letsencrypt-auto certonly -w /var/www/html -d kirschn.de -d www.kirschn.de |