Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

July 05 2011

ultrasurf – free proxy to America

logo

Ultrasurf is a product of Ultrareach Internet Corporation. Originally created to help internet users in China find security and freedom online, Ultrasurf has now become the world’s most popular pro-privacy, anti-censorship software, with millions of people using it to bypass firewalls and protect their identity online.

http://www.ultrareach.com/


May 27 2011

Tomcat 6: How to change the ROOT application

1) unzip tomcat.zip to a directory

2) setup JAVA_HOME environment variable

3) create following file, named as “ROOT.xml” in conf/Catalina/localhost/

<docBase="[path to your htdocs]"
path=""
override="true"
debug="1"
privileged="true"
allowLinking="true"
reloadable="false">

4) restart tomcat

reference : http://stackoverflow.com/questions/715506/tomcat-6-how-to-change-the-root-application


Tags: tomcat

April 18 2011

Install matplotlib into Window

matplotlib is a excellent tool for plotting chart. It is very easily to install into window environment. I am using python 2.6 in Window 7.

1) Download numpy

http://sourceforge.net/projects/numpy/files/NumPy/1.5.1/

binary: numpy-1.5.1-win32-superpack-python2.6.exe

2) Download matplotlib 1.0.1

http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/

matplotlib-1.0.1.win32-py2.6.exe

3) Installation
Execute: numpy-1.5.1-win32-superpack-python2.6.exe
Execute: matplotlib-1.0.1.win32-py2.6.exe

4) Testing
start python console and typo in following:
from pylab import *
plot(range(10))
show()

then you should see a new window with a line chart like this:


January 29 2011

AKG K702

 

I purchased a AKG K702 for few months. It was introduced by my fans in Music industry.

It is comfortable to wear and great sound. What I like the most is, not like the other headphones, it does sound the original, without unnecessary bloom on the high/low frequency.

It has more reasonable price than the other.

when browse the youtube, I find a interesting video about how it’s  made.

Now, I need to find a better sound source for it :) .


Tags: music AKG

January 03 2011

ericyung
0322_c5f6
Reposted bysuperflysuperjessymessy
ericyung
ericyung
0220_93b5_500
ericyung

September 18 2010

web dev – browser compatibility

Recently restart some development on web page. Encounter some browser compatibility issue between IE and the others (sad we still need to support the IE 6)

After several attempts, finally find out it missing following line.

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”&gt;

below is very good explanation:


<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
is what’s know as a “document type declaration (or definition)” (DTD). In essence it identifies to the browser the type of code that is being used in the document. When declaring a doctype, it is then your responsibility as a designer to code the page to the specifications you have “declared” you are using in the doctype. In your example, you are declaring to the browser that you will be writing your code to HTML 4.01 transitional specifications and that is what it is expecting. If you falter from those “expectations” then your code may become considerd as “invalid” and may not display correctly in some browsers.

This is where things start to get a little confusing. The transitional doctype was institituted to allow a transitional period for designers to migrate from older coding standards to newer coding standards. An alternative to a “transitional” doctype would be a “strict” doctype.

In the example you have provided the distinction would be that for a “strict” doctype to be valid and display correctly, then you must write the code for your pages specifically to HTML 4.01 standards, whereas using a “transitional “doctype would allow you to use depracated (i.e. obsolete) code from say perhaps, HTML 4.0 or HTML 3.2 and, although it’s planned to eventually be elliminated would at least still work for the time being.

An example would be <font> tags. Very old coding practice and now depricated and has been replaced by using style instead.

For more on doctype declarations (a.k.a. DTD’s) go here

http://www.w3schools.com/tags/tag_doctype.asp

link: http://www.ozzu.com/website-design-forum/first-line-html-code-doctype-html-public-t58206.html

another thing is the MUST HAVE  (life saving) tools:

- firebug

- html validator.

Just hard believe how people to develop page without these tools in the old day.

Salute to the developers them.


June 09 2010

ericyung
Primo Quarto by Giuseppe Viganò
Reposted frombookcase bookcase viaula ula

March 01 2010

ericyung
unforch, so true
Reposted fromjoshisyourbff joshisyourbff

February 08 2010

ericyung
6393_c032_500
Reposted fromchillzone chillzone

January 30 2010

ericyung
9300_64dc
switch
Reposted fromiber iber

January 27 2010

Query the WEB : YSQL


surf the net, I come across and great introduction on YSQL.

http://net.tutsplus.com/tutorials/other/an-api-for-the-web-learning-yql/

YSQL (“Yahoo Query Language”) is a tool to query a lot of things from web.
For example, you can query 19 “cat” photos from flickr by statement:

select * from flickr.photos.search where text=”Cat” limit 10

and result can be in XML and JSON format.

The best of all, it has a excellent console for you to test out the query.

http://developer.yahoo.com/yql/console/

December 22 2009

ericyung

December 17 2009

Python - PyQt4 - Hello World

testingReflections.com - The mind-share information resource for software testing, agile testing and test-first/test-driven development

basic "Hello World" GUI application using Python and Qt (PyQt4)

#!/usr/bin/env python
 
import sys
from PyQt4 import Qt

app = Qt.QApplication(sys.argv)
lbl = Qt.QLabel('Hello World')
lbl.show()
app.exec_()
Reposted fromstcnetworks stcnetworks
ericyung
ericyung
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.