Merge branch 'master' of github.com:steveokard/stevset

This commit is contained in:
Stefen Auris 2018-02-06 10:49:13 -05:00
commit e3463f6a79
8 changed files with 25 additions and 54 deletions

@ -1 +1 @@
Subproject commit 6437ad6df4a3e6a87c5fb8bd2b8aadb277ec9c87 Subproject commit 9a38216a1c0c597f978d73547d37681fc689c90d

4
.vimrc
View file

@ -14,7 +14,9 @@ Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes' Plugin 'vim-airline/vim-airline-themes'
Plugin 'Yggdroot/indentLine' Plugin 'Yggdroot/indentLine'
Plugin 'ajh17/VimCompletesMe' Plugin 'ajh17/VimCompletesMe'
Plugin 'ctrlpvim/ctrlp.vim' "Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'mhinz/vim-startify'
Plugin 'vim-syntastic/syntastic'
" All of your Plugins must be added before the following line " All of your Plugins must be added before the following line
call vundle#end() " required call vundle#end() " required

View file

@ -1,4 +1,4 @@
#!/bin/zsh #!/bin/bash
#install pre-req. #install pre-req.
echo "installing required packages" echo "installing required packages"
./deps.zsh ./deps.zsh

View file

@ -1,37 +0,0 @@
--- packages.el 2017-09-26 14:44:01.743525901 -0400
+++ packages_fixed.el 2017-09-26 14:37:53.824574000 -0400
@@ -37,7 +37,7 @@
dracula-theme
espresso-theme
farmhouse-theme
- firebelly-theme
+ ;firebelly-theme
flatland-theme
flatui-theme
gandalf-theme
@@ -64,14 +64,14 @@
monochrome-theme
mustang-theme
naquadah-theme
- niflheim-theme
+ ;niflheim-theme
noctilux-theme
obsidian-theme
occidental-theme
omtose-phellack-theme
oldlace-theme
organic-green-theme
- pastels-on-dark-theme
+ ;pastels-on-dark-theme
phoenix-dark-mono-theme
phoenix-dark-pink-theme
planet-theme
@@ -98,7 +98,7 @@
;; contains error
; tommyh-theme
toxi-theme
- tronesque-theme
+ ;tronesque-theme
twilight-anti-bright-theme
twilight-bright-theme
twilight-theme

View file

@ -1,4 +1,9 @@
echo "# set cfq scheduler for rotating disks" >> /etc/udev/rules.d/60-schedulers.rules sudo touch /etc/udev/rules.d/60-schedulers.rules
echo "ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="cfq"" >> /etc/udev/rules.d/60-schedulers.rules sudo cat > /etc/udev/rules.d/60-schedulers.rules << EOF
echo "# set deadline scheduler for non-rotating disks" >> /etc/udev/rules.d/60-schedulers.rules #set cfq scheduler for rotating disks
echo "ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline"" >> /etc/udev/rules.d/60-schedulers.rules ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="cfq"
#set deadline scheduler for non-rotating disks
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline"
EOF

View file

@ -1,8 +1,14 @@
#!/bin/sh #!/bin/sh
if [ $1 -n] if [ $(id -u) -ne 0 ]
then then echo "Please run as root"
echo "Please provide a number to set swappiness value!" && exit 1 exit 1
else fi
echo "vm.swappiness="$1
if [ -z "$1" ]
then
echo "Please provide a number to set swappiness value!" && exit 2
else
sudo echo "vm.swappiness="$1 >> /etc/sysctl.conf
sudo sysctl -p
fi fi

View file

@ -2,8 +2,3 @@ ln -s /home/`whoami`/stevset/.spacemacs /home/`whoami`/.spacemacs
#init spacemacs in the background #init spacemacs in the background
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
#Patch theme file to squelch error messages
cp package.patch /home/stev/.emacs.d/layers/+themes/themes-megapack/
cd /home/`whoami`/.emacs.d/layers/+themes/themes-megapack
patch < package.patch
rm package.patch