Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- HTML



  Remove browse button from input type=file

In Web 2.0 era, many websites will ask the user to upload their avatar when creating their profile. In HTML, the input control we should use is input="file". This is a file control provided by the browser vendor and it should be ran in a sandbox for security consideration. Browsers don't provide ways to choose file from local and upload to the remote server without the input="file" control.  There is one annoying part about the input="file", which is a default button named "Choose File" or...

   file,html,browse,remove browse button     2015-07-12 05:17:51

  Carriage return and line feed

In programming and document editing, we may frequently encounter carriage return and line feed, i.e the well known CRLF.  But do you know about the history and difference of carriage return and line feed? Before computer came out, there was a type of teleprinter called Teletype Model 33. It can print 10 characters each second. But there is one problem with this, after finishing printing each line, it will take 0.2 second to move to next line, which is time of printing 2 characters. If a new...

   CR,CARRIAGE RETURN,LINE FEED,LF,NEW LINE,CRLF     2017-02-19 08:29:23

  Interesting program comments

With Google Code Search, we can search some interesting code snippets comments. Some of them are interesting. Programming is not a boring task if you have a good attitude. Lets see some funny comments. Have fun.Not very confident :Dragon everywhere :One more angry comment :I told them earlier:F**K:Don't look following programs:Author :  陈皓 Source : http://coolshell.cn/articles/290.html...

   Programming,comment,interesting     2012-04-23 06:51:05

  10 controversial programming opinions?

Every programmer has his/her own understanding about programming. His/her opinion may or may not be agreed by others since they may face different programming environment. Let's see ten controversial programming opinions. You may agree with these opinions or you may not agree with them or you have your own opinion. You can freely share with others by commenting below.1) The only “best practice” you should be using all the time is “Use Your Brain”.2) Programme...

   Programming,Opinion,Controversial     2012-05-12 11:02:18

  The Erlang Design Pattern

Over the last couple of weeks I did an OO programming experiment. I call it the Erlang design pattern. It is based on the Actor model but goes some steps further. At its core just like the Actor model there are active entities (objects) that have a thread and a message queue with the thread waiting on the message queue to do some stuff. The Erlang design pattern extends the Actor model by first dividing the software program into active (actors, that have their own thread) and passive ...

   Erlang,Thread,Pattern,OS Threads     2012-02-06 07:47:56

  Sustainability

When I was in business school 25 years ago, I don't recall the term sustainability used. Maybe it was, but it certainly didn't register in my brain. The mantras that I recall were return on investment, shareholder value, revenue growth, and driving efficiencies in the business.But as I look at many of the challenges facing businesses today, it seems to me that the focus on performance and efficiency often comes at the cost of sustainability. This talk by Clay Christensen really drives that point...

   Sustainability,Productivity,Efficiency     2011-11-21 10:07:16

  GitHub is to raise fund

Popular social coding and code hosting site GitHub is close to make an fund raising agreement with venture capital firm Andreessen Horowitz. After this round of fund raising, GitHub's market value will be around $500-800million.GitHub is a very popular social coding website, the major clients are programmers from big IT companies. Recently, GitHub even becomes a platform for some big companies to recruit new programmers, some HR managers are more willing to read applicant's GitHun profile instea...

   GitHub,Fund raising,Socail coding     2012-05-22 05:22:55

  AOL is the biggest winner of Internet Stocks in 2012

At the beginning of 2012, not many people would think that the best Internet stock is AOL(American Online) in 2012. But now there are only four trading days left in 2012, AOL leads the mainstream technology companies with a 99.8% increase in its share price and firmly sits on the throne of the Year Internet Stock. AllthingsD chooses ten technology companies and their stock market performance in 2012 to do a comparison and gets the above figure. AOL has a 99.8% increase in share price which is a...

   AOL,Stock market     2012-12-27 11:29:17

  how to do online promotion to increase the traffic to your blog.

So many seo trics we can do to increase traffic to our blog, One of them is, by doing an online promotion. This trick is often done by the bloggers to increase traffic on their blogs.a very simple thing to do, but carry a big impact on traffic increases and the popularity of a blog on the internet. If you haven't already to do it for your blog, I think you should do it now, because it is more important than you are installing a lot of meta tags in your blogger.I have written some tips for doing ...

   Website,Promotion,SEO,Advice,Practice     2011-10-26 09:14:12

  CSS Overflow Property Utilization

Sometimes when we do CSS on HTML elements. We may want to hide some text when the text in a specified box overflows. Usually, we can use a CSS property overflow:hidden to hide the text so that the format of the whole element will not be affected. But will it always work? I believe some of us may encounter problems when we want to hide some text in a table td cell with specified width. If we use td { overflow:hidden;}, it is supposed to hide the text if the text in a td cell overflows. But the fa...

   CSS,Overflow,TD,Cell,Hidden     2014-10-21 08:24:48