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
pg = require 'pg' | |
fs = require 'fs' | |
conString = "tcp://user:password@localhost/tv"; | |
client = new pg.Client(conString); | |
client.connect(); | |
mediaList = JSON.parse(fs.readFileSync('media-list/media.json')) | |
numbers = |
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
#include "Crypto.h" | |
#include "keys.h" | |
Crypto::Crypto( void ) : | |
m_useNewKeys(false) | |
, m_localCounter() | |
, m_remoteCounter() | |
{} |
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
package crypto; | |
public class Crypto { | |
private char[] Key1 = { | |
// Omitted | |
}; | |
private char[] Key2 = { | |
// Omitted |
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 | |
/* | |
** MySQL Abstraction Class | |
** Allows object creation for DB interaction on more advanced level. | |
** Objective of this class: Bring exceptions into MySQL errors to provide | |
** Better error verification and diagnosis. | |
** | |
** REQUIREMENTS: | |
** PHP5 with MySQLi support compiled and configured |
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
package mamclient; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.Iterator; | |
import java.util.List; | |
import java.util.Map; | |
import csocket.Packet; |
NewerOlder