Skip to content

Instantly share code, notes, and snippets.

@arashpath
arashpath / README.md
Last active February 21, 2022 17:35 — forked from martin0258/README.md
Mi Cloud Batch Download Recordings and Gallery
@arashpath
arashpath / gist:59c6de484fe3f8c39b3b032ae11c3b79
Created August 30, 2018 08:55 — forked from hroling/gist:85f36e86d48285f08161
Apache 2.4 SSL config for A+ on SSLLabs.com
OS: Ubuntu 14.04 LTS, Apache 2.4.7, OpenSSL 1.0.1f
SSL Labs: A+ (RSA2048, SHA256 certificate)
Certificate: 100%
Protocol Support: 95%
Key Exchange: 90%
Cipher Strength: 90%
#### In the SSL.CONF file
SSLCipherSuite AES256+EECDH:AES256+EDH:AES128+EECDH:AES128+EDH
@arashpath
arashpath / vagrant_box_update_global.sh
Last active October 12, 2018 08:23
Update All vagrant boxes
cd /tmp
echo "Checking for Outdated Boxes"
vagrant box outdated --global | awk '/outdated/{print $2}' > /tmp/outdated_boxes
sleep 2
cat /tmp/outdated_boxes
sleep 1
for box in $(cat outdated_boxes)
do
echo "Updating : $box "
echo "vagrant init $box" | sh
@arashpath
arashpath / .Xdefaults
Last active January 12, 2022 22:36
Installing Arch Linux on USB
! urxvt
URxvt*geometry: 115x40
!URxvt*font: xft:Liberation Mono:pixelsize=14:antialias=false:hinting=true
URxvt*font: xft:Inconsolata:pixelsize=17:antialias=true:hinting=true
URxvt*boldFont: xft:Inconsolata:bold:pixelsize=17:antialias=false:hinting=true
!URxvt*boldFont: xft:Liberation Mono:bold:pixelsize=14:antialias=false:hinting=true
URxvt*depth: 24
URxvt*borderless: 1
URxvt*scrollBar: false
@arashpath
arashpath / vim_prep.sh
Last active October 15, 2018 12:18
Preparing VIM
# REF Link https://medium.com/@huntie/10-essential-vim-plugins-for-2018-39957190b7a9
# Clone Vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
# Config Vundle
cat <<EOF > ~/.vim/plugins.vim
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()