Skip to content

Instantly share code, notes, and snippets.

View hicolour's full-sized avatar

Marek Prochera hicolour

View GitHub Profile
@hicolour
hicolour / yaourt
Created February 10, 2014 22:41
yaourt
Unique syntax of Yaourt and Pacman
Synchronize with the repository db package:
# pacman -Sy
Upgrading your entire system:
# pacman -Su
Forcing the system update skipping errors:
# pacman -Suf
mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=amartusVersion | grep -v '\['
with mvn versions:set -Dnew Version=1.1-SNAPSHOT you are able to set in all underlying maven projects the given version.
Afterwards you have to do a mvn versions:commit to save your work
@hicolour
hicolour / idea-cleanup.sh
Created March 5, 2014 13:48
IntelliJ IDEA cleanup
find . -name ".idea" -exec rm -rf {} \;
find . -name "*.iml" -exec rm -rf {} \;
@hicolour
hicolour / gist:10732058
Last active August 29, 2015 13:59
graphite
http://10.0.1.4/render/?target=stats.ie.*.vm.1.*.463.com........metrics.discovery.DefaultOSDiscovery&from=-2minutes&hideLegend=false&lineWidth=2&title=Default%20Node%20Discovery%20%2F%20Number&tz=Europe/London&width=810&height=640
sudo apt-get --purge remove ruby-rvm
sudo rm -rf /usr/share/ruby-rvm /etc/rvmrc /etc/profile.d/rvm.sh
env | grep rvm
\curl -L https://get.rvm.io |
bash -s stable --ruby --autolibs=enable --auto-dotfiles
@hicolour
hicolour / linux-hardware
Last active August 29, 2015 14:01
linux-hardware
# Disk performance
sudo hdparm -I /dev/sda
sudo hdparm -I /dev/sda | grep -i speed
sudo hdparm -tT /dev/sda
iostat -dx /dev/sda 5
@hicolour
hicolour / geecon-notes
Last active August 29, 2015 14:01
geecon-notes
=== Microservices ===
http://shop.oreilly.com/product/0636920033158.do
http://www.mbtest.org/docs/examples
https://github.com/realestate-com-au/pact
http://www.packer.io/
https://linuxcontainers.org/
=== RxJava ===
https://github.com/Netflix/RxJava
@hicolour
hicolour / install_latest_scala_sbt_on_ubuntu.sh
Last active August 29, 2015 14:02
install_latest_scala_sbt_on_ubuntu.sh
# COPY START
sudo apt-get remove scala-library scala
wget http://downloads.typesafe.com/scala/2.11.1/scala-2.11.1.deb
sudo dpkg -i scala-2.11.1.deb
sudo apt-get update
sudo apt-get install scala
wget http://dl.bintray.com/sbt/debian/sbt-0.13.5.deb
nmap -sP 192.168.14.*
@hicolour
hicolour / ras-pi-wifi-issue tp-link issue
Last active August 29, 2015 14:05
ras-pi-wifi-issue tp-link issue