moeminthar ၏

စိတ္ကူးတည့္ရာေရးထားေသာ ဘေလာ့ခ္

Change the Screen Shot Save File Location in Mac OS X

Posted by Zwe on June 6, 2015

http://osxdaily.com/2011/01/26/change-the-screenshot-save-file-location-in-mac-os-x/

Posted in interest | Leave a Comment »

LAMP Server on Ubuntu

Posted by Zwe on May 1, 2015

1. Install Apache

To install Apache you must install the Metapackage apache2. This can be done by searching for and installing in the Software Centre, or by running the following command.

sudo apt-get install apache2

2. Install MySQL

To install MySQL you must install the Metapackage mysql-server. This can be done by searching for and installing in the Software Centre, or by running the following command.

sudo apt-get install mysql-server

3. Install PHP

To install PHP you must install the Metapackages php5 and libapache2-mod-php5. This can be done by searching for and installing in the Software Centre, or by running the following command.

sudo apt-get install php5 libapache2-mod-php5

4. Restart Server

Your server should restart Apache automatically after the installation of both MySQL and PHP. If it doesn’t, execute this command.

sudo /etc/init.d/apache2 restart

5. Check Apache

Open a web browser and navigate to http://localhost/. You should see a message saying It works!

6. Check PHP

You can check your PHP by executing any PHP file from within /var/www/. Alternatively you can execute the following command, which will make PHP run the code without the need for creating a file .

php -r ‘echo “\n\nYour PHP installation is working fine.\n\n\n”;’

Congratulations, you have just Installed a Ubuntu LAMP Server!

Posted in interest | Leave a Comment »

VI Editor

Posted by Zwe on May 1, 2015

  • i (to insert)
  • x (to delete)
  • Arrow keys
  • Esc Key (to exit form current mode : to go to command mode)
  • q! (to quit without save)
  • wq (save and exit)

Posted in interest | Leave a Comment »

Myanmar Unicode to Zawgyi Converter

Posted by Zwe on February 23, 2014

http://mrdba.info/zawgyi-converter/

Posted in interest | 2 Comments »

XAMPP

Posted by Zwe on October 21, 2013

http://www.apachefriends.org/en/xampp-linux.html

Posted in IT Knowledges | Leave a Comment »

Hide password input on terminal

Posted by Zwe on October 14, 2013

I have searched password masking code which can be compile and run on Ubuntu 12.04 environment. At last, I found out one piece of code which serves for my purpose.

#include <stdio.h>
 #include <unistd.h>
 int main()
 {
 char *password; // password string pointer
 password = getpass("Enter Password: "); // get a password
 printf("%s\n",password); // this is just for conformation
 // that password stored successfully
 return 1;
 }

http://stackoverflow.com/questions/6856635/hide-password-input-on-terminal

Posted in interest | Leave a Comment »

Ubuntu 12.04 screen turns off

Posted by Zwe on October 13, 2013

There are many post out there if you google for “ubuntu 12.04 screen turns off”.

I have try it so many way although it doesn’t help me to fix this annoying issue. One morning, as usual I google it again and hoping at least one post will get rid off this.

WALLAH, I DID IT as follow. You have to run a few command on your Terminal.

myPC@myPCLenovo:~$ xset q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000002
XKB indicators:
00: Caps Lock: off 01: Num Lock: on 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 500 repeat rate: 33
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 600 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0 WhitePixel: 16777215
Font Path:
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins
DPMS (Energy Star):
Standby: 600 Suspend: 600 Off: 600
DPMS is Enabled
Monitor is On

myPC@myPCLenovo:~$ xset s off
myPC@myPCLenovo:~$ xset q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000002
XKB indicators:
00: Caps Lock: off 01: Num Lock: on 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 500 repeat rate: 33
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0 WhitePixel: 16777215
Font Path:
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins
DPMS (Energy Star):
Standby: 600 Suspend: 600 Off: 600
DPMS is Enabled
Monitor is On
myPC@myPCLenovo:~$ sh -c “xset -dpms && xset s off”
myPC@myPCLenovo:~$ xset q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000002
XKB indicators:
00: Caps Lock: off 01: Num Lock: on 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 500 repeat rate: 33
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0 WhitePixel: 16777215
Font Path:
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins
DPMS (Energy Star):
Standby: 600 Suspend: 600 Off: 600
DPMS is Disabled
myPC@myPCLenovo:~$

Other Links:
http://helpdeskgeek.com/linux-tips/configure-ubuntu-to-not-dim-or-turn-off-an-inactive-display/
http://www.liberiangeek.net/2012/04/disable-screensaver-black-screen-in-ubuntu-12-04-precise-pangolin/

Posted in IT Knowledges | Leave a Comment »

Resetting Windows Password

Posted by Zwe on June 26, 2013

http://www.hirensbootcd.org/resetting-windows-password/

Posted in interest | Leave a Comment »

Dhamma

Posted by Zwe on May 25, 2013

Dhamma Online – A Theravada Buddhism Website
Dhamma Download
Pure Dhamma
Lotus Dhamma

Posted in Religion | 1 Comment »

codecademy

Posted by Zwe on May 16, 2013

http://www.codecademy.com/
http://www.codecademy.com/stories/a-new-career-at-55

Posted in interest | Leave a Comment »