Skip to content

Instantly share code, notes, and snippets.

View SharpMan's full-sized avatar
🚩
Layer 8

Ismail K SharpMan

🚩
Layer 8
View GitHub Profile
# Vider les tables actuelles
iptables -t filter -F
# Vider les r�gles personnelles
iptables -t filter -X
# Zero counters
iptables -t filter -Z
iptables --policy INPUT ACCEPT
protected function lowReceive(_arg_1:IDataInput):INetworkMessage
{
var _local_2:INetworkMessage;
var _local_3:uint;
var _local_4:uint;
var _local_5:uint;
if (!this._splittedPacket){
if (_arg_1.bytesAvailable < 2){
if (DEBUG_LOW_LEVEL_VERBOSE){
_log.info((("Not enought data to read the header, byte available : " + _arg_1.bytesAvailable) + " (needed : 2)"));
//1-Count high speeds: Find the number of speeds > 100 in the data set.
db.agg_w_loopdata.find( { speed: { $gt: 100 } } ).count()
//2-Volume: Find the total volume for the station Foster NB for Sept 21, 2011.
db.agg_w_loopdata.aggregate([
{ $match: