Kalau nak i keluar rumah sila buat
Thursday, May 15, 2014
Monday, May 5, 2014
Saturday, May 3, 2014
Sunday, February 16, 2014
Saturday, February 8, 2014
Openvpn client connected but cannot access Internet.
The solution is to add iptables rules below. and dont forget to push dns for client.
Reference: https://bbs.archlinux.org/viewtopic.php?pid=1112882#p1112882
Do you have the possibility to do a packet capture on the external interface of the server to check if there are any related packets leaving (verify if they're getting source natted correctly etc)?
Normally the MASQUERADE should do the job just fine in this case; but just for the sake of it try using a specific source NAT statement:
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -j SNAT --to <serverpublicip>
Thursday, January 30, 2014
How to enable multi window feature on Android 4.3?
Below are the steps with a little tweaks revealed by a user in XDA-developer forum that you need to do to allow you brings up the multi window panel using the Back button:
- Go to Settings.
- Tap My Device.
- Tap Home screen mode.
- Select Easy mode and then followed by tapping Apply button.
- Now, go back to the Settings menu.
- Tap My Device.
- Tap Home screen mode.
- Select Standard mode and then followed by tapping Apply button.
- Now, go back to the Settings menu.
- Tap My Device.
- Tap Display.
- Enable Multi window by ticking the box next to this option. When the box is ticked means this option is enabled.
Tuesday, November 12, 2013
How can I install Sun/Oracle's proprietary Java 6/7 JRE or JDK?
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
Thats all !! Now to check the java version
java -version
The output will be like
java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode
There may come a new version,then you can simply update it with this command
sudo update-java-alternatives -s java-7-oracle
Setting up Environment variables
sudo apt-get install oracle-java7-set-default
Proxmox installation display out of range
Reference: https://forum.proxmox.com/threads/proxmox-ve-screen-out-of-range.131297/
-
How to remove BBCODE from a string ? <?php $String = "[b][color=#0000ff]TEST[/color][/b]"; $regex = '|[[\/\!]*?[^\[\]...
-
Original Source:: http://www.zytrax.com/tech/pc/serial.html Tech Info - USB and Firewire USB and FireWire (IEEE 1394a and b) represent the...