• Now all data be ready for publish, We had made our blog alive now. Haha.



  • These days CCP GFW blocked all the IPs from US and when I switch my IP in google Cloud, the disk data cannot be restore again. I have to restart my blog totally, Now the website is still building…



How can I safely create a nested directory?- Stack Overflow

How can I safely create a nested directory?- Stack Overflow

Question What is the most elegant way to check if the directory a file is going to be written to exists, and if not, create the directory using Python? Here is what I tried: impor……

10-27 DETAIL
Create GUID / UUID in JavaScript?- Stack Overflow

Create GUID / UUID in JavaScript?- Stack Overflow

Question I’m trying to create globally-unique identifiers in JavaScript. I’m not sure what routines are available on all browsers, how “random” and seeded……

10-27 DETAIL
Change an HTML5 input’s placeholder color with CSS- Stack Overflow

Change an HTML5 input’s placeholder color with CSS- Stack Overflow

Question Chrome supports the placeholder attribute on input[type=text] elements (others probably do too). But the following CSS doesn’t do anything to the placeholder’……

10-27 DETAIL
Avoiding != null statements- Stack Overflow

Avoiding != null statements- Stack Overflow

Question I use object != null a lot to avoid NullPointerException. Is there a good alternative to this? For example: if (someobject != null) { someobject.doCalc(); } This avo……

10-27 DETAIL
What exactly is RESTful programming?- Stack Overflow

What exactly is RESTful programming?- Stack Overflow

Question What exactly is RESTful programming? Answer An architectural style called REST (Representational State Transfer) advocates that web applications should use HTTP as it was……

10-27 DETAIL
Why does Google prepend while(1); to their JSON responses?- Stack Overflow

Why does Google prepend while(1); to their JSON responses?- Stack Overflow

Question Why does Google prepend while(1); to their (private) JSON responses? For example, here’s a response while turning a calendar on and off in Google Calendar: while(1)……

10-27 DETAIL
How to clone all remote branches in Git?- Stack Overflow

How to clone all remote branches in Git?- Stack Overflow

Question I have a master and a development branch, both pushed to GitHub. I’ve cloned, pulled, and fetched, but I remain unable to get anything other than the master branch ……

10-27 DETAIL
Which “href” value should I use for JavaScript links, “#” or “javascript:void(0)”?- Stack Overflow

Which “href” value should I use for JavaScript links, “#” or “javascript:void(0)”?- Stack Overflow

Question The following are two methods of building a link that has the sole purpose of running JavaScript code. Which is better, in terms of functionality, page load speed, valida……

10-27 DETAIL
Setting “checked” for a checkbox with jQuery?- Stack Overflow

Setting “checked” for a checkbox with jQuery?- Stack Overflow

Question I’d like to do something like this to tick a checkbox using jQuery: $(“.myCheckBox”).checked(true); or $(“.myCheckBox”).selected(true); Doe……

10-27 DETAIL
How can I add an empty directory to a Git repository?- Stack Overflow

How can I add an empty directory to a Git repository?- Stack Overflow

Question How can I add an empty directory (that contains no files) to a Git repository? Answer Another way to make a directory stay (almost) empty (in the repository) is to create……

10-27 DETAIL