Tech Sharing

Tech Sharing

Advertisement

Posts Tagged ‘ Tips ’

Have you experience that having difficulty to get the accurate information when you search using the Google search engine? Study show that most probably the information isn’t there or if it’s there, you just don’t know how to perform a well-executed search on Google.

 

But never too late to learn to use Google search engine effectively in order to help to boost your productivity and also save your time.

 

Just go through the following infographic “Get More Out of Google : Tips and Tricks for Students Conducting Online Research” and you may gain some benefit from the awesome Google search tips and tricks.

 

Enjoy it.

Hardening ColdFusion Server E-Book

By on September 23, 2011

This is a very good tips from Pete Freitag on how to hardening your ColdFusion server. This E-Book include some important topic such as:

  • Installation Tips
  • ColdFusion Administrator Settings
  • Sandbox Security
  • Hiding Version Information
  • Overview of Web App Firewalls
Hardening Coldfusion Powerpoint (449)

 

 

 

Google Translate Playing Beatbox

By on December 19, 2010

Google not only can help to translate any word to forign language, but you will never think about that Google Translate able to play Beatbox!!!


How to do that?

Just login to Google Translate at http://translate.google.com
Copy the following word and translate it into German
pv zk pv pv zk pv zk kz zk pv pv pv zk pv zk zk pzk pzk pvzkpkzvpvzk kkkkkk bsch
And than click on listen button, than you can hear how the Google Translate play beatbox.
Try it out.

Last whole week working with a project which involve the integration with 3th party API through the HTTPS secure channel using coldfusion CFHTTP. I come across with the following error message:


I/O Exception: peer not authenticated


Try to Google it for some time and find out that I need to import the 3th party certificate into my Coldfusion server by using some keytool certificate import tools. Trying few times but still can’t get it work until I found a blog which showing a very effective way and free tools for import the certificate.


These instructions are for Windows based machines but the concepts and tools should work on Mac or Unix based platforms.


1. Install tools

Download and install Portecle JVM certificate manager

(portecle-1.5.zip) You do not need the source (src) version

https://sourceforge.net/projects/portecle

The easiest way to install Portecle is to unzip the contents of the zip file to a directory such as C:Program Filesportecle-1.5 Then find the file “Portecle.jar”, right click it and send it to your desktop as a shortcut. You can then use this shortcut to launch Portecle. (optionally you can also change the name of the shortcut and change the icon to use the portecle.ico file for the icon)


2. Extract the certificate

The easy way to get the certificate is ask from the issuer, but if you unable to do so, you may have another alternative solution which you open the https page in your browser and double click on the lock logo at bottom left of the browser (the lock appear just beside the url addrss for Google Chrome)


Double click on the lock –> click the certificate information button –> go to details –> click the copy to file button –> Follow the wizard and select the base-64 encoded X.509 (.cer) format –> save the file


3. Install Certificate to Java Virtual Machine and/or ColdFusion server

Start Portecele.

On the [File] menu, select [Open Keystore File] navigate to and locate the keystore you are interested in.

For many java installations this will be located in your “jrelibsecurity” directory and might be named “cacerts”

For the ColdFusion 8 default developer install the path will be “c:coldfusion8runtimejrelibsecuritycacerts”

You will have to enter the password for the keystore. The default password is “changeit”


Now you are ready to import the key.

From the [Tools] menu select [Import Trusted Certificate]

Navigate to and locate the certificate you saved and click [Import]

You will need to reenter the keystore password.

You can change the alias if you desire but I would recommend leaving it as the default

Note: You may also be prompted to “trust” the certificate.


Click on the save button at the top of the portecle


4.       Restart you Java Virtual Machine/coldfusion application server.

For ColdFusion not installed on top of JRun you just need to restart the ColdFusion service. If you are running on top of JRun you also need to restart JRun.


Up to now, you already successfully import your partner certificate to your coldfusion/java server.


Please feel free to leave your suggestion if any. Click here for more information regarding Protecle

By  default, window server 2003 only come with the 2 Remote client access, unless you bought the CAL license. (But not many of the company will buy). So only 2 active or disconnected session are allow in the sames time.


So when the 3th user would like to connect into the same server, he/she will get the error message of “The terminal server has exceeded the maximum number of allowed connection”


After googleing, found this solution:

  1. Go to Command Prompt
  2. Type mstsc /v:xxx.xxx.xxx.xxx /f -console (replace xxx.xxx.xxx.xxx with the remote IP)
  3. Login with the administrator account


This command will log you in with the 3th remote connection to your server, you should use this account to kick out the rest of the 2 account before you continue your job.


To delete the existing connection you may go to task Manager -> users -> select the user and log them off.


The alternative for this solution is you can configure the settings on terminal server to manage the connections in a variety of ways. You do that through Start > Control Panel > Administrative Tools > Terminal Services Configuration. Select the Connections folder from the left panel.


In the right panel you should see the available connection types. Most likely there will be an entry for RDP-Tcp (Microsoft RDP 5.2). Right-click on that entry and select Properties. Select the Sessions tab and you will see a number of options related to sessions. All of my drop downs were set to Never, which explained why they never timed-out. To solve our problem, you may check the ‘Override user settings‘ option and set ‘End a disconnected session’ and ‘Idle session limit’ to 15 minutes. I left the ‘Active session limit’ at Never since as long as you are actively using the connection.


Terminal Server has exceeded maximum number of allowed connection error message

Terminal Server has exceeded maximum number of allowed connection error message


Terminal services configuration window

Terminal services configuration window

Proxy server is a server that sites between a client application, such as a web browser and a real server. It intercepts all requests to the real server to see if it can fulfill the requirests it self. If not, it forwards request to the real server.

There main purposes for using the proxy server are:

  • to keep machines behind it anonymous (mainly for security)
  • to speed up access to a resource (via caching). It is commonly used to cache web page from a web server
  • to censor network services or content
  • to forge transmitted content before delivery, eg: to insert advertisements


There are diff types of proxy server in generals:

  • Transparent Proxy: it identifies itself as a proxy server and also make the original IP address available through the http headers. The generally use to cache websites but do not effectively provide any anonymity to those who use them.
  • Anonymous Proxy: it identifies it self as a proxy server, but does not make the original IP address available. of proxy server is detectable, but provides reasonable anonymity for most users.
  • Distorting Proxy: This type of proxy server identifies itself as a proxy server, but make an incorrect original IP address available through the http headers.
  • High Anonymity Proxy: This type of proxy server does not identify itself as a proxy server and does not make available the original IP address.


You may easily get the free proxy server list from the Internet by Google it with the key word of “Free Proxy server list”. Or you may just access the following web site for the free Proxy server list:


Please bear in mind that when you use the free public proxy server, your transmitted data through the Proxy server may capture or monitor by some body including your login detail and password.

Step to set up the Proxy on difference browser:

Mozilla Firefox:

Tools -> Options -> Advanced -> Network -> Settings -> Manual proxy configuration -> enter the Proxy server IP and Port number

setting-proxy-for-firefox


Google Chrome:
Options -> Under the Hood -> Change proxy settings -> Connections -> LAN Settings -> Proxy Server -> check the “use a proxy….” -> enter the proxy server IP and port number

* Google Chrome is share the same Proxy server setting with Internet Explorer

google-chrome-set-proxy-step-1

google-chrome-set-proxy-step-2

Internet Explorer:
Tools -> Internet Option -> Connections -> LAN Settings -> Proxy Server -> check the “use a proxy….” -> enter the proxy server IP and port number

google-chrome-set-proxy-step-2

Opera:
Tools -> Preferences -> Network -> Proxy Server… -> Select what ever Protocol to use the Proxy Server -> enter the proxy server IP and port number

opera-set-proxy

Google Chrome themes gallery

By on October 11, 2009

Google Chrome there is ready and bigger with few more hundred of new release artists themes. All those themes are design by the leading artists, architects, musicians, illustrators, filmmakers, fashion and also interior designer.


To apply the theme, you need to install the Google Chrome with the version at lease 3.0.195.25. Click here to download it if you don’t have the latest version or click here to apply the theme.


Besides that, you may also click on the right bottom corner of theGoogle Chrome to view the theme.

Google Chrome Theme design by Google Chrome Team

Google Chrome Theme design by Google Chrome Team

Google chrome themes design by invited artists

Google chrome themes design by invited artists

Google Chrome - Porsche Theme

Google Chrome - Porsche Theme

Google Chrome - Ccharlotte Ronson

Google Chrome - Ccharlotte Ronson

Google Chrome - Bayonetta

Google Chrome - BayonettaGoogle Theme - Mariah Carey

Check the page’s last update date

  1. Go to any web site as you like
  2. Delete the content in the URL address bar
  3. Enter the following script javascript:alert(document.lastModified)
  4. Press Enter
  5. This code will display any web page’s last update including the specific time, so by using the this script, you will know that the content you get is that the latest or not
Tech share latest update is 11 Oct 2009 16:36:23

Tech share latest update is 11 Oct 2009 16:36:23

Convert web site to PDF

By on October 5, 2009

HeartRails Capture is a free web service tools for you to save and capture the web site as PDF. Just go to the HeartRails Capture web site and enter the URL address to capture. HeartRails Capture will auto capture the snapshot of the web site then generate the PDF for you.


PDF file created URL will be displayed for the tags to embed or blog.HeartRails Capture is a free web service tools for you to save and capture the web site as PDF. Just go to the HeartRails Capture web site and enter the URL address to capture. HeartRails Capture will auto capture the snapshot of the web site then generate the PDF for you.


PDF file created URL will be displayed for the tags to embed or blog.


Click here for sample TechSharing PDF
Click here to go to HeartRails Captures home page


Enter the web site URL to generate the snapshot

Enter the web site URL to generate the snapshot


PDF generated from the URL anter

PDF generated from the URL anter

Tech.david-cheong.com is giving out the 10% dicount coupon for all the reader. You may redeem this discount coupon when you purchase any of the laptop sleeve from EC-Lifestyle.com

 discount-coupon


How to use this discount code:

  1. Go to EC-Lifestyle
  2. Select the product you wish to buy
  3. Register and check out the product
  4. Confirm your shipping address and enter the the following discount code: 38147e19d3
  5. Select the payment type either using Paypal or local bank payment
  6. Click continue to proceed and you will get you updated total amount to checkout
  7. Confirm the total amount and proceed to the payment gateway for the payment
  8. Get your confirmation after payment
  9. The product will be ship on the next working day after the payment done 


Enter the discount code when come to the payment page and select the payment type

Enter the discount code when come to the payment page and select the payment type


You will see the updated price on the next page after you enter the discount code

You will see the updated price on the next page after you enter the discount code