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
import csv | |
# CSV FILE | |
file_name = "hodgepodge_tcp.csv" | |
# FUNCTION TO PARSE CSV FILE | |
def parseCSV(file): | |
arr = [] | |
with open(file, newline='') as csvf: | |
rd = csv.reader(csvf, delimiter=',') |
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
{ | |
"name": "8clicks", | |
"version": "0.0.1", | |
"description": "8clicks", | |
"main": "start.js", | |
"scripts": { | |
"start": "nodemon start.js" | |
}, | |
"nodemonConfig": { | |
"ignore": [ |
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
/* | |
| @name Example Plugin | |
| @description /ping - Command name is defined by filename | |
| @author David Dewes <hello@david-dewes.de> | |
*/ | |
/* Add a little description for your command /ping */ | |
module.exports.description = "A command to join the Guest group"; | |
/* If you want to have a channel restriction for this command uncomment & replace id */ |
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 | |
/** | |
* Class Database | |
* | |
* @author Ceytec <david@nani-games.net> | |
*/ | |
class Database { | |
private $dbHost = DB_HOST; | |
private $dbUser = DB_USER; | |
private $dbPass = DB_PASS; |
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
//Usually this variable will get passed through method parameters | |
$emailSendTo = "costumer@t-online.de"; | |
//In this example: ConfirmTemplate. Works this way with every template. | |
$template = new ConfirmTemplate("We need your confirmation!", | |
"Your password was changed", | |
"Hello,<br/>your password was recently changed. Please confirm this action by clicking the confirmation<br/>button below. Thank you!", | |
"https://google.com/", | |
"https://nani-games.net", | |
"Please confirm your action here: https://google.com or cancel here: https://nani-games.net"); |
NewerOlder