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:
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 |
# Compare two pairs, according to snd value | |
def compare_snd(a, b) | |
if snd(a) == snd(b) then | |
0 | |
else | |
if snd(a) > snd(b) then | |
1 | |
else | |
-1 | |
end |
routes: | |
- to: 0.0.0.0/0 | |
via: GW_IPV4 | |
on-link: true | |
- to: IPV6_RAN:GEff:ff:ff:ff:ff | |
scope: link | |
- to: ::/0 | |
via: IPV6_RAN:GEff:ff:ff:ff:ff | |
on-link: true |
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' |
FROM base/archlinux:latest | |
RUN \ | |
# First, update everything (start by keyring and pacman) | |
pacman -Sy && \ | |
pacman -S archlinux-keyring --noconfirm --noprogressbar --quiet && \ | |
pacman -S pacman --noconfirm --noprogressbar --quiet && \ | |
pacman-db-upgrade && \ | |
pacman -Su --noconfirm --noprogressbar --quiet && \ |
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 |
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 |
I hereby claim:
To claim this, I am signing this object:
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 |
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, |