Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View plq's full-sized avatar

Burak Arslan plq

View GitHub Profile

slow

This bash script offers quick shortcuts to simulate slower network connections. It is useful when you need to simulate a wireless network on a Linux network server, especially when you are using a virtual machine guest on your local machine or in the cloud.

slow 3G                   # Slow network on default eth0 down to 3G wireless speeds
slow 3G -l 600ms -p 10%   # slow network on eth0 and setup latency to 600ms packetloss to 10%
slow reset                # Reset connection for default eth0 to normal
slow vsat --latency=500ms # Simulate satellite internet  with a high latency

slow dsl -b 1mbps # Simulate DSL with a slower speed than the default

@plq
plq / README
Created August 26, 2013 13:31 — forked from anonymous/README
sample nuitka test program.
@plq
plq / Client_console.xml
Created November 21, 2012 13:22
[Soap-Python] Problem with simpleContent
Client's consol:
================================================================================
SENT:
<?xml version="1.0" encoding="UTF-8"?>
No handlers could be found for logger "suds.umx.typed"
<SOAP-ENV:Envelope xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="spyne.test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<ns0:Body>
<ns1:testMethod>
<ns1:req>
@plq
plq / badcalc.wsdl
Created May 17, 2012 12:58
Using rpclib with wsdl containing namespaced messages
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:calc="http://www.example.com/wsdl/calc/v1.0"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.example.com/wsdl/calc/v1.0"
name="CalcWebService">
<wsdl:types>
@plq
plq / sample
Last active August 29, 2015 14:15 — forked from anonymous/teo.py
1D:EA:DE:AD:BE:EF (unknown)
1D:EA:DE:AD:BE:EF (unknown)
1D:EA:DE:AD:BE:EF (unknown)
1D:EA:DE:AD:BE:EF (unknown)
1D:EA:DE:AD:BE:EF (unknown)
1D:EA:DE:AD:BE:EF (unknown)
1D:EA:DE:AD:BE:EF (unknown)
1D:EA:DE:AD:BE:EF (unknown)
1D:EA:DE:AD:BE:EF (unknown)
1D:EA:DE:AD:BE:EF (unknown)
@plq
plq / README
Last active August 29, 2015 14:14 — forked from Themanwithoutaplan/sml.xsd
Schemas are from
http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-376,%20Fourth%20Edition,%20Part%201%20-%20Fundamentals%20And%20Markup%20Language%20Reference.zip
found as link of ECMA-376 4th edition Part 1 at:
http://www.ecma-international.org/publications/standards/Ecma-376.htm