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
/* | |
AUTORE: Vittorio Lo Mele | |
DATA: 19/11/2020 | |
DESCRIZIONE: Programma per l'apertura automatica dei link delle videolezioni | |
in base all'orario del computer. | |
FORMATO CSV ORARIO PER RIGA: Giorno Settimana,Ora Inizio in secondi,Ora fine in secondi,link | |
ESEMPIO RIGA: LUN,29100,32100,https://example.com | |
*/ | |
#include <iostream> | |
#include <fstream> |
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 | |
//RESTful Player Verification API for 'empirefactions.tk' | |
//AUTHOR: mrBackSlash | |
//player verification section | |
//include config | |
require 'config.php'; | |
//get params from request | |
$playername = $link->real_escape_string($_GET['ign']); |
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
/*THIS EXAMPLE CONNECTS TO A SERVER, SENDS A COMMAND AND DISCONNECTS*/ | |
using System; | |
using csmcrc; | |
namespace CsmcrcExample | |
{ | |
class CsmcrcExample | |
{ | |
static void Main(string[] args) | |
{ |
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
/** | |
* Converts an int to a byte[] | |
* @param i Integer to convert | |
* @return byte[] | |
*/ | |
public static byte[] intToByteArray (int i) { | |
ByteBuffer buf = ByteBuffer.allocate(4); | |
buf.order(ByteOrder.LITTLE_ENDIAN); | |
buf.putInt(i); | |
return buf.array(); |
NewerOlder