Skip to content

Instantly share code, notes, and snippets.

View Darkness4's full-sized avatar
๐ŸŒƒ
It should be midnight all the time.

Marc Nguyen Darkness4

๐ŸŒƒ
It should be midnight all the time.
View GitHub Profile
@Darkness4
Darkness4 / flutter-install-jdk11.sh
Last active March 27, 2022 20:44
Install OpenJDK 11, Flutter and Android SDK
#!/bin/sh
ANDROID_COMPILE_SDK=29
ANDROID_BUILD_TOOLS=29.0.2
ANDROID_SDK_TOOLS=4333796
FLUTTER_CHANNEL=master
INSTALL_DIR=$HOME
# Update
# NOTE : openjdk-8-jdk n'est plus en LTS
sudo apt update || exit 1
( cd && curl -fsSLO https://raw.githubusercontent.com/romkatv/dotfiles-public/master/.purepower )
echo 'source ~/.purepower' >>! ~/.zshrc
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
#ZSH_THEME=powerlevel10k/powerlevel10k
sed -E "s/ZSH_THEME\=\"(.*)\"/ZSH_THEME\=\"powerlevel10k\/powerlevel10k\"/" -i ~/.zshrc
plugins=(
git
@Darkness4
Darkness4 / .vimrc
Last active December 4, 2021 01:26
" Don't try to be vi compatible
set nocompatible
set encoding=utf-8
set hidden
set nobackup
set nowritebackup
set cmdheight=2
set updatetime=300
set shortmess+=c
set signcolumn=number
@Darkness4
Darkness4 / install-fast-zsh.sh
Last active April 12, 2021 19:07
Install oh-my-zsh, use agnoster theme, downloads and add autosuggestions, syntax highlighting and more completions to oh my zsh.
# install oh my zsh
sudo apt update
sudo apt install -y git curl zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
zsh
# download plugins
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting