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 persistentVolumeCl... me: postgres-pv-claim containers: - name: postgres image: postgres:12
- 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-
- 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
- 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
- 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
- ceph-on-k0s
- eph-csi-rbd" "ceph-csi-rbd" ceph-csi/ceph-csi-rbd NAME: ceph-csi-rbd LAST DEPLOYED: Wed Oct 30 10:58:07 ... goose:~$ sudo k0s kubectl -n ceph-csi-rbd get all NAME READY ... db975cd5-mbgcd 6/6 Running 0 6s NAME DESIRED CUR... 1 1 <none> 6s NAME READY UP-
- 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
- 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
- fail2ban
- 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
- 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
- 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
- networknamespaces @tips:linux
- 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 start </code> r
- ionic
- r example <file xml res/xml/config.xml> <feature name="TestPlugin"> <param name="android-package" value="org.csgalileo.giano.TestPlugin"></param> <param name="onload" value="true"></param> </feature> </file