*blogger - How to sort your blogposts as per their view count? - Stack Overflow*This can be done within...

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



*blogger - How to sort your blogposts as per their view count? - Stack Overflow*This can be done within YourBlogger > Stats > Posts. It even supports ordering posts by their pageviews per day/week/month/all-time in your Blogger Dashboard (Link->http://ift.tt/1lwHU1A) .

http://ift.tt/1kcccs6

http://ift.tt/1lwHUhS



blogger - How to sort your blogposts as per their view count? - Stack Overflow







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

via LifeLong Community

Loops, loop positions, and isFirst variables in Blogger : Blogger Xpertise http://ift.tt/1p0uWLK...

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



Loops, loop positions, and isFirst variables in Blogger : Blogger Xpertise

http://ift.tt/1p0uWLL

http://ift.tt/TeAGra



Loops, loop positions, and isFirst variables in Blogger : Blogger Xpertise







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

via LifeLong Community

How to capture enter key pressed in a form (JavaScript) - Barattalo Here is the javascript function ...

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



How to capture enter key pressed in a form (JavaScript) - Barattalo

Here is the javascript function that handle the event:

? (Link->http://ift.tt/1katoOQ) 010203040506070809101112<script type="text/javascript"> function submitonenter(formid,evt,thisObj) { evt = (evt) ? evt : ((window.event) ? window.event : "") if (evt) { // process event here if ( evt.keyCode==13 || evt.which==13 ) { thisObj.blur(); document.getElementById(formid).submit(); } } }</script>

This is the html form with the “onkeypress” listener:

? (Link->http://ift.tt/1katoOQ) 12345<form id='formlogin' action='file.php' method='post'> <input type='text' name='username' /> <input name='pass' type='password' onkeypress="submitonenter('formlogin',event,this)" /> <input type='submit' value='login'/></form>

http://ift.tt/1katoOQ

http://ift.tt/1katmpX



How to capture enter key pressed in a form (JavaScript) - Barattalo







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

via LifeLong Community

Blogger: Hide Labels of Small Amount of Posts from Label Widget The Problem: Blogger (Blogspot) Label...

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



Blogger: Hide Labels of Small Amount of Posts from Label Widget

The Problem: Blogger (Blogspot) Label widget allows us to show all labels, or show specific labels. But in some cases, we may want to show all labels except which just has a small amount of posts - such as less than 5. - or show all except some specific lab...



The Problem: Blogger (Blogspot) Label widget allows us to show all labels, or show specific labels. But in some cases, we may want to show all labels except which just has a small amount of posts - such as less than 5. - or s...







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

via LifeLong Community

How to remove/delete labels from Blogger posts | Helplogger http://ift.tt/1nXyn5Y...

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



How to remove/delete labels from Blogger posts | Helplogger

http://ift.tt/1nSkg4v

http://ift.tt/1nSkg4w



How to remove/delete labels from Blogger posts | Helplogger







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

via LifeLong Community

Java Decompiler - JD-GUI The “Java Decompiler project” aims to develop tools in order to decompile and...

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



Java Decompiler - JD-GUI

The “Java Decompiler project” aims to develop tools in order to decompile and analyze Java 5 “byte code” and the later versions.



It provides JD-Core, JD-GUI, JD-Eclipse, JD-IntelliJ. Also we can decompile jar or class online in its website - in case we don't or can't install the JD-GUI.



http://jd.benow.ca/

http://ift.tt/1gMZ7kD



JD Java Decompiler







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

via LifeLong Community

clay all day: RANDOM POST http://ift.tt/1syMsHc http://massivepr...

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



clay all day: RANDOM POST

http://ift.tt/1syMsHc

http://ift.tt/1syMu1N



clay all day: RANDOM POST







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

via LifeLong Community
Please Visit: http://ift.tt/1ajReyV



ConEmu failed to startup: command group <startup> is empty, choose your shell?

I am a fan of ConEmu, as it allows me to open various console(cmd, powsershell, Cygwin bash) in one place with tabs. Also it can auto save and restore opened tabs. Today when I reopen ConEmu, it prompts a dialog: "Command group is empty, choose your shell?"...



I am a fan of ConEmu, as it allows me to open various console(cmd, powsershell, Cygwin bash) in one place with tabs. Also it can auto save and restore opened tabs. Today when I reopen ConEmu, it prompts a dialog: "Command g...







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

via LifeLong Community

The Real Blogger Status: Mail-To-Blogger, And Problems From Mobile Blog Posting Volumes http://blogg...

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



The Real Blogger Status: Mail-To-Blogger, And Problems From Mobile Blog Posting Volumes

http://ift.tt/1luCHG4

http://ift.tt/T7bGCh



The Real Blogger Status: Mail-To-Blogger, And Problems From Mobile Blog Posting Volumes







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

via LifeLong Community

On undoing, fixing, or removing commits in git http://ift.tt/QKUTCR...

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



On undoing, fixing, or removing commits in git

http://ift.tt/1jhigR7

http://ift.tt/1jhifwB



On undoing, fixing, or removing commits in git







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

via LifeLong Community

http://ift.tt/1fhYUb3 http://massiveprogr...

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






http://ift.tt/1fhYUb3







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

via LifeLong Community

http://ift.tt/1fhYUb3 http://massiveprogr...

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






http://ift.tt/1fhYUb3







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

via LifeLong Community

Powershell select-object skip multiple lines? - Stack Overflow You can also use the readcount property...

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



Powershell select-object skip multiple lines? - Stack Overflow

You can also use the readcount property to exclude lines:

get-content d:\testfile.txt | where {$.readcount -lt 3 -or $.readcount -gt 7}

http://ift.tt/1jgMUdt

http://ift.tt/QKdRJR



Powershell select-object skip multiple lines? - Stack Overflow







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

via LifeLong Community

Shaka Huang (Link->http://ift.tt/QKdUp3) http://ift.tt/1jgMWCg...

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






http://ift.tt/QKdRts







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

via LifeLong Community

Gradle: The New Android Build System android { compileSdkVersion 17 buildToolsVersion "17.0.0" proje...

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



Gradle: The New Android Build System

android {

compileSdkVersion 17

buildToolsVersion "17.0.0"

project.archivesBaseName = "MyAndroid";

}

http://ift.tt/1jgMWC4

http://ift.tt/QKdU8F



颜路的博客 » Gradle: The New Android Build System







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

via LifeLong Community

Get-Date | PowerShell | SS64.com Retrieve the current date and time: PS C:\> $now=Get-Date -format ...

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



Get-Date | PowerShell | SS64.com



Retrieve the current date and time:

PS C:\> $now=Get-Date -format "dd-MMM-yyyy HH:mm"

Retrieve the current date and time, display as a General short date/time:

PS C:\> get-date -format g

http://ift.tt/QKdTS5

http://ift.tt/1jgMTGt



Get-Date | PowerShell | SS64.com







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

via LifeLong Community

Java Persistence/Basic Attributes - Wikibooks, open books for an open world http://ift.tt/1sth6Sc...

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



Java Persistence/Basic Attributes - Wikibooks, open books for an open world

http://ift.tt/1sth6Sd



Java Persistence/Basic Attributes - Wikibooks, open books for an open world







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

via LifeLong Community

Why use SLF4J over Log4J for logging in Java http://ift.tt/QJ19v1...

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



Why use SLF4J over Log4J for logging in Java

http://ift.tt/1k1ef2g



Why use SLF4J over Log4J for logging in Java







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

via LifeLong Community

HowTo: Check Ram Size From Redhat Linux Desktop System /proc/meminfo file - free command - top command...

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



HowTo: Check Ram Size From Redhat Linux Desktop System

/proc/meminfo file - free command - top command - vmstat command - dmidecode command - Gnonome System Monitor gui toolhttp://http://ift.tt/1iRcGDD

http://ift.tt/1iRcGDE



HowTo: Check Ram Size From Redhat Linux Desktop System







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

via LifeLong Community

Android force Horizontal layout - Stack Overflow Open the AndroidManifest.xml and add the following...

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



Android force Horizontal layout - Stack Overflow



Open the AndroidManifest.xml and add the following android:screenOrientation="landscape"

e.g.

<activity android:name=".ActivtyName"

android:screenOrientation="landscape"

>http://ift.tt/1srTrBB

http://ift.tt/1srTptG



Android force Horizontal layout - Stack Overflow







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

via LifeLong Community

time - Timing a command's execution in PowerShell - Stack Overflow Measure-Command { .\do_something.ps1...

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



time - Timing a command's execution in PowerShell - Stack Overflow



Measure-Command { .\do_something.ps1 }

Note that one minor downside of Measure-Command is that you see no stdout output. If you want to see the output, then you can use the .NET Stopwatch object e.g.:

$sw = [Diagnostics.Stopwatch]::StartNew()

.\do_something.ps1

$sw.Stop()

$sw.Elapsedhttp://http://ift.tt/1iRcG6H

http://ift.tt/1srTpd2



time - Timing a command's execution in PowerShell - Stack Overflow







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

via LifeLong Community

Windows PowerShell: Defining Parameters | TechNet Magazine [CmdletBinding()] Param( [Parameter(Mandatory...

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



Windows PowerShell: Defining Parameters | TechNet Magazine

[CmdletBinding()]

Param(

[Parameter(Mandatory=$True,Position=1)]

[string]$computerName,



[Parameter(Mandatory=$True)]

[string]$filePath

)http://ift.tt/RkiwkT

http://ift.tt/1nGBuBG



Windows PowerShell: Defining Parameters | TechNet Magazine







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

via LifeLong Community

JavaScript: Get the Selected Html in Webpage The Code Tested in Chrome: function getSelectionHtml(selection...

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



JavaScript: Get the Selected Html in Webpage

The Code Tested in Chrome: function getSelectionHtml(selection) {

var range = selection.getRangeAt(0);



var div = document.createElement('div');

div.appendChild(range.cloneContents());

var htmlText = div.innerHTML;

return htmlText;

}



function p...



The Code Tested in Chrome: function getSelectionHtml(selection) { var range = selection.getRangeAt(0); var div = document.createElement('div'); div.appendChild(range.cloneContents()); var htmlText = div.innerHTML; return html...







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

via LifeLong Community

Switching to landscape mode in Android Emulator - Stack Overflow Try: ctrl+fn+F11 on Mac to change ...

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



Switching to landscape mode in Android Emulator - Stack Overflow



Try:

ctrl+fn+F11 on Mac to change the landscape to portrait and vice versa.

left-ctrl+F11on Windows 7.

ctrl+F11on Linux.http://ift.tt/SZbqVT

http://ift.tt/1ljWic6



Switching to landscape mode in Android Emulator - Stack Overflow







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

via LifeLong Community

Android Studio: No classes.dex in built apk http://ift.tt/SZbqoX...

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



Android Studio: No classes.dex in built apk

http://ift.tt/1mnEals

Recently, when I deploy my simple Android application to emulator in Android Studio, it always fails with error: Failure [INSTALL_FAILED_DEXOPT]

Check the logcat log: it shows: "The apk does not include classes.dex".



The Workaround: Build the app manually in command line: gradlew.bat clean assembleDebug



The Problem: The apk does not include classes.dex Recently, when I deploy my simple Android application to emulator in Android Studio, it always fails with error: Failure [INSTALL_FAILED_DEXOPT] Check the logcat log: it sho...







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

via LifeLong Community

Android Studio: No classes.dex in built apk The Problem: The apk does not include classes.dex Recently...

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



Android Studio: No classes.dex in built apk

The Problem: The apk does not include classes.dex Recently, when I deploy my simple Android application to emulator in Android Studio, it always fails with error: Failure [INSTALL_FAILED_DEXOPT] Check the logcat log: it shows: " The apk does not include cla...



The Problem: The apk does not include classes.dex Recently, when I deploy my simple Android application to emulator in Android Studio, it always fails with error: Failure [INSTALL_FAILED_DEXOPT] Check the logcat log: it s...







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

via LifeLong Community

Reshared post from Computer World:

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






Original Post from Computer World:


Top 20 replies by programmers.. #ComputerWorld






1538809_10152082090347799_4669743971191632311_n.jpg







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

via LifeLong Community

Set a default parameter value for a JavaScript function - Stack Overflow There are a lot of ways, but...

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



Set a default parameter value for a JavaScript function - Stack Overflow



There are a lot of ways, but this is my preferred method - it lets you pass in anything you want, including false or null. (typeof null == "object")

function foo(a, b)

{

a = typeof a !== 'undefined' ? a : 42;

b = typeof b !== 'undefined' ? b : 'default_b';

...

}http://ift.tt/1nEAZIn

http://ift.tt/1iIDNfH



Set a default parameter value for a JavaScript function - Stack Overflow







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

via LifeLong Community

Send email using Javamail API | COMPILETIMEERROR.com http://ift.tt/1onstNS...

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



Send email using Javamail API | COMPILETIMEERROR.com

http://ift.tt/1nHaJuk



Send email using Javamail API | COMPILETIMEERROR.com







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

via LifeLong Community

java - dependency inject servlet listener - Stack Overflow public class MyServletListener implements...

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



java - dependency inject servlet listener - Stack Overflow

public class MyServletListener implements ServletContextListener, HttpSessionAttributeListener, HttpSessionListener {

@Autowired

private SomeService someService;

@Autowired

private AnotherService anotherService;

public void contextInitialized(ServletContextEvent sce) {

SpringBeanAutowiringSupport.processInjectionBasedOnCurrentContext(this);

}

...

}http://ift.tt/1onstNO

http://ift.tt/1nHaM9F



java - dependency inject servlet listener - Stack Overflow







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

via LifeLong Community

MYSQL: Cannot delete or update a parent row: a foreign key constraint fails Turns out you can temporarily...

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



MYSQL: Cannot delete or update a parent row: a foreign key constraint fails



Turns out you can temporarily disable foreign key checks:

SET FOREIGN_KEY_CHECKS=0;

Just be sure to restore them once you’re done messing around:

SET FOREIGN_KEY_CHECKS=1;http://ift.tt/1gwkFlh

http://ift.tt/1nB1sGL



MYSQL: Cannot delete or update a parent row: a foreign key constraint fails







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

via LifeLong Community

one to many - JPA @ManyToOne with CascadeType.ALL - Stack Overflow The meaning of CascadeType.ALL is...

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



one to many - JPA @ManyToOne with CascadeType.ALL - Stack Overflow



The meaning of CascadeType.ALL is that the persistence will propagate (cascade) all EntityManager operations (PERSIST, REMOVE, REFRESH, MERGE, DETACH) to the relating entities.

It seems in your case to be a bad idea, as removing an Address would lead to removing the related User. As a user can have multiple addresses, the other addresses would become orphans. However the inverse case (annotating the User) would make sense - if an address belongs to a single user only, it is safe to propagate the removal of all addresses belonging to a user if this user is deleted.

BTW: you may want to add a mappedBy="addressOwner" attribute to your User to signal to the persistence provider that the join column should be in the ADDRESS table.http://ift.tt/1sEVRPh

http://ift.tt/1qwGkU0



one to many - JPA @ManyToOne with CascadeType.ALL - Stack Overflow







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

via LifeLong Community

Spring @Component, @Service, @Repository, @Controller Difference Major difference between these stereotypes...

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



Spring @Component, @Service, @Repository, @Controller Difference

Major difference between these stereotypes is they are used for different classification.

In a multitier application, we will have different layers like presentation, service, business, data access etc. When a class is to be annotated for auto-detection by Spring, then we should use the respective stereotype as below.

@Component – generic and can be used across application.

@Service – annotate classes at service layer level.

@Controller – annotate classes at presentation layers level, mainly used in Spring MVC (Link->http://ift.tt/1sEVRyJ) .

@Repository – annotate classes at persistence layer, which will act as database repository.http://ift.tt/1sEVRyN

http://ift.tt/1sEVOTD



Spring @Component, @Service, @Repository, @Controller Difference







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

via LifeLong Community