<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.0</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> </plugins> </build>Read full article from How to compile Maven project with different Java version
How to compile Maven project with different Java version
Setting up OAuth 2 with Google Java APIs | Example | OCPsoft | OCPsoft
Usage Add Client ID, and Client Secret parameters to GoogleAuthHelper.java Compile the project: $ mvn clean install Deploy war to application server Browse to: http://localhost:8080/OAuth2v1/ Click "log in with google" on top of the page
Read full article from Setting up OAuth 2 with Google Java APIs | Example | OCPsoft | OCPsoft
Google API Support - Google Plugin for Eclipse -- Google Developers
With the Google Plugin for Eclipse, you can easily do any of the following: Add Google APIs to an App Engine Project Remove Google APIs from Project Undo Additions and Removals of Google APIs Google API updates
Read full article from Google API Support - Google Plugin for Eclipse — Google Developers
Optional parameters in Javascript | Mark Hansen
function connect(hostname, port, method) {
if (hostname === undefined) hostname = "localhost";
if (port === undefined) port = 80;
if (method === undefined) method = "HTTP";
}
function connect(hostname, port, method) {
hostname = hostname || "localhost";
port = port || 80;
method = method || "GET";
}
shutdownguard - Prevent Windows from shutting down - Google Project Hosting
ShutdownGuard tries to prevents applications to shutdown, reboot or log off your computer. When it prevents a shutdown in Windows XP, it will pop up in the tray and ask you if you want to continue. In Vista and Windows 7, you will see another dialog. Note that ShutdownGuard will not be able to prevent all shutdowns, since some programs explicitly tells Windows to force the shutdown. This means some programs will still be able to shutdown your computer!
Read full article from shutdownguard - Prevent Windows from shutting down - Google Project Hosting
java - How to set selected item of Spinner by value, not by position? - Stack Overflow
To find the position of "some value" in the Spinner use this: String myString = "some value"; //the value you want the position for ArrayAdapter myAdap = (ArrayAdapter) mySpinner.getAdapter(); //cast to an ArrayAdapter int spinnerPosition = myAdap.getPosition(myString); //set the default according to value mySpinner.setSelection(spinnerPosition);
Read full article from java - How to set selected item of Spinner by value, not by position? - Stack Overflow
How to kill an Android activity when leaving it so that it cannot be accessed from the back button? - Stack Overflow
You just need to call finish() Intent intent = new Intent(this, NextActivity.class); startActivity(intent); finish();
Read full article from How to kill an Android activity when leaving it so that it cannot be accessed from the back button? - Stack Overflow
android - Get Value of a Edit Text field - Stack Overflow
myActivity.this.mEdit.getText().toString()
Read full article from android - Get Value of a Edit Text field - Stack Overflow
Android 'Unable to add window -- token null is not for an application' exception - Stack Overflow
new Dialog(getApplicationContext()); This is wrong. You need to use an Activity context. You have to try like: new Dialog(YourActivity.this);
Read full article from Android 'Unable to add window -- token null is not for an application' exception - Stack Overflow
android - Filtering Logcat Logs on commandline - Stack Overflow
If you only want to show logcat for a specific TAG, do it like this: adb logcat YourTAGHere:Priority *:S The *:S is important, as it sets all other tags to silent. If I want to track only my MainActivity tag at Verbose level, the syntax would look like this. adb logcat MainActivity:V *:S
Read full article from android - Filtering Logcat Logs on commandline - Stack Overflow
How to Root Samsung Galaxy S3 | One Click Root
Four easy steps to root Samsung Galaxy S3: Download One Click Root Connect your Samsung Galaxy S3 to the computer using your Micro-USB/USB cord Enable USB Debugging mode for your device Run One Click Root software than click ‘Root Now’
Read full article from How to Root Samsung Galaxy S3 | One Click Root
The BROWSABLE category revealed - Jayway
On Android we can control how the device should react when the user clicks on a link in the web browser, or more specific control which Activity should be started. Every time the user clicks on a link the browser sends an intent to the platform with the following content. action = android.intent.action.VIEW category = android.intent.category.BROWSABLE data = the text from the href tag
Read full article from The BROWSABLE category revealed – Jayway
Batch files - Escape Characters
Escape Characters Character to be escaped Escape Sequence Remark % %% May not always be required in doublequoted strings, just try ^ ^^ May not always be required in doublequoted strings, but it won't hurt & ^& < ^< > ^> | ^| ' ^' Required only in the FOR /F "subject" (i.e. between the parenthesis), unless backq is used ` ^` Required only in the FOR /F "subject" (i.e. between the parenthesis), if backq is used , ^, Required only in the FOR /F "subject" (i.e. between the parenthesis), even in doublequoted strings ; ^; = ^= ( ^( ) ^) ! ^^! Required only when delayed variable expansion is active \ \\ Required only in the regex pattern of FINDSTR [ \[ ] \] " \"
Read full article from Batch files - Escape Characters
Samsung Andorid USB Driver for Windows | SAMSUNG Developers
The USB Driver for Windows is available for download in this page. You need the driver only if you are developing on Windows and want to connect a Samsung android device to your development environment over USB.
Read full article from Samsung Andorid USB Driver for Windows | SAMSUNG Developers
10 Hidden Features You Can Find In Android Developer Options
Do you notice that your Android device has a "developer options" feature hidden somewhere? There are many things you can do on your Android but there’s more you can do when you have this option enabled. From speeding up your device by turning animations off, to obtaining higher quality rendering for a good gameplay, there are plenty of features you can enable from the Android Developer Options section.
Read full article from 10 Hidden Features You Can Find In Android Developer Options
How to enable USB debugging on Android
How to enable USB debugging on Android KitKat and Jelly Bean (4.2 and later) 1. Navigate to Settings > About Phone > scroll to the bottom > tap Build number seven (7) times. You'll get a short pop-up in the lower area of your display saying that you're now a developer. 2. Go back and now access the Developer options menu, check ‘USB debugging’ and click OK on the prompt.
Read full article from How to enable USB debugging on Android
Dependency Walker - How to use - Tutorial
Sometimes normal troubleshooting steps just won’t cut it. We might need to go above and beyond - more like forensic troubleshooting. Today I’ll write about a tool that will help us in doing that. Dependency Walker is a tool to analyze the dependencies of a Windows application – like functions, modules, etc. It builds a hierarchical tree of all the dependent modules of a exe, dll, sys, etc. Dependency Walker Dependency Walker can help you in troubleshooting application errors, file registration errors, memory access violations and invalid page faults.
Read full article from Dependency Walker - How to use - Tutorial
android - Listing all extras of an Intent - Stack Overflow
public static void dumpIntent(Intent i){ Bundle bundle = i.getExtras(); if (bundle != null) { Set
Read full article from android - Listing all extras of an Intent - Stack Overflow
How to discover extras from intent - Android Snippets
Bundle extras = getIntent().getExtras(); Set
Read full article from How to discover extras from intent - Android Snippets
Passing Data with Android Intent Extras | mybringback tutorials | mybringback
Anytime you need to pass data between two activities you will need to work with an intent (as I’ve mentioned in the previous few tutorials). You will be able to put extras into the intent so that the opening (or receiving) activity will be able to get the data from the intent through a variety of different methods. Passing data is as easy as setting up your base intent, and adding extra data, by intent.putExtra(“yourExtraName”, yourExtraValue); and getting that data by intent.getStringExtra(“yourExtraName”);
Read full article from Passing Data with Android Intent Extras | mybringback tutorials | mybringback
jsoup - How to get page meta (title, description, images) like facebook attach url using Regex in java - Stack Overflow
Connection con = Jsoup.connect(urlStr); /* this browseragant thing is important to trick servers into sending us the LARGEST versions of the images */ con.userAgent(Constants.BROWSER_USER_AGENT); Document doc = con.get(); String text = null; Elements metaOgTitle = doc.select("meta[property=og:title]"); if (metaOgTitle!=null) { text = metaOgTitle.attr("content"); } else { text = doc.title(); }
Read full article from jsoup - How to get page meta (title, description, images) like facebook attach url using Regex in java - Stack Overflow
Returns true if specified character is a punctuation character. : String char « Data Type « Java
public static boolean isPunctuation(char c) {
return c == ','
|| c == '.'
|| c == '!'
|| c == '?'
|| c == ':'
|| c == ';'
;
}
Read full article from Returns true if specified character is a punctuation character. : String char « Data Type « Java
Android HTTP Access - Tutorial
Android contains the standard Java network java.net
package which can be used to access network resources. Android also contains the Apache HttpClient library.
The base class for HTTP network access in the java.net
package is the HttpURLConnection
class.
The preferred way of accessing the Internet according to Google is the HttpURLConnection
class, as Google is focusing their efforts on improving this implementation.
Read full article from Android HTTP Access - Tutorial
Android Toast example
public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); button = (Button) findViewById(R.id.buttonToast); button.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) { Toast.makeText(getApplicationContext(), "Button is clicked", Toast.LENGTH_LONG).show(); } });
Read full article from Android Toast example
java - Adding external library in Android studio 0.3.6 - Stack Overflow
Go to Project Structure > Modules > Your module name > Dependencies and click on the + button to add a new dependency. Choose Maven dependency from the list:
Read full article from java - Adding external library in Android studio 0.3.6 - Stack Overflow
Salmon Run: Smart Query Parsing with UIMA
Anyway, I decided to get familiar with the UIMA API by solving a toy problem. Assume a website which allows searching for names of people and organizations with optional (and partial) addresses to narrow the search. Behind the scenes, asume an index which stores city, state and zipcode as separate indexed fields. The query string is parsed using a UIMA aggregate analysis engine (AE) composed of a pipeline of three primitive AEs, for parsing the zipcode, state and city respectively. The end result of the analysis is the term with token offset information for each of these entities. I haven't gone as far as the query parser (a CAS Consumer in UIMA), so in this post I show the various descriptors and annotator code that parse the query string and extract the entities from it.
UIMA Background
For those not familiar with UIMA, its a framework developed by IBM and donated to Apache. UIMA is currently in the Apache incubator. For details, you should refer to the UIMA Tutorial and Developer's Guide, but if you want a really quick (and possibly incomplete) tour, here it is. The basic building block that you build is a primitive Analysis Engine (AE). Each primitive AE needs to have an annotation type and an annotator. The type is defined as an XML file and a tool called JCasGen used to generate the POJO representing the type and annotation. The annotator is written next, and an XML descriptor created. The framework instantiates the annotator using the AE XML descriptor. Aggregate AEs are defined as XML files, and define chains of primitive AEs.
UIMA comes with an Eclipse plug in, which provides tools to build the XML using fill-in forms. Its probably advisable to use that because the XML is quite complex, at least initially.
Read full article from Salmon Run: Smart Query Parsing with UIMA
Java EE 7 Maven Coordinates - GlassFish Wiki - Oracle Wiki
If you need Java EE Full Platform APIs then use the coordinates described in the first row. The second row provides the same for Web Profile. These are the recommended way even if only one or more technology is used. All of them are available in Maven central.
The complete set of coordinates can be seen at:
- Full Platform: http://search.maven.org/remotecontent?filepath=javax/javaee-api/7.0/javaee-api-7.0.pom
- Web Profile: http://search.maven.org/remotecontent?filepath=javax/javaee-web-api/7.0/javaee-web-api-7.0.pom
Refer to general guidelines on Maven Versioning Rules.
Read full article from Java EE 7 Maven Coordinates - GlassFish Wiki - Oracle Wiki
Maven - Introduction to the Standard Directory Layout
src/main/java | Application/Library sources |
src/main/resources | Application/Library resources |
src/main/filters | Resource filter files |
src/main/config | Configuration files |
src/main/scripts | Application/Library scripts |
src/main/webapp | Web application sources |
src/test/java | Test sources |
src/test/resources | Test resources |
src/test/filters | Test resource filter files |
src/it | Integration Tests (primarily for plugins) |
src/assembly | Assembly descriptors |
src/site | Site |
LICENSE.txt | Project's license |
NOTICE.txt | Notices and attributions required by libraries that the project depends on |
README.txt | Project's readme |
Read full article from Maven - Introduction to the Standard Directory Layout
How to create a Web Application Project with Maven
mvn archetype:generate -DgroupId={project-packaging} -DartifactId={project-name} -DarchetypeArtifactId=maven-archetype-webapp -DinteractiveMode=false
Read full article from How to create a Web Application Project with Maven
http - application/x-www-form-urlencoded or multipart/form-data? - Stack Overflow
For application/x-www-form-urlencoded
, the body of the HTTP message sent to the server is essentially one giant query string -- name/value pairs are separated by the ampersand (&
), and names are separated from values by the equal symbal (=
). An example of this would be:
MyVariableOne=ValueOne&MyVariableTwo=ValueTwo
According to the specification:
[Reserved and] non-alphanumeric characters are replaced by `%HH', a percent sign and two hexadecimal digits representing the ASCII code of the character
That means that for each non-alphanumeric byte that exists in one of our values, it's going to take three bytes to represent it. For large binary files, tripling the payload is going to be highly inefficient.
That's where multipart/form-data
comes in. With this method of transmitting name/value pairs, each pair is represented as a "part" in a MIME message (as described by other answers). Parts are separated by a particular string boundary (chosen specifically so that this boundary string does not occur in any of the "value" payloads). Each part has its own set of MIME headers like Content-Type
, and particularly Content-Disposition
, which can give each part its "name." The value piece of each name/value pair is the payload of each part of the MIME message. The MIME spec gives us more options when representing the value payload -- we can choose a more efficient encoding of binary data to save bandwidth (e.g. base 64 or even raw binary).
Why not use multipart/form-data
all the time? For short alphanumeric values (like most web forms), the overhead of adding all of the MIME headers is going to significantly outweigh any savings from more efficient binary encoding.
The moral of the story is, if you have binary (non-alphanumeric) data (or a significantly sized payload) to transmit, use multipart/form-data
. Otherwise, use application/x-www-form-urlencoded
.
Read full article from http - application/x-www-form-urlencoded or multipart/form-data? - Stack Overflow
Android spinner (drop down list) example
In Android, you can use “android.widget.Spinner” class to render a dropdown box selection list.
Spinner is a widget similar to a drop-down list for selecting items.
In this tutorial, we show you how to do the following tasks :
- Render a Spinner in XML, and load the selection items via XML file also.
- Render another Spinner in XML, and load the selection items via code dynamically.
- Attach a listener on Spinner, fire when user select a value in Spinner.
- Render and attach a listener on a normal button, fire when user click on it, and it will display selected value of Spinner.
Read full article from Android spinner (drop down list) example
Android TableLayout example
In Android, TableLayout let you arranges components in rows and columns, just like the standard table layout in HTML,
Easy Testing with Android Studio
If you’re developing in Android Studio and using the Gradle build system, this guide will help you get your Test environment up and running in just 4 steps.
Android Unit Testing in Android Studio and CI Environments | Futurice blog
Unit testing Android apps is easy, thanks to integrated testing tools. However, the only officially supported way of running the tests is on the Dalvik VM, either on a real device or in an emulator. The practical ramifications of this are a long test run startup time, and the arguably more serious matter of making running tests in a CI environment difficult to say the least. Even if you manage to set up an AVD on your probably headless build agent, you’ll still need to perform more magic to get jUnit XML reports out of the AVD and onto the agent for your CI system to parse them.
Read full article from Android Unit Testing in Android Studio and CI Environments | Futurice blog
Android application testing with the Android test framework - Tutorial
Automated testing of Android applications is especially important because of the huge variety of available devices. As it is not possible to test Android application on all possible device configurations, it is common practice to run Android test on typical device configurations.
Having a reasonable test coverage for your Android application helps you to enhance and maintain the Android application.
Read full article from Android application testing with the Android test framework - Tutorial
Adding an Easy Share Action | Android Developers
Implementing an effective and user friendly share action in your ActionBar
is made even easier with the introduction of ActionProvider
in Android 4.0 (API Level 14). An ActionProvider
, once attached to a menu item in the action bar, handles both the appearance and behavior of that item. In the case of ShareActionProvider
, you provide a share intent and it does the rest.
Read full article from Adding an Easy Share Action | Android Developers
Android SDK: Implement a Share Intent - Tuts Code Tutorial
This tutorial runs through the basic process of creating a share button, implementing the share Intent, passing your content, and building the chooser list.
Android Respond To URL in Intent - Stack Overflow
<action android:name="android.intent.action.VIEW"></action>
<category android:name="android.intent.category.DEFAULT"></category>
<category android:name="android.intent.category.BROWSABLE"></category>
<data android:host="www.youtube.com" android:scheme="http"></data>
</intent-filter>
Android Respond To URL in Intent - Stack Overflow
java - Hibernate hbm2ddl.auto possible values and what they do? - Stack Overflow
So the list of possible options are,
- validate: validate the schema, makes no changes to the database.
- update: update the schema.
- create: creates the schema, destroying previous data.
- create-drop: drop the schema at the end of the session.
These options seem intended to be developers tools and not to facilitate any production level databases, you may want to have a look at the following question; Hibernate: hbm2ddl.auto=update in production?
Read full article from java - Hibernate hbm2ddl.auto possible values and what they do? - Stack Overflow
Introduction to Google Guava's Joiner class - David Tulig
Javascript push array values into another array - Stack Overflow
Use the concat function, like so:
var arrayA = [1, 2]; var arrayB = [3, 4]; var newArray = arrayA.concat(arrayB);
The value of newArray
will be [1, 2, 3, 4]
(arrayA
and arrayB
remain unchanged; concat
creates and returns a new array for the result).
Read full article from Javascript push array values into another array - Stack Overflow
Trouble with ssh key | OpenShift by Red Hat
Can you try running this on the git_bash window rather than the cmd prompt?
Read full article from Trouble with ssh key | OpenShift by Red Hat
How can i resolve java.lang.ClassNotFoundException: org.hibernate.util.DTDEntityResolver when using
Per the Hibernate annotations 3.5 documentation:*
Hibernate 3.5 and onward contains Hibernate Annotations.
You should remove the dependency on hibernate-annotations
, and remove the exclude
s from the hibernate-entitymanager
dependency. Generally, you should not mix versions of dependent packages.
Read full article from How can i resolve java.lang.ClassNotFoundException: org.hibernate.util.DTDEntityResolver when using
Missing artifact com.sun.jdmk:jmxtools:jar:1.2.1 - WTF? | j steven perry, The Blog
Do you use Eclipse and get this error? Do you use Maven? Have you recently added log4j 2.1.15 as a
Adding SLF4J to your Maven Project | Javalobby
SLF4j is not a logger in itself, it’s a facade or wrapper that delegates the actual business of logging to one of the more well known logger implementations, which is usually Log4J. The idea behind it is that’s its a replacement for that other well known logging facade: Commons Logging. The reason that it has been written as an alternative to Commons Logging, is that Commons Logging loads your logging library by using some whizzy Java ClassLoader techniques. Unfortunately, this has gained it a reputation for being somewhat buggy (although it has to be said I’ve never come across any problems with Commons Logging).
Read full article from Adding SLF4J to your Maven Project | Javalobby
Get started quickly with Hibernate Annotations and JPA2 - No Fluff Just Stuff
Getting started with Hibernate and JPA (Java Persistence API) can be tricky, but this step-by-step tutorial explains exactly what needs to be done to set up your application to use this technology. This chapter covers very basic mapping and persistence.
Read full article from Get started quickly with Hibernate Annotations and JPA2 - No Fluff Just Stuff
Maven and JPA tutorial - Maven Hibernate-JPA - Page 2 - JBoss application server tutorials
We will now change the default project so that it uses MySQL database (instead of Apache Derby) and Hibernate JPA Provider (instead of EclipseLink). In order to do that, we need to trigger some dependencies into Maven pom.xml file. Here's the list of dependencies we will use:
Read full article from Maven and JPA tutorial - Maven Hibernate-JPA - Page 2 - JBoss application server tutorials
29 Practical Examples of NMAP Commands for Linux System/Network Administrators
Scan a Host to check its protected by Firewall
nmap -PN 192.168.0.101
Find out if a host/network is protected by a firewall
nmap -sA 192.168.1.254
How do I scan specific ports?
map -p [port] hostName
nmap -p 80 192.168.1.1
nmap -p T:80 192.168.1.1
nmap -p 80-200 192.168.1.1
How do I detect remote operating system?
nmap -O 192.168.1.1
Scan a whole Subnet
nmap 192.168.0.*
Scan list of Hosts from a File
nmap -iL nmaptest.txt
nmap 192.168.0.101-110
Scan OS information and Traceroute: -A
nmap -A 192.168.0.101
Read full article from 29 Practical Examples of NMAP Commands for Linux System/Network Administrators
Top 30 Nmap Command Examples For Sys/Network Admins
Git Tip of the Week: Ignoring build output - AlBlue's Blog
Ignoring build output
For compiled applications, it’s quite common for there to be a transient directory which should not be put under version control.
Read full article from Git Tip of the Week: Ignoring build output - AlBlue’s Blog
boilerpipe, or how to extract information from web pages with minimal fuss
final TextDocument doc = new BoilerpipeSAXInput(htmlDoc.toInputSource()).getTextDocument();
System.out.println("Page title: " + doc.getTitle());
obtaining images
URL url = new URL("http://www.spiegel.de/wissenschaft/natur/0,1518,789176,00.html");
// choose from a set of useful BoilerpipeExtractors...
final BoilerpipeExtractor extractor = CommonExtractors.ARTICLE_EXTRACTOR;
final ImageExtractor ie = ImageExtractor.INSTANCE;
List<Image> imgUrls = ie.process(url, extractor);
// automatically sorts them by decreasing area, i.e. most probable true positives come first
Collections.sort(imgUrls);
for(Image img : imgUrls) {
System.out.println("* "+img);
}
Read full article from boilerpipe, or how to extract information from web pages with minimal fuss
References:
https://code.google.com/p/boilerpipe/source/browse/trunk/boilerpipe-core/src/demo/de/l3s/boilerpipe/demo/ImageExtractorDemo.java?r=159
How To Compile Maven Project With Different JDK Version?
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
Read full article from How To Compile Maven Project With Different JDK Version?
Day 28: OpenShift Eclipse Integration for Java Developers
Read full article from Day 28: OpenShift Eclipse Integration for Java Developers
Day 29: Yeoman Chrome Generator--Write Your First Google Chrome Extension | Openshift Blog
Today for my 30 day challenge, I decided to learn how to write a Chrome extension. After some research, I found out that there is a Yeoman generator for writing Chrome extensions. The extension that we will write in this blog post blocks us from accessing Facebook, Twitter, LinkedIn, and other social web sites during the office time. This blog post will not cover Yeoman basics so please refer to my day 24 blog for a getting started with Yeoman post.
Read full article from Day 29: Yeoman Chrome Generator--Write Your First Google Chrome Extension | Openshift Blog
Learning 30 Technologies in 30 Days: A Developer Challenge | Openshift Blog
I have taken a challenge wherein I will learn a new technology every day for a month. The challenge started on October 29, 2013. Below is the list of technologies I've started learning and blogging about. After my usual work day, I will spend a couple of hours learning a new technology and one hour writing about it. The goal of this activity is to get familiar with many of the new technologies being used in the developer community. My main focus is on JavaScript and related technologies. I'll also explore other technologies that interest me like Java, for example. I may spend multiple days on the same technology, but I will pick a new topic each time within that technology. Wherever it makes sense, I will try to show how it can work with OpenShift. I am expecting it to be fun and a great learning experience. You can follow me on twitter at https://twitter.com/shekhargulati
Read full article from Learning 30 Technologies in 30 Days: A Developer Challenge | Openshift Blog
Day 18: BoilerPipe--Article Extraction for Java Developers | Openshift Blog
Today for my 30 day challenge, I decided to learn how to do text and image extraction from web links using the Java programming language. This is a very common requirement in most of the content discovery websites like Prismatic. In this blog, we will learn how we can use a Java library called boilerpipe to accomplish this task.
Read full article from Day 18: BoilerPipe--Article Extraction for Java Developers | Openshift Blog
Labels
Popular Posts
-
【新提醒】我与Google的虐恋timeline //这是一篇流水账【一亩三分地论坛找工求职版】 - Powered by Discuz! 楼主15年12月毕业,抱着不知道从哪里来的谜一般的自信,对 找工 作毫不着急。结果大家也知道的,去年年底到现在的找工形势都不太好。 毕业后...
-
Amazon OA2 Work Simulation | Keep Walking 目前两大原则: requirement排在第一, deadline第二 有manager出现的选项无脑选manager,manager就是一个组的代言人+保护伞,大哥自己人。 注意事项:...
-
【新提醒】对candidate的code interview的一点建议|一亩三分地求职版 - 1. 拒绝沉默,积极沟通 面试的老中烙印一半一半吧,必须承认烙印真的非常能说,不管他们思路是否受阻,都可以滔滔不绝的继续说下去,而且也会在必要的时候积极寻求hint,确认directi...
-
Padcom's blog: Code coverage and Enum types I admit that the actual value of this test is minimum but the real reason to do that is to a...
-
Multipart emails can be used to send html content with JavaMail. If you want to use images in the html content you can either specify the ur...
-
Google announces text translation, content discovery, and barcode scanning in Google Now on Tap Google Now on Tap sounded really cool when i...
-
JacksonFeatureBiDirReferences - FasterXML Wiki Annotations are: @JsonManagedReference is the "forward" part of reference: one tha...
-
Print list items containing all characters of a given word There is a list of items. Given a specific word, e.g., “sun”, print out all the ...
-
【新提醒】Data scientist @ Google,Apple【一亩三分地论坛面经版】 - Powered by Discuz! Apple则是同学内推。面了两轮电话面试,发现工作内容实在跟预想差太多(貌似就是query, generate summary statisti...
-
用Java 8 Lambda表达式实现设计模式:命令模式 - ImportNew 在这篇博客里,我将说明如何在使用 Java 8 Lambda表达式 的函数式编程方式 时 实现 命令 设计模式 。命令模式的目标是将请求封装成一个对象,从对客户端的不同类型请求,例如队列或日志请求参...