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
#include <linux/list.h> | |
struct ls_file_role { | |
unsigned long i_ino; | |
unsigned char u_acc; | |
struct list_head list; | |
}; | |
struct ls_network_role { | |
unsigned char *ip; |
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
hg clone http://code.nsnam.org/bake bake | |
export BAKE_HOME=`pwd`/bake | |
export PATH=$PATH:$BAKE_HOME | |
export PYTHONPATH=$PYTHONPATH:$BAKE_HOME | |
mkdir dce | |
cd dce | |
sudo apt-get -y install python g++ mercurial cvs git bzr tar unzip unrar p7zip-full xz-utils make cmake patch dh-autoreconf bison flex g++ libc6:i386 libc6 libc6-dbg libdb-dev libexpat1-dev libpcap-dev libssl-dev python-pygoocanvas python-pygraphviz python-dev qt4-dev-tools | |
bake.py configure -e dce-linux-1.6 |
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
<?xml version="1.0" ?> | |
<FlowMonitor> | |
<FlowStats> | |
<Flow flowId="1" timeFirstTxPacket="+1000000000.0ns" timeFirstRxPacket="+1005109458.0ns" timeLastTxPacket="+5999840000.0ns" timeLastRxPacket="+6489120180.0ns" delaySum="+2084486730148.0ns" jitterSum="+4078096464.0ns" lastDelay="+489280180.0ns" txBytes="32125000" rxBytes="4583852" txPackets="31250" rxPackets="4459" lostPackets="0" timesForwarded="0"> | |
</Flow> | |
<Flow flowId="2" timeFirstTxPacket="+1000000000.0ns" timeFirstRxPacket="+1012731948.0ns" timeLastTxPacket="+5999840000.0ns" timeLastRxPacket="+6493790157.0ns" delaySum="+2086156932274.0ns" jitterSum="+4158582589.0ns" lastDelay="+494750157.0ns" txBytes="32125000" rxBytes="4507780" txPackets="31250" rxPackets="4385" lostPackets="0" timesForwarded="0"> | |
</Flow> | |
<Flow flowId="3" timeFirstTxPacket="+1000000000.0ns" timeFirstRxPacket="+1002431297.0ns" timeLastTxPacket="+5999840000.0ns" timeLastRxPacket="+6507965249.0ns" delaySum="+2092775736621.0ns" jitterSum="+4562612488.0ns" lastDelay="+5084 |
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
""" | |
+-----------------------------------------------+ | |
| Length (24) | | |
+---------------+---------------+---------------+ | |
| Type (8) | Flags (8) | | |
+-+-------------+---------------+-------------------------------+ | |
|R| Stream Identifier (31) | | |
+=+=============================================================+ | |
| Frame Payload (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
// NEW IN VERSION 1.6c (by Jorge Gomez): | |
// Fixed variable type in pin structure: pin.state should be int, not byte | |
// Optimized speed of execution while receiving data from computer in readSerialPort() | |
// NEW IN VERSION 1.6b (by Jorge Gomez): | |
// Added new structure arduinoPins to hold the pins information: | |
// - This makes the code easier to read and modify (IMHO) | |
// - Allows to change the type of pin more easily to meet non standard use of S4A | |
// - Eliminates the need of having to deal with different kind of index access (ie: states[pin-4]) | |
// - By using an enum to hold all the possible output pin states the code is now more readable |
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
import pytest | |
def pytest_load_initial_conftests(args, early_config, parser): | |
print("initial conftest") | |
print(args) | |
print(early_config) |
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
int atan[262] = {0, 1, 2, 2, 3, 3, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 28, 29, 29, 30, 30, 31, 31, 31, 32, 32, 33, 33, 34, 34, 34, 35, 35, 35, 36, 36, 37, 37, 37, 38, 38, 38, 39, 39, 40, 40, 40, 41, 41, 41, 42, 42, 42, 42, 43, 43, 43, 44, 44, 44, 45, 45, 45, 45, 46, 46, 46, 47, 47, 47, 47, 48, 48, 48, 48, 49, 49, 49, 49, 50, 50, 50, 50, 51, 51, 51, 51, 52, 52, 52, 52, 53, 53, 53, 53, 53, 54, 54, 54, 54, 54, 55, 55, 55, 55, 55, 56, 56, 56, 56, 56, 56, 57, 57, 57, 57, 57, 58, 58, 58, 58, 58, 58, 58, 59, 59, 59, 59, 59, 59, 60, 60, 60, 60, 60, 60, 60, 61, 61, 61, 61, 61, 61, 61, 62, 62, 62, 62, 62, 62, 62, 62, 63, 63, 63, 63, 63, 63, 63, 63, 64, 64, 64, 64, 64, 64, 64, 64, 64, 65, 65, 65, 65, 65, 65, 65, 65, 65, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 69, 69, 69, 69, 69, 69, 69, 69, |
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
iptables -A INPUT -p all -s <ip_addr> -j DROP |
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
import java.awt.EventQueue; | |
import java.awt.FlowLayout; | |
import java.awt.GridBagConstraints; | |
import java.awt.GridBagLayout; | |
import java.awt.GridLayout; | |
import java.awt.Insets; | |
import javax.swing.BoxLayout; | |
import javax.swing.JButton; | |
import javax.swing.JFrame; |
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
ham Go until jurong point, crazy.. Available only in bugis n great world la e buffet... Cine there got amore wat... | |
ham Ok lar... Joking wif u oni... | |
spam Free entry in 2 a wkly comp to win FA Cup final tkts 21st May 2005. Text FA to 87121 to receive entry question(std txt rate)T&C's apply 08452810075over18's | |
ham U dun say so early hor... U c already then say... | |
ham Nah I don't think he goes to usf, he lives around here though | |
spam FreeMsg Hey there darling it's been 3 week's now and no word back! I'd like some fun you up for it still? Tb ok! XxX std chgs to send, £1.50 to rcv | |
ham Even my brother is not like to speak with me. They treat me like aids patent. | |
ham As per your request 'Melle Melle (Oru Minnaminunginte Nurungu Vettam)' has been set as your callertune for all Callers. Press *9 to copy your friends Callertune | |
spam WINNER!! As a valued network customer you have been selected to receivea £900 prize reward! To claim call 09061701461. Claim code KL341. Valid 12 hours only. | |
spam Had your mobile 11 months |