name

Search

You can find the results of your search below.

lxd
34 Hits, Last modified:
<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
20 Hits, Last modified:
.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 persistentVolumeCl... me: postgres-pv-claim containers: - name: postgres image: postgres:12
openvpn @tips:vpn
18 Hits, Last modified:
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
14 Hits, Last modified:
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-
ansible
10 Hits, Last modified:
=== 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
7 Hits, Last modified:
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... site.conf> server { listen 80; server_name "mail.csgalileo.org"; # create this folde
video
6 Hits, Last modified:
for folder in $(find /media/camere/ -maxdepth 1 -name "camera*" -type d); do for video in $(find $folder -newer $folder.jpg -name "*mp4"); do i=$(echo "$folder" | tail -c 2) ... !/bin/bash CHROOT=/media/camere/ FILENAME=$1 # name of the first folder level inside CHROOT INPUT=$(c... {INPUT}.jpg [ -f $LOCK ] && exit 0 touch $LOCK name="`date +%Y-%m-%d_%H.%M`" i=${INPUT/camera/} video
networknamespaces @tips:linux
6 Hits, Last modified:
====== 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
5 Hits, Last modified:
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
5 Hits, Last modified:
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
zfs
5 Hits, Last modified:
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
fail2ban
4 Hits, Last modified:
g --format markdown "`uname -n`: [Fail2Ban] jail <name> è stata avviata" actionstop = /usr/local/bin/tel... g --format markdown "`uname -n`: [Fail2Ban] jail <name> è stata fermata" actioncheck = actionban = /usr/... ato dopo <failures> tentativi falliti dalla jail <name>" actionunban = [Init] init = 'Fail2Ban Telegra... xretry = 3 action = %(action_)s telegram[name=GIANO] </file> ===== test ===== test <code> fa
telegram
4 Hits, Last modified:
bot[BOT_API_KEY]/sendMessage?chat_id=@[MY_CHANNEL_NAME]&text=[MY_MESSAGE_TEXT] </code> ===== BOT =====... cess logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', ... level=logging.INFO) logger = logging.getLogger(__name__) def _isAuthorized(update): isOk = update... rror) updater.start_polling() updater.idle() if __name__ == '__main__': main() </code>
install @tips:archlinux
4 Hits, Last modified:
s grub <code> pacman -S grub os-prober ZPOOL_VDEV_NAME_PATH=1 grub-install --target=i386-pc /dev/sda ZPOOL_VDEV_NAME_PATH=1 grub-mkconfig -o /boot/grub/grub.cfg </cod... pacman --noconfirm -S grub efibootmgr ZPOOL_VDEV_NAME_PATH=1 grub-install --target=x86_64-efi --efi-dir... e> generate grub config <code> export ZPOOL_VDEV_NAME_PATH=1 grub-mkconfig -o /boot/grub/grub.cfg </cod
airos
3 Hits, Last modified:
ile; } ?> </code> <code javascript> { "chain_names": [ { "number": 1, "name": "Chain 0" }, { "number": 2, "name": "Chain 1" } ], "host": { "hostname"
brainstorming
3 Hits, Last modified:
ionic
3 Hits, Last modified:
jupyterhub
3 Hits, Last modified:
keras
3 Hits, Last modified:
pcb
3 Hits, Last modified:
postgres @tips:db
3 Hits, Last modified:
cordova
2 Hits, Last modified:
k80
2 Hits, Last modified:
overpass
2 Hits, Last modified:
pulsar
2 Hits, Last modified:
tmux
2 Hits, Last modified:
redis @tips:db
2 Hits, Last modified:
atom
1 Hits, Last modified:
gnss
1 Hits, Last modified:
windows10
1 Hits, Last modified:
zabbix
1 Hits, Last modified:
adb @tips:android
1 Hits, Last modified:
bootanimation @tips:android
1 Hits, Last modified:
oracle @tips:db
1 Hits, Last modified:
minecraft @tips:gameengine
1 Hits, Last modified:
minetest @tips:gameengine
1 Hits, Last modified:
gpio @tips:radxa
1 Hits, Last modified:
linux @tips:radxa
1 Hits, Last modified:
xenial @tips:ubuntu
1 Hits, Last modified:
pptp @tips:vpn
1 Hits, Last modified: