Skip to content

Instantly share code, notes, and snippets.

View ccostel's full-sized avatar

Constantin Colac ccostel

  • Berlin, Germany
View GitHub Profile
[
{
"type": "escape",
"width": 64,
"align": "left"
},
{ "type": "brightnessDown", "width": 75, "bordered": false, "align": "left" },
{ "type": "brightnessUp", "width": 75, "bordered": false, "align": "left" },
{
"type": "volumeDown",
## Install zsh
sudo apt-get install zsh
## Make zsh default
sudo chsh -s /usr/bin/zsh root
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
zsh
gsettings set org.gnome.desktop.peripherals.keyboard repeat-interval 20
gsettings set org.gnome.desktop.peripherals.keyboard delay 200
## Install brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
## Install zsh
brew install zsh
## Make zsh default
chsh -s /bin/zsh
## Install oh-my-zsh
defaults write NSGlobalDomain KeyRepeat -float 1
defaults write NSGlobalDomain InitialKeyRepeat -int 8
@ccostel
ccostel / encrypt_openssl.md
Created June 29, 2018 14:49 — forked from dreikanter/encrypt_openssl.md
File encryption using OpenSSL

Symmetic encryption

For symmetic encryption, you can use the following:

To encrypt:

openssl aes-256-cbc -salt -a -e -in plaintext.txt -out encrypted.txt

To decrypt: