From 2cce11b6a39f3d9f4263f1503fdbbbf974b26965 Mon Sep 17 00:00:00 2001 From: Bruno Volpato Date: Wed, 16 Aug 2017 09:59:20 -0700 Subject: [PATCH] config fixes --- brew.sh | 33 +++++++++++++++++---------------- daemons.sh | 8 ++++---- setup.sh | 17 +++++++++-------- symlinks.sh | 19 ++++++++++--------- 4 files changed, 40 insertions(+), 37 deletions(-) diff --git a/brew.sh b/brew.sh index 81bda4b..42eb6a2 100755 --- a/brew.sh +++ b/brew.sh @@ -102,6 +102,7 @@ brew install homebrew/dupes/screen # tools +brew install gpg brew install node brew install git brew install wget --with-iri @@ -129,11 +130,11 @@ brew install binutils #cipher detection brew install cifer #zip cracker -brew install fcrackzip +#brew install fcrackzip #logon crack -brew install hydra +#brew install hydra #pwd crack -brew install john +#brew install john @@ -166,10 +167,10 @@ brew install pv #aldo - learn morse code -brew install aldo +#brew install aldo #ansiweather - ansiweather -l {location} -brew install ansiweather +#brew install ansiweather #conversor / latex #brew install pandoc @@ -250,8 +251,8 @@ brew link --overwrite maven-deluxe brew install the_silver_searcher # company ios dependencies -brew install swiftlint -brew install carthage +#brew install swiftlint +#brew install carthage # crashhub - java/jvm bash // http://www.crashub.org/1.3/reference.html @@ -318,20 +319,20 @@ if [ "$(uname -s)" == "Darwin" ]; then brew cask install licecap # Core casks - brew cask install --appdir="/Applications" alfred - brew cask install --appdir="/Applications" iterm2 - brew cask install --appdir="/Applications" java - brew cask install --appdir="/Applications" xquartz - brew cask install --appdir="/Applications" atom - brew cask install --appdir="/Applications" virtualbox - brew cask install --appdir="/Applications" vagrant - brew cask install --appdir="/Applications" launchcontrol + #brew cask install --appdir="/Applications" alfred + #brew cask install --appdir="/Applications" iterm2 + #brew cask install --appdir="/Applications" java + #brew cask install --appdir="/Applications" xquartz + #brew cask install --appdir="/Applications" atom + #brew cask install --appdir="/Applications" virtualbox + #brew cask install --appdir="/Applications" vagrant + #brew cask install --appdir="/Applications" launchcontrol #brew cask install --appdir="/Applications" macdown #brew cask install --appdir="/Applications" mactex #prevent mac from sleeping - brew install caffeine + #brew install caffeine brew install terminal-notifier diff --git a/daemons.sh b/daemons.sh index 18167f0..4240f6e 100755 --- a/daemons.sh +++ b/daemons.sh @@ -8,7 +8,7 @@ DOTFILES=`pwd` echo "[+] Unloading..." -launchctl unload -w ~/Library/LaunchAgents/org.brunocvcunha.personal.audiohijack.plist || true +#launchctl unload -w ~/Library/LaunchAgents/org.brunocvcunha.personal.audiohijack.plist || true launchctl unload -w ~/Library/LaunchAgents/org.brunocvcunha.personal.jenkins.plist || true if [ -f /Library/LaunchAgents/org.brunocvcunha.personal.updatedb.plist ]; then @@ -16,18 +16,18 @@ if [ -f /Library/LaunchAgents/org.brunocvcunha.personal.updatedb.plist ]; then fi echo "[+] Copying..." -ln -s $DOTFILES/launchctl/org.brunocvcunha.personal.audiohijack.plist ~/Library/LaunchAgents/ || true +#ln -s $DOTFILES/launchctl/org.brunocvcunha.personal.audiohijack.plist ~/Library/LaunchAgents/ || true ln -s $DOTFILES/launchctl/org.brunocvcunha.personal.jenkins.plist ~/Library/LaunchAgents/ || true sudo cp $DOTFILES/launchctl/org.brunocvcunha.personal.updatedb.plist /Library/LaunchAgents/ || true echo "[+] Loading..." -launchctl load -w ~/Library/LaunchAgents/org.brunocvcunha.personal.audiohijack.plist +#launchctl load -w ~/Library/LaunchAgents/org.brunocvcunha.personal.audiohijack.plist launchctl load -w ~/Library/LaunchAgents/org.brunocvcunha.personal.jenkins.plist sudo chmod 600 /Library/LaunchAgents/org.brunocvcunha.personal.updatedb.plist sudo chown root /Library/LaunchAgents/org.brunocvcunha.personal.updatedb.plist sudo launchctl load -w /Library/LaunchAgents/org.brunocvcunha.personal.updatedb.plist -echo "[+] Done!" \ No newline at end of file +echo "[+] Done!" diff --git a/setup.sh b/setup.sh index f285de3..24bbd87 100755 --- a/setup.sh +++ b/setup.sh @@ -36,21 +36,21 @@ curl -L https://iterm2.com/misc/install_shell_integration.sh | bash #sdk -curl -s get.sdkman.io | bash -source "$HOME/.sdkman/bin/sdkman-init.sh" +#curl -s get.sdkman.io | bash +#source "$HOME/.sdkman/bin/sdkman-init.sh" #sdk install grails #sdk install groovy # cheatly (cheat improvement) -gem install cheatly +#gem install cheatly -sudo gem install jekyll +#sudo gem install jekyll # lolcommits - https://github.com/mroth/lolcommits -sudo gem install lolcommits -sudo gem install lolcat +#sudo gem install lolcommits +#sudo gem install lolcat # tldr (short man) sudo npm install -g tldr @@ -73,10 +73,10 @@ sudo easy_install pip sudo pip install glances # python + selenium -sudo pip install pyvirtualdisplay selenium +#sudo pip install pyvirtualdisplay selenium #howdoi - solutions/snippets on command line -sudo pip install howdoi +#sudo pip install howdoi # sshuttle - tunnel through SSH @@ -85,6 +85,7 @@ sudo pip install sshuttle # powerline status sudo pip install powerline-status +sudo pip install powerline-gitstatus #jekyll diff --git a/symlinks.sh b/symlinks.sh index cc36ecd..5b01f25 100755 --- a/symlinks.sh +++ b/symlinks.sh @@ -3,16 +3,17 @@ # ln -s ~/githubworkspace/dotfiles/.bashrc ~/.bashrc # ln -s ~/githubworkspace/dotfiles/.bash_profile ~/.bash_profile -ln -sf ~/githubworkspace/dotfiles/.bowerrc ~/.bowerrc -ln -sf ~/githubworkspace/dotfiles/.wgetrc ~/.wgetrc -ln -sf ~/githubworkspace/dotfiles/.curlrc ~/.curlrc -ln -sf ~/githubworkspace/dotfiles/.inputrc ~/.inputrc -ln -sf ~/githubworkspace/dotfiles/.gitconfig ~/.gitconfig -ln -sf ~/githubworkspace/dotfiles/.osx ~/.osx -ln -sf ~/githubworkspace/dotfiles/.gitignore_global ~/.gitignore_global +ln -sf ~/githubworkspace/dotfiles/bowerrc ~/.bowerrc +ln -sf ~/githubworkspace/dotfiles/wgetrc ~/.wgetrc +ln -sf ~/githubworkspace/dotfiles/curlrc ~/.curlrc +ln -sf ~/githubworkspace/dotfiles/inputrc ~/.inputrc +ln -sf ~/githubworkspace/dotfiles/gitconfig ~/.gitconfig +ln -sf ~/githubworkspace/dotfiles/osx ~/.osx +ln -sf ~/githubworkspace/dotfiles/gitignore_global ~/.gitignore_global +ln -sf ~/githubworkspace/dotfiles/config/powerline ~/.config/powerline -ln -s ~/githubworkspace/dotfiles/.vimrc ~/.vimrc -ln -s ~/githubworkspace/dotfiles/.vim/ ~/ +ln -s ~/githubworkspace/dotfiles/vimrc ~/.vimrc +ln -s ~/githubworkspace/dotfiles/vim/ ~/.vim #create empty folders mkdir ~/.vim/swaps