05.04.2014 20:15

Please Visit: http://ift.tt/1ajReyV





Floyd-Warshall Algorithm







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1icsSee

via LifeLong Community

Tools: Word Cloud http://ift.tt/1iPxMky http://ift.tt/1mKMp9K http://timc.idv.tw...

Please Visit: http://ift.tt/1ajReyV






wordcloud - HTML5 Word Cloud







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1mKMp9L

via LifeLong Community

04.04.2014 23:40

Please Visit: http://ift.tt/1ajReyV





A collection of the world's best client-side javascript libraries







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1fTwHEB

via LifeLong Community

04.04.2014 23:26

Please Visit: http://ift.tt/1ajReyV





In our boot camps, students are introduced to several tools and libraries to expand the abilities of their code. Kalina, one of our current JavaScript students, compiled a list of these tools and wanted to share it with other Code Fellows.







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1jMfnpQ

via LifeLong Community

Reshared post from Best Quotations 4 U:

Please Visit: http://ift.tt/1ajReyV






Original Post from Best Quotations 4 U:


Simple things become complicated, When you expect too much.



English Quotes : http://ift.tt/1ghLCb9






Simple things become complicated, When you expect too much.jpg







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1q8Hr8Y

via LifeLong Community

Disallow Robots Using Robots.txt http://ift.tt/1hovwwA User-agent: * Disallow: / User-agent...

Please Visit: http://ift.tt/1ajReyV



Disallow Robots Using Robots.txt

http://ift.tt/1hovwwA User-agent: *

Disallow: /

User-agent: *

Disallow: /administration/

User-Agent: googlebot

Disallow: /



Luckily I can add a robots.txt file to my development server websites that will prevent search engines from indexing them.







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1hovwwF

via LifeLong Community

Reshared post from Programming.com:

Please Visit: http://ift.tt/1ajReyV






Original Post from Programming.com:


Testing web pages on different browsers. #True #Chrome #Firefox #Opera #Safari #IE






browser.jpg







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1q6yf4Q

via LifeLong Community

Testing IFrames

maximize

Java HashMap的工作原理 http://ift.tt/1ouwFfP

Please Visit: http://ift.tt/1ajReyV



Java HashMap的工作原理

http://ift.tt/1ouwFfP



面试的时候经常会遇见诸如:“java中的HashMap是怎么工作的”,“HashMap的get和put内部的工作原理”这样的问题。本文将用一个简单的例子来解释下HashMap内部的工作原理。首先我们从一个例子开始,而不仅仅是从理论上,这样,有助于更好地理解,然后,我们来看下get和put到底是怎样工作的。 [...]







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/PrGZoW

via LifeLong Community

Scraping HTML documents that require POST data with YQL select * from html where url="http://cnn.com...

Please Visit: http://ift.tt/1ajReyV



Scraping HTML documents that require POST data with YQL

select * from html where url="http://cnn.com" and xpath="//a"

select content from html where url="http://cnn.com" and xpath="//a"

Post Data

select * from htmlpost where

url='http://ift.tt/1pVZixV'

and postdata="foo=foo&bar=bar" and xpath="//p"

http://ift.tt/1pVZkpy

http://ift.tt/1h8vlLI

http://ift.tt/1pVZkpA



Ajax with jQuery - using YQL. Demo. Load Ajax Content · Get developer.yahoo.com. Source Code. Adding error handling and effects. Written by Christian Heilmann.







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1h8vjTU

via LifeLong Community

GAE java delete all data from my local datastore? http://ift.tt/1fy80kC...

Please Visit: http://ift.tt/1ajReyV



GAE java delete all data from my local datastore?

http://ift.tt/1pTnJxK

If you came here for a Java solution: Delete the following file:

{project root}/WEB-INF/appengine-generated/local_db.bin



How can I remove all entities or reset the local datastore on my dev_appserver? I accidentally recursively called a function to create an entity when testing. I am using the Google App-engine SDK on Vista with Python.







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1pTnJxO

via LifeLong Community

JPA: Thread-safety when injecting EntityManager EntityManagerFactory is guaranteed to be thread-safe...

Please Visit: http://ift.tt/1ajReyV



JPA: Thread-safety when injecting EntityManager

EntityManagerFactory is guaranteed to be thread-safe, EntityManager is not.

@PersistenceUnit

private EntityManagerFactory emf;

EntityManager em = emf.createEntityManager();

@PersistenceContext

EntityManager em;

http://ift.tt/1osMiEr



As I wrote in post Why we need type-level injections in JavaEE, injecting EJB 3 stateful beans into servlet instance fields is not thread-safe. Along the same line, injecting EntityManager with @PersistenceContext into servle...







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1osMh3w

via LifeLong Community

Reshared post from Jeffery yuan:

Please Visit: http://ift.tt/1ajReyV




Auto Completion when Select Category in G+ Community


Original Post from Jeffery yuan:


Auto Completion when Select Category in G+ Community

The Problem

When add posts to G+ community, we need select one category, usually there are 6+ or more categories in one community. So we have to scroll the category list to find the correct one.

The Suggestion

It would be great if it supports auto competition. So if we type J, it will only show categories which starts with J.








from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1hCnpRx

via LifeLong Community

Reshared post from Jeffery yuan:

Please Visit: http://ift.tt/1ajReyV




Auto Completion when Select Category in G+ Community


Original Post from Jeffery yuan:


Auto Completion when Select Category in G+ Community

The Problem

When add posts to G+ community, we need select one category, usually there are 6+ or more categories in one community. So we have to scroll the category list to find the correct one.

The Suggestion

It would be great if it supports auto competition. So if we type J, it will only show categories which starts with J.








from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1pQCh1e

via LifeLong Community

Auto Completion when Select Category in G+ Community The Problem When add posts to G+ community, we ...

Please Visit: http://ift.tt/1ajReyV



Auto Completion when Select Category in G+ Community

The Problem

When add posts to G+ community, we need select one category, usually there are 6+ or more categories in one community. So we have to scroll the category list to find the correct one.

The Suggestion

It would be great if it supports auto competition. So if we type J, it will only show categories which starts with J.





from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1pQCgKz

via LifeLong Community

Using X-Frame-Options: the Clickjacking attack http://ift.tt/1pPuvoi https://...

Please Visit: http://ift.tt/1ajReyV



Using X-Frame-Options: the Clickjacking attack

http://ift.tt/1pPuvoi

http://ift.tt/Xiu8lB



The Clickjacking attack allows to perform an action on victim site on visitor's behalf. Many sites were hacked this way, including Twitter and Facebook (both fixed). Clickjacking. The overall idea is simple. A visitor is lured to evil page. No matter how. “Click to get 1000000$” or whatever.







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1hBUNb3

via LifeLong Community

Google App Engine and JPA http://ift.tt/1jz12Nu https://develope...

Please Visit: http://ift.tt/1ajReyV



Google App Engine and JPA

http://ift.tt/1jz12Nu

http://ift.tt/1jz11t5



Using JPA on the Google AppEngine is straight forward. For some reason the documentation on the official Google App Engine side is not very easy to read therefore a little example here. Create a new web project “de.vogella.gae.persistence.jpa”. Change the generated Servlet to “PersistsServlet” ...







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1jz12NA

via LifeLong Community

vagrantup: Create and configure lightweight, reproducible, and portable development environments. http...

Please Visit: http://ift.tt/1ajReyV



vagrantup: Create and configure lightweight, reproducible, and portable development environments.

http://ift.tt/ViQNir



Set Up. Download and install Vagrant within minutes on Mac OS X, Windows, or a popular distribution of Linux. No complicated setup process, just a simple to use OS-standard installer. Configure. Create a single file for your project to describe the type of machine you want, the software that ...







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/PfB4mK

via LifeLong Community

collegehumor http://ift.tt/NXz81P

Please Visit: http://ift.tt/1ajReyV



collegehumor

http://ift.tt/NXz81P





from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/Pgwcy0

via LifeLong Community

Collections in Guava Google Guava is an open source library which provides lots of useful utility to...

Removing an element with the plain JavaScript remove() method http://ift.tt/1mqUyQz...

Please Visit: http://ift.tt/1ajReyV



Removing an element with the plain JavaScript remove() method

http://ift.tt/1jQX4Co

The bulletproof way

var elem = document.getElementById("myDiv");

elem.parentNode.removeChild(elem);

The jQuery way

$('#myDiv').remove();

The new way. FTW.

var elem = document.getElementById("myDiv");

elem.remove();



Remove an element with the plain JavaScript remove() method available in the current DOM4 specs along with other mutation methods like append(), prepend(), before(), after() and replace().







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1jQX4Cy

via LifeLong Community

Checking for undefined: === versus typeof versus falsiness http://ift.tt/15pSGBZ...

Please Visit: http://ift.tt/1ajReyV



Checking for undefined: === versus typeof versus falsiness

http://ift.tt/15pSGBZ

if (x === undefined) ...

if (typeof x === 'undefined') ...

if (!x) ...

The usual caveat applies: The condition of the above if statement will also be true for: null, false, -0, +0, NaN, "".



There are several ways of checking whether a variable has the value undefined. This blog post explains the differences. Checking via === Using strict equality [1] is the canonical way of checking for undefined: if (x === undefined) ... Changing undefined. undefined is a property of the global ...







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1ggWJRs

via LifeLong Community