Fulltext results:
- syntax @wiki
- ine** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. T... t with some linebreaks\\ Note that the two backslashes are only recognized at the end of a line\\ or f... with some linebreaks\\ Note that the two backslashes are only recognized at the end of a line\\ or... by\\ a whitespace \\this happens without it. You should use forced newlines only if really needed. =
- zsh @tips
- ====== Z shell ====== ===== keys ===== * CTRL + U: this will clear the entire line ===== install ===== <code> sudo apt install -y zsh </code> <code> sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" chsh -s $(which zsh) </
- orin
- Target Hardware * no Host components * no flash board Download [[https://github.com/mistelektron... P]], extract, update BSP and build rootfs <code bash> cd ~/nvidia/nvidia_sdk/JetPack_5.1_Linux_JETSON_... t-p* bootloader/t186ref/BCT/ sudo ./tools/l4t_flash_prerequisites.sh sudo ./apply_binaries.sh sudo cp orin_nx_JP5_1_bsp/nvgpu.ko rootfs/usr/lib/modules/
- lxd @tips
- etwork sudo lxd init </code> Because group membership is only applied at login, you then either need ... er session or use the "newgrp lxd" command in the shell you're going to interact with lxd from <code> newgrp lxd </code> <file bash lxc-prepare (chmod +x)> #!/bin/bash NAME=$1 ALIAS=$2 ALIAS=${ALIAS:=xenial} lxc image show $ALIAS >
- locale @tips:ubuntu
- ====== post install for servers ====== <code bash> apt install -y curl && \ curl -s "http://wiki.csga... buntu:locale?do=export_code&codeblock=1" | /bin/bash </code> <file bash script> apt remove -y unattended-upgrades locale-gen it_IT.UTF-8 locale-gen en_U... =2 sts=2 sw=2 expandtab set paste set mouse=r set showcmd " Show (partial) command in status line. se
- docker @projects:zibaldone:linux
- com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg echo "deb ... [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://d... de> ===== docker backup example ===== <code bash> #!/bin/sh CONTAINER=52e59999a02b TARGET=/backup/ SOURCE=/var/lib/docker/volumes/geonode_3x1t-backup
- homeassistant @projects:internetofthings
- legram notify solved) ==== upgrade ==== <code bash> pip install -U homeassistant </code> and after ... nt/fabric-home-assistant ==== hass ==== <code bash> sudo apt install python3 python3-venv incron mc ... ctivate echo "source ~/venv/bin/activate" >> ~/.bashrc pip install -U pip wheel pip install homeassist... multi-user.target </file> enable service <code bash> systemctl daemon-reload systemctl enable hass </
- ssl @tips
- T=sso.csgalileo.org echo quit | openssl s_client -showcerts -servername "$API_HOST" -connect "$API_HOS... -hook = systemctl reload nginx </code> ===== acme.sh integration for letsencrypt ===== On host that has apache/nginx install acme.sh <code bash> wget -O - https://get.acme.sh | sh . ~/.bashrc # now /root/.acme.sh/acme.sh.env is aval
- xenial @tips:ubuntu
- dd if=xenial-copy.iso of=/dev/sd? </code> ===== ssh ===== See https://www.gentoo.org/support/news-items/2015-08-13-openssh-weak-keys.html Re-enable ssh-dss key in /etc/ssh/sshd_config <code> PubkeyAcceptedKeyTypes=+ssh-dss </code> ~/.ssh/config <code>
- git @tips
- tty=format:\"%h %ad | %s%d [%an]\" --graph --date=short type = cat-file -t dump = cat-file -p [push] default = simple [color] ui = auto </file> ===== New repo ===== <code bash> NAME=project.git mkdir $NAME cd $NAME git init -... -info </code> ===== change origin ===== <code bash> git remote -v </code> <code bash> git remote se
- zfs @tips
- {{tag>[zfs libvirt]}} ====== ZFS ====== <code bash> apt install zfsutils-linux </code> <code> sudo ... reate zfs filesystem zfs create rpool/libvirt virsh pool-define-as --name zfspool --source-name rpool/libvirt --type zfs virsh pool-start zfspool virsh pool-autostart zfspool </code> create volume (not possibile in virt-manager
- zfs-on-root @tips:ubuntu
- FS ===== Livecd ===== boot live cd and <code bash> sudo su passwd ubuntu apt-add-repository universe apt update apt install openssh-server # connect from another PC via ssh </code> <code> apt install --yes debootstrap gdisk zfs-init... t1:BF01 $DISK </code> Create pool or ... <code bash> zpool create -o ashift=12 \ -O atime=off -
- iotaiuto @projects:internetofthings
- ==== **PANORAMICA E PRINCIPI GENERALI** <code bash> # LA STRUTTURA DI QUESTA GUIDA SI ARTICOLA IN: ... INSTALLAZIONE O.S. "RASPBIAN LITE" ==== <code bash> # 1. prima di procedere, entrare come ADMIN nel... ww.raspberrypi.org/downloads/raspbian/]] <code bash> # formattazione micro sd </code> <code bash> # scaricare balenaEtcher poi eseguirlo per montare OS
- adb @tips:android
- ====== Android ====== {{tag>[android]}} <code bash> apt-get install android-tools-fastboot apt-get in... ls-adb </code> ===== network mode ===== <code bash> adb -d tcpip 5555 adb connect <ip> </code> ====== Packages ====== ===== Install ===== <code bash> adb install <file.apk> </code> ===== Pull package ===== Getting list of packages <code bash> adb shell pm list packages </code> <code bash>
- otp @tips
- 1) $ export HEX_SECRET=$(head -15 /dev/urandom | sha1sum | cut -b 1-30) 2) $ oathtool --verbose --t... ryone else - : ALL : ALL 7) editare /etc/pam.d/sshd (per la versione con publickey andare al capitol... h.so usersfile=/etc/users.oath 8) editare /etc/ssh/sshd_config e abilitare "ChallengeResponseAuthentication" ChallengeResponseAuthentication yes 9) ri