Posts

Using "wget" to check web server status

Please use this # wget -O - | grep -O : indicate output filename - : send content to std output ref www.terminalinflection.com/using-wget-to-test-web-server-connectivity/

Backup my kubuntu 14.10 settings

Before I get other machine, I want to thank to my x230, you're so cool!!! Style widget style : QtCurve Icon theme : numix circle Font liberation use anti-aliasing : enabled use sub-pixel  rendering : RGB hinting-style : slight Window Decorations QtCurve Desktop Theme Glaze

Connect Oracle from Django 1.7 (Linux)

Hi, today I'm gonna create new Oracle's related Project with Django 1.7.  My setup is  Kubuntu 14.10 First thing I will have to have installed oracle-client. You should download these files below from oracle website oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm oracle-instantclient12.1-jdbc-12.1.0.2.0-1.x86_64.rpm oracle-instantclient12.1-odbc-12.1.0.2.0-1.x86_64.rpm oracle-instantclient12.1-tools-12.1.0.2.0-1.x86_64.rpm oracle-instantclient12.1-sqlplus-12.1.0.2.0-1.x86_64.rpm Then we would use 'alien', which is linux application that can convert rpm to deb. By doing this >>> sudo alien *.rpm Then use dpkg install them all >>> sudo dpkg -i *.deb Next , edit your bashrc file, by add export ORACLE_HOME=/usr/lib/oracle/12.1/client64 PATH=$PATH:$ORACLE_HOME/bin export LD_LIBRARY_PATH=$ORACLE_HOME/lib Create virtuaenv or pip to your env >>...

Setup environment for python developer in windows :)

Hi my friend :)     Sometime I may have a change to develop something in window, this is a guide to get python development up! Actually I just found powershell, interesting!!! http://www.tylerbutler.com/2012/05/how-to-install-python-pip-and-virtualenv-on-windows-with-powershell/ https://pip.pypa.io/en/latest/installing.html

Try ubuntu 14.04 on my old macbook pro late 2009 (Part2)

Try ubuntu 14.04 on my old macbook pro late 2009 (Part2) I trying to do something to make touchpad feel same as in OSX This is one I can find Section "InputClass"         Identifier "touchpad catchall"         Driver "synaptics"         MatchIsTouchpad "on"         Option "FingerHigh" "10"         Option "FingerLow" "1"         Option "TapAndDragGesture" "off"         Option "PalmDetect" "on" EndSection Section "InputClass"     Identifier         "Touchpad"     Driver             "synaptics"     MatchIsTouchpad    "on"     Option         "ClickFinger3" "2"     Option         "HorizTwoFin...

Try ubuntu 14.04 on my old macbook pro late 2009 (Part1)

Aha, This is what I dream for long time to get Linux on MacBookPro. This is what I have done Start with DVD Ubuntu 14.04 I found a loud noise of fan, so I did     sudo apt-get install lm-sensors fancontrol     sudo pwmconfig (don't know what this command did, but I notice nothing)     sudo sensors-detect (last step, did allow it to auto load) I found that I can't adjust brightness so I did     edit /etc/rc.local         put this             echo '1' > /sys/devices/platform/applesmc.768/leds/smc::kbd_backlight/brightness             echo '5' > /sys/class/backlight/apple_backlight/brightness     for 2 steps above, I'm not sure if they work or not but I did more         sudo nvidia-xconfig ( got invalid xorg.conf )  ...

Cannot change brightness setting using function button or the brightness

I'm got new machine from new workplace, It's HP Probook. It's look quite good but I have got a problem about changing screen brightness doesn't work. So I google and found this https://askubuntu.com/questions/332657/cannot-change-brightness-setting-using-function-buttons-or-using-the-brightness, This blog put me through that problem. So this is my note sudo vi /etc/default/grub for this var GRUB_CMDLINE_LINUX="", set value "acpi_backlight=vendor" sudo update-grub restart then , yeh, many thanks for https://askubuntu.com/users/183206/aaditya-bagga