LavooijMedia
LavooijMedia

Based in Bournemouth since 2015, a full-stack web developer for a digital agency. In my spare time I work as a freelancer and love playing around with new and exciting web stuff and gadgets.

Ruben Lavooij
Author

Share


Tags


On this blog I happily talk about techy, geeky and (for me) fun stuff. I will be talking about all the problems / challenges I find in my day to day job, with examples, and how I have fixed those things. And maybe some of my 3D printing projects.

If you are having problems with your site, or need some work done, do not hesitate to contact me for a quick chat.

07-493102199 or info@lavooijmedia.uk
If calling during work hours leave a message and I will call you back as soon as I can!

Twitter


LavooijMedia

The right tools for the job...

Ruben LavooijRuben Lavooij

I have always worked on a Windows machine. But since I have been forced to work on a Mac at work two and a half years back, I know I don't ever want to go back for work.
So this is more a post for myself, if it ever happens that this thing breaks I can get back to work in no time.

My main pile of tools is the following:

Code editors

  • Visual Studio Code
    • Addons: (i removed a bunch as im writing this, some became redundant as VS has it now by default)
      -GitLens
      -Git history
      -Rainbow CSV
      -TODO Highlight
      -Beautify

Webdev related tools

  • FTP: Transmit
  • SSH: iTerm
  • GIT: GitKraken
  • WEB: Chrome and Firefox Developer edition
  • LOCAL: AMPSS - I need to replace this for docker
  • DESIGN: Adobe Cloud package

Other handy tools that make my life easier

  • Numi amazing calculator, that can do literally everything.
  • Bear quick, or long notes.
  • Mac2imgur Screenshot uploader to imgur, deprecated but still works.
  • BeardedSpice use keyboard shortcuts to skip songs on websites like Soundcloud or Spotify
  • CoinTick Crypto in the menu bar.
  • Windscribe Easy go-to VPN.
  • Eqmac2 I have bass heavy headphones, remove it with this easy equalizer. crashes sometimes though.
  • Slack Slack chat.
  • Fusion 360 Autodesk's 3d tool. Bit iffy with a magic mouse, but my go-to tool for my 3d printer models.

My bash_profile:

#AMPPS php version fix, change for version needed

export PATH=/Applications/AMPPS/php-7.0/bin:$PATH

#fastboot & adb
export PATH=${PATH}:/Applications/Android

#timestamp this
export PS1="\[\033[38;5;8m\]\t\[$(tput sgr0)\]\[\033[38;5;15m\] \h[\[$(tput sgr0)\]\[\033[38;5;14m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]]: \[$(tput sgr0)\]"

###to do the below run following commands:
##install brew (if you dont have it already, try by typing "brew" in commandline)
#/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
#Then install sshpass with brew:
#brew install http://git.io/sshpass.rb
#more info: https://gist.github.com/arunoda/7790979
RED='\033[0;31m'
GREY='\033[1;30m'
NC='\033[0m' # No Color
function title {
    echo -ne "\033]0;"$*"\007"
}

##YES I know this is not super secure, thats why i only use it for development environments, never for live.
sshlm () {
    echo -e "${RED}connecting to Lavooij Media Development [USER]@[IP]${NC}"
    echo -e "\033];Lavooij Media\007"
    say connecting to Lavooij Media Development
    sshpass -p "PASSWORD" ssh -o StrictHostKeyChecking=no [USER]@[IP]
}


#folder alias
alias www="cd /Applications/AMPPS/www"

#helpful alias
alias hosts="sudo nano /private/etc/hosts"
alias code='open -a "Visual Studio Code"'
alias ..="cd .."
alias bash="code ~/.bash_profile"
alias bashr=". ~/.bash_profile"
alias hs='history | grep'

#show external ip
alias myip="curl http://ipecho.net/plain; echo"

#magento commands
alias upgrade="php bin/magento setup:upgrade"
alias compile="php bin/magento setup:di:compile"
alias static="php bin/magento setup:static-content:deploy en_GB en_US"
alias cclean="php bin/magento cache:clean"
alias cflush="php bin/magento cache:flush"
alias reindex="php bin/magento indexer:reindex"

# Setting PATH for Python 3.6
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH

#nvm
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh

If you have any good tools I should add to my belt, add them in the comments below!

Author

Ruben Lavooij

Comments