Skip to content

Instantly share code, notes, and snippets.

View zygimantus's full-sized avatar

zygimantus zygimantus

View GitHub Profile
@zygimantus
zygimantus / gist:5bbc258122bf081b371685680eff650d
Created May 27, 2016 10:28 — forked from voyeg3r/gist:1547918
The ultimate Arch Linux install script
#!/bin/bash
#-------------------------------------------------------------------------------
#Created by helmuthdu mailto: helmuthdu[at]gmail[dot]com
#Inspired by Andreas Freitag, aka nexxx script
#-------------------------------------------------------------------------------
#This program is free software: you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation, either version 3 of the License, or
#(at your option) any later version.
#
@zygimantus
zygimantus / frontendDevlopmentBookmarks.md
Created May 27, 2016 10:58 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.
@zygimantus
zygimantus / LT_symbols.ahk
Created May 29, 2018 07:15
Some hotkeys for Lithuanian symbols
!9::
Send {U+201E}
return
!0::
Send {U+201C}
return
!-::
Send {U+2013}
@zygimantus
zygimantus / install-docker-in-code-server.sh
Last active April 16, 2022 20:05
Install docker inside code-server container
# see more at: https://docs.docker.com/engine/install/ubuntu/
apt-get update
apt-get install ca-certificates curl gnupg lsb-release
curl -fsSL https://download.docker.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://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io
# see more at: https://docs.docker.com/engine/install/linux-postinstall/
@zygimantus
zygimantus / install-dotfiles.sh
Created March 7, 2023 16:35
Dotfiles installer
if [[ ! -e $HOME/.dotfiles ]]; then
# clone your dotfiles repository
git clone --bare https://gitlab.com/zygimantus/dotfiles.git $HOME/.dotfiles
# define the alias in the current shell scope
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
# checkout the actual content from the git repository to your $HOME
dotfiles checkout
fi