Posts

Showing posts from 2018

2023-09-13, Wednesday, Cloudy

新工上遇上了挫折。寫好的東西達不到標準需要別人執手尾了。雖然同事說沒關係,但反應了自己的不足。有時反省自己為何做事總是不好,為何別人有留意或想到的事情自己總是忽略。現在覺得是自己天生的思考模式問題,可能看多少書都沒用。或者自己應該更適合做地盤呢類工作,而唔係IT。

Geb - Browser Automation with Groovy

Follow the instructions on Geb latest manual to install Geb. Then use eclipse to create a Gradle or Groovy project. Encountered this message: Caught: java.lang.IllegalStateException : The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see https://github.com/mozilla/geckodriver. The latest version can be downloaded from https://github.com/mozilla/geckodriver/releases java.lang.IllegalStateException : The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see https://github.com/mozilla/geckodriver. The latest version can be downloaded from https://github.com/mozilla/geckodriver/releases Go to  https://github.com/mozilla/geckodriver/releases  and download the latest geckodriver, extract it to somewhere. Setting the system properties by passing the properties in run configuration:  -Dwebdriver.gecko.driver=/path_to_geckodriver/geckodriver Refe

Setting Ubuntu Environmental Variables for all users

Accroding to: https://help.ubuntu.com/community/EnvironmentVariables Setting in  /etc/environment  or create a /etc/profile.d/*.sh file should work. But I use the later one. I created set_env_vars.sh in /etc/profile.d/ folder with content below: export PATH="$PATH:/usr/local/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/oracle/12.2/client64/bin" export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/jre/bin" It works after reboot.

Install adminer on ubuntu 18 and connect to oracle (laziest way, for development environment)

This summary is not available. Please click here to view the post.