Skip to content

Instantly share code, notes, and snippets.

Sandokan Dias sandokandias

  • Joinville, Brasil
Block or report user

Report or block sandokandias

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View update-alternatives-java
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.8.0_191/bin/java" 1500
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.8.0_191/bin/javac" 1500
sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.8.0_191/bin/javaws" 1500
View gist:cdf48f70d5fbb04630d2354ec4a36519
kubectl -n {env} get pods
kubectl -n {env} describe pod {pod_nam}
kubectl -n {env} logs {pod_nam} -f
# producer
bin/ --broker-list localhost:9092 --topic [topic name] --property "parse.key=true" --property "key.separator=:"
# consumer
bin/ --bootstrap-server localhost:9092 --topic [topic name] --from-beginning
View set_display_to_1600x900
$ xrandr
#check the mode and set
$xrandr --newmode "1600x900_60.00" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync
$xrandr --addmode eDP-1 "1600x900_60.00"
$xrandr --output eDP-1 --mode "1600x900_60.00"
sandokandias / setMavenVersion
Last active Jul 11, 2018
set maven version
View setMavenVersion
mvn versions:set -DnewVersion=2.4.0-SNAPSHOT -DgenerateBackupPoms=false
You can’t perform that action at this time.