I hereby claim:
- I am gilou on github.
- I am gilou (https://keybase.io/gilou) on keybase.
- I have a public key ASBfDNMVlRcNCtmtGYG818VCNx7z5V7CgPtfr1M-FAYIFgo
To claim this, I am signing this object:
sudo apt-get install build-essential automake | |
sudo apt-get install ocaml-findlib libcamomile-ocaml-dev libshout3-dev libvorbis-dev libid3tag0-dev libasound2-dev autoconf automake libtag1-dev libmp3lame-dev libfdk-aac-dev libopus-dev libfaad-dev ladspa-sdk libsoundtouch-dev libpcre-ocaml-dev libinotify-ocaml-dev libjack-dev libsamplerate-dev libmad0-dev libflac-dev | |
# schroeding: libschroedinger-dev | |
# dssi : dssi-dev | |
# xml playlist: libxmlm-ocaml-dev | |
# Debian : libresample1-dev ou rien |
KVM process : | |
29.36% [kernel] [k] read_tsc | |
11.49% [kernel] [k] ktime_get | |
8.65% [kernel] [k] kvm_arch_vcpu_runnable | |
8.00% [kernel] [k] vmx_interrupt_allowed | |
7.51% [kernel] [k] apic_update_ppr | |
6.70% [kernel] [k] kvm_apic_accept_pic_intr | |
4.02% [kernel] [k] kvm_vcpu_check_block | |
3.93% [kernel] [k] kvm_cpu_has_interrupt | |
3.91% [kernel] [k] kvm_apic_has_interrupt |
# Somewhere along the Vagrantfile, you need to set up the ansible provisionner | |
config.vm.provision "ansible" do |ansible| | |
ansible.playbook = "go.yml" | |
end | |
# ... |
server 10.8.0.0 255.255.255.0 | |
# Reseau 1 | |
route 192.168.1.0 255.255.255.0 | |
push "route 192.168.1.0 255.255.255.0" | |
# Reseau 2 | |
route 192.168.2.0 255.255.255.0 | |
push "route 192.168.2.0 255.255.255.0" | |
#conf / client dans ccd | |
client-config-dir ccd |
package routines; | |
import java.util.Locale; | |
import com.github.javafaker.Faker; | |
/* | |
* user specification: the function's comment should contain keys as follows: 1. write about the function's comment.but | |
* it must be before the "{talendTypes}" key. | |
* | |
* 2. {talendTypes} 's value must be talend Type, it is required . its value should be one of: String, char | Character, |
VM_NAME="MyVM" | |
# Use tac to reverse list given by --machinereadble outut of VBoxManage. | |
# Get ID from the SnapshotUUID-1-1-1-1-1-1="76c627e3-1c0a-4d0c-b680-b4f1c6175dac" output | |
for snap in $(VBoxManage snapshot "$VM_NAME" list --machinereadable| grep '^SnapshotUUID' | tac - | sed 's/SnapshotUUID\(-[0-9-]\+\)\?="\([0-9a-f-]\+\)"/\2/g') ; do | |
echo "Deleting Snap $snap" ; VBoxManage snapshot "$VM_NAME" delete "$snap" | |
done |
I hereby claim:
To claim this, I am signing this object:
for vm in $(qm list | awk '/running/ { print $1 }' ) ; do qm set $vm -description "IPs détectées ($(date))$(qm agent $vm network-get-interfaces |jq '.[]|."ip-addresses"[]|."ip-address"' | grep -ve '127\.0\.0\.1\|::1\|fe80::' | sed 's/"//g')"; done |
set("log.file.path", "/tmp/test.log") | |
set("server.socket.path","/tmp/<script>.sock") | |
set("server.socket",true) | |
# Simple check function to match any "Finished with ...." line in the logs | |
def checker(n) | |
# get info from upcoming request | |
m = request.metadata(n) | |
# command to find if the file was played according to the log | |
command = 'grep -F' |
socket = "/home/ubuntu/demo/liq.sock" | |
logfile = "/home/ubuntu/demo/liq.log" | |
set("log.level", 4) | |
set("log.file.path", logfile) | |
# Print log messages to the console, | |
# can also be done by passing the -v option to liquidsoap. | |
set("log.stdout", log_stdout) | |
# Use the telnet server for requests |