pacmd load-module module-null-sink sink_name=rtp format=s16le channels=1 rate=16000
pacmd load-module module-rtp-send source=rtp.monitor
This sets up a multicast socket for RTP streams. When I tested this was 224.0.0.56:46136
| #!/bin/bash | |
| # This script is based on https://unix.stackexchange.com/revisions/480191/9 . | |
| # The following changes proved to be necessary to make it work on CentOS 7: | |
| # * removed disk info (model, size) - not very useful, might not work in many cases. | |
| # * using "bw" instead of "bw_bytes" to support fio version 3.1 (those availible through yum @base) | |
| # * escaping exclamation mark in sed command | |
| # * the ".fiomark.txt" is not auto-removed | |
| LOOPS=5 #How many times to run each test |
| global: | |
| evaluation_interval: 15s | |
| rule_files: | |
| - smokeping.rules | |
| scrape_configs: | |
| - job_name: 'blackbox_icmp' | |
| metrics_path: /probe | |
| params: | |
| module: [icmp] | |
| scrape_interval: 1s |
www.iuqerfsodp9ifjaposdfjhgosurijfaewrwergwea.com is up the virus exits instead of infecting the host. (source: malwarebytes). This domain has been sinkholed, stopping the spread of the worm. Will not work if proxied (source).update: A minor variant of the viru
| # directkeys.py | |
| # http://stackoverflow.com/questions/13564851/generate-keyboard-events | |
| # msdn.microsoft.com/en-us/library/dd375731 | |
| import ctypes | |
| from ctypes import wintypes | |
| import time | |
| user32 = ctypes.WinDLL('user32', use_last_error=True) |
I screwed up using git ("git checkout --" on the wrong file) and managed to delete the code I had just written... but it was still running in a process in a docker container. Here's how I got it back, using https://pypi.python.org/pypi/pyrasite/ and https://pypi.python.org/pypi/uncompyle6
apt-get update && apt-get install gdb
| Put this in your `local-configure.yml` file, add as many users as you need: | |
| users: | |
| - name: fulvio | |
| sudoer: yes | |
| auth_key: ssh-rsa blahblahblahsomekey this is actually the public key in cleartext | |
| - name: plone_buildout | |
| group: plone_group | |
| sudoer: no | |
| auth_key: ssh-rsa blahblahblah ansible-generated on default |
| #!/bin/bash | |
| # restore with the following command: | |
| # gunzip --stdout <filename>.img.gz | dd bs=10M of=/dev/sdX | |
| # pv(1) is optional and provides a progress bar | |
| # just remove it from the pipe, when you don't want it | |
| DATE=$(date +"%Y-%m-%d_%H-%M") | |
| GREEN='\033[1;32m' |
DB
ovs-vsctl list open_vswitch
ovs-vsctl list interface
ovs-vsctl list interface vxlan-ac000344
ovs-vsctl --columns=options list interface vxlan-ac000344
ovs-vsctl --columns=ofport,name list Interface
ovs-vsctl --columns=ofport,name --format=table list Interface
ovs-vsctl -f csv --no-heading --columns=_uuid list controller
ovs-vsctl -f csv --no-heading -d bare --columns=other_config list port
$ wget -e robots=off -r -np 'http://example.com/folder/'