Search
You can find the results of your search below.
Matching pagenames:
Fulltext results:
- lxd
- <file bash lxc-prepare (chmod +x)> #!/bin/bash NAME=$1 ALIAS=$2 ALIAS=${ALIAS:=xenial} lxc image sho... systemctl restart apt-cacher-ng fi lxc info $NAME >/dev/null 2>&1 if [ ! $? = 0 ]; then lxc launch $ALIAS $NAME fi if [ -f /etc/apt/apt.conf.d/proxy.conf ]; th... lxc file push /etc/apt/apt.conf.d/proxy.conf $NAME/etc/apt/apt.conf.d/ fi lxc file push /etc/in
- minikube
- .yaml> apiVersion: v1 kind: ConfigMap metadata: name: postgres-config labels: app: postgres data... apiVersion: apps/v1 kind: Deployment metadata: name: postgres spec: replicas: 1 selector: mat... app: postgres spec: volumes: - name: postgres-pv-storage persistentVolumeClaim: claimName: postgres-pv-claim containers: - na
- airos
- current radio stats // airOS_getFile_HTTP ($username, $password, $file, $address, $schema) #$out = ai... PE print $out; function airOS_getFile_HTTP ($username, $password, $file, $address, $schema) { ... curl_setopt ($ch, CURLOPT_POSTFIELDS, Array ('username' => $username, 'password' => $password)); curl_setopt ($ch, CURLOPT_HEADER, 1); $respon
- openvpn @tips:vpn
- tca </code> ==== server certificate ==== <code> NAME=legnago-gw ./pkitool --pass --server $NAME # create passphrase here openssl rsa -in keys/$NAME.key -out keys/$NAME.pem # give passphrase here chmod 600 keys/$NAME.pem </code> ==== client certificat
- git
- labla </file> <file ini ~/.gitconfig> [user] name = Stefano Scipioni email = blabla [core] ... auto </file> ===== New repo ===== <code bash> NAME=project.git mkdir $NAME cd $NAME git init --bare mv hooks/post-update* hooks/post-update chmod +x hooks/post-update git update-
- video
- ] || continue SIZE=$(stat -c%s "$f") OUTNAME=$OUTDIR/${f%.*}.mkv [ -f "$OUTNAME" ] && ( echo "Skip $OUTNAME"; continue ) if [ $SIZE -gt $(($LIMIT_MBYTE*1000000)) ]; then ... :v libx264 -crf $QUALITY -c:a copy -c:s copy "$OUTNAME" else echo mkvmerge $f mkvme
- ansible
- === playbook ===== <file yaml helloworld.yaml> - name: helloworld hosts: nodes tasks: - name: Ping my hosts ansible.builtin.ping: - name: Print message ansible.builtin.debug: m... lloworld.yaml </code> <file yaml addkeys.yaml> - name: Add ssh key to ubuntu user hosts: nodes task
- ssl
- rg echo quit | openssl s_client -showcerts -servername "$API_HOST" -connect "$API_HOST":443 > cacert.pem... nginx ==== <file> server { listen 80; server_name nextcloud.csgalileo.org; server_tokens off; ... } location / { return 301 https://$server_name$request_uri; } } server { listen 443; server_name nnextcloud.csgalileo.org; ssl_certificat
- ceph-on-k0s
- : <code> ubuntu@joint-mongoose:~$ helm install --namespace "ceph-csi-rbd" "ceph-csi-rbd" ceph-csi/ceph-csi-rbd NAME: ceph-csi-rbd LAST DEPLOYED: Wed Oct 30 10:58:07 2024 NAMESPACE: ceph-csi-rbd STATUS: deployed REVISION: 1 T... goose:~$ sudo k0s kubectl -n ceph-csi-rbd get all NAME READY
- fail2ban
- r/local/bin/telegram-send -g --format markdown "`uname -n`: [Fail2Ban] jail <name> è stata avviata" actionstop = /usr/local/bin/telegram-send -g --format markdown "`uname -n`: [Fail2Ban] jail <name> è stata fermata" actioncheck = actionban = /usr/local/bin/telegram-send -g
- cordova
- droidManifest.xml <code> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> </co... llback; cb_save_env = env; const char *fname = (*env)->GetStringUTFChars(env, path, NULL); LOGD("path is %s", fname); read_gpio((char *)fname, on_new_value);
- zfs
- Start (sector) End (sector) Size Code Name 1 1026048 74426367 35.0 GiB ... zfs create rpool/libvirt virsh pool-define-as --name zfspool --source-name rpool/libvirt --type zfs virsh pool-start zfspool virsh pool-autostart zfspool </... ager) <code> virsh vol-create-as --pool zfspool --name maas2 --capacity 10G </code> destroy volume <cod
- networknamespaces @tips:linux
- ====== Network Namespaces ====== ===== setup ===== install [[https://raw.githubusercontent.com/Lekenst... l </code> bash prompt, add to .bashrc <code> _ns_name=$(ip netns identify 2>/dev/null) PS1=${_ns_name:+(${_ns_name})}${PS1} unset _ns_name </code> ===== use ===== create namespace "0" <code> netns 0 sta
- dns
- e> enable rfc2136 updates on domain in /etc/bind/named.conf.local <code> zone "nawigare.it" { ........ // this is for certbot check-names warn; update-policy { grant galileo-tsig-key name _acme-challenge.nawigare.it. txt; }; ... o ===== * https://apps.db.ripe.net * MNTNER name: MNT-CSGALILEO ===== prettier ===== <code bash>
- jibri
- a> local function router(txn, value) local fe_name = txn.f:fe_name() local fe_room = txn.f:url_param("room") local fe_char = fe_room:byte(1) c... .Debug("Returning bk_https \n") core.Debug(fe_name) core.Debug(fe_room) core.Debug(fe_char) if fe_char % 2 == 1 then if fe_name == "ft_https" then core.Debug("Return