Skip to content

Instantly share code, notes, and snippets.

Avatar

djonko djonko

  • @Intact_lab
  • Canada
View GitHub Profile
@djonko
djonko / proxmox-lxc-resize.sh
Created September 5, 2022 00:24
Increase or decrease disk size of LXC Container on Proxmox
View proxmox-lxc-resize.sh
#!/bin/bash
pct stop <id>
vzdump <id> -storage <storage> -compress lzo
pct destroy <id>
pct restore <id> /path/to/storeage/vzdump-lxc-<id>....tar.lzo --rootfs local:<newsize>
@djonko
djonko / README.md
Created June 12, 2022 21:45 — forked from gjrdiesel/README.md
Expand Ubuntu 20 Proxmox Disk
View README.md
# Resize the file system in UI, under VM -> Hardware -> Click on the disk to resize, click "Resize disk" button

# Confirm increase in disk space (1TB in my case)
$ lsblk
NAME                      MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda                         8:0    0    1T  0 disk
├─sda1                      8:1    0    1M  0 part
├─sda2                      8:2    0    1G  0 part /boot
└─sda3                      8:3    0    1T  0 part
@djonko
djonko / iterm2-solarized.md
Created May 4, 2022 00:27 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)
View iterm2-solarized.md

Default

Default

Powerlevel10k

Powerlevel10k

@djonko
djonko / vscode_shortcuts.md
Created March 13, 2022 02:49 — forked from bradtraversy/vscode_shortcuts.md
Helpful shortcuts for VSCode
View vscode_shortcuts.md

VSCode Shortcuts

List of helpful shortcuts for faster coding

If you have any other helpful shortcuts, feel free to add in the comments of this gist :)

Official List of all commands

@djonko
djonko / trelloinstall.sh
Created January 3, 2021 15:13 — forked from iPublicis/trelloinstall.sh
Install Trello Linux Client
View trelloinstall.sh
#!/bin/bash
# Your system should be 64 bits and check if the last version at https://github.com/danielchatfield/trello-desktop/ is 0.19
# If the current version is not 0.19 change the file name below accordingly
wget https://github.com/Racle/trello-desktop/releases/download/v0.2.0/Trello-linux-0.2.0.zip -O trello.zip
sudo mkdir /opt/trello
sudo unzip trello.zip -d /opt/trello/
sudo ln -sf /opt/trello/Trello /usr/bin/trello
echo -e '[Desktop Entry]\n Version=1.0\n Name=Trello\n Exec=/usr/bin/trello\n Icon=/opt/trello/resources/app/static/Icon.png\n Type=Application\n Categories=Application' | sudo tee /usr/share/applications/trello.desktop