Skip to content

Instantly share code, notes, and snippets.

View magicknot's full-sized avatar
🏠

David Duarte magicknot

🏠
  • Orca AG
  • Lisbon, Portugal
View GitHub Profile
@magicknot
magicknot / mac-setup.sh
Last active March 12, 2022 16:50
Load zshrc after installing it
#!/bin/sh
echo "Installing brew..."
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "Installing oh my zsh..."
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
echo "ZSH_DISABLE_COMPFIX=true\n$(cat ~/.zshrc)" > ~/.zshrc
source ~/.zshrc

Keybase proof

I hereby claim:

  • I am magicknot on github.
  • I am magicknot (https://keybase.io/magicknot) on keybase.
  • I have a public key ASACBtujDRHqaMgefOrDjqi1AdWW0_Df_AfM8KA6Y27f3Qo

To claim this, I am signing this object:

@magicknot
magicknot / lab1.md
Last active February 15, 2016 10:09
Cheat Sheet para o primeiro lab de ES

Maven

Criar um projecto com o Maven:

$ mvn archetype:generate -DgroupId=pt.tecnico.phonebook -DartifactId=phonebook -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false

Mostrar o resultado:

$ cd phonebook

$ tree # ou alternativamente ls