One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| user web; | |
| # One worker process per CPU core. | |
| worker_processes 8; | |
| # Also set | |
| # /etc/security/limits.conf | |
| # web soft nofile 65535 | |
| # web hard nofile 65535 | |
| # /etc/default/nginx |
| public class MarketVersionChecker { | |
| public static String getMarketVersion(String packageName) { | |
| try { | |
| Document doc = Jsoup.connect( | |
| "https://play.google.com/store/apps/details?id=" | |
| + packageName).get(); | |
| Elements Version = doc.select(".content"); | |
| for (Element mElement : Version) { |
| import java.awt.*; | |
| import java.awt.event.ComponentAdapter; | |
| import java.awt.event.ComponentEvent; | |
| import java.awt.image.BufferedImage; | |
| import java.io.File; | |
| import java.io.IOException; | |
| import java.util.concurrent.*; | |
| import javax.imageio.ImageIO; | |
| import javax.swing.JComponent; |
| #!/bin/bash | |
| # Example for the Docker Hub V2 API | |
| # Returns all imagas and tags associated with a Docker Hub user account. | |
| # Requires 'jq': https://stedolan.github.io/jq/ | |
| # set username and password | |
| UNAME="" | |
| UPASS="" |
Incorporates changes by 0mnius.
The intent is to define terse, standards-supported names for AWS regions.
distinct column -> For each row returned, return only the unique members of a set.
Think of it as for each row in a projection, concatenate all the column values and return only the strings that are unique.
test_db=# SELECT DISTINCT parent_id, child_id, id FROM test.foo_table ORDER BY parent_id, child_id, id LIMIT 10;
parent_id | child_id | id
-----------+------------+-----------------------------
1000040 | 103 | 1000040|2645405726|0001|103
| @Override | |
| public boolean dispatchTouchEvent(MotionEvent ev) { | |
| final Fragment fragment = getSupportFragmentManager().findFragmentById(R.id.fragment_container); | |
| if (fragment instanceof IDispatchTouchEvent) | |
| return ((IDispatchTouchEvent) fragment).dispatchTouchEvent(ev) || super.dispatchTouchEvent(ev); | |
| return super.dispatchTouchEvent(ev); | |
| } |
| public static class ExceptionParser { | |
| private final ResponseBody body; | |
| private final String bodyString; | |
| private final Converter.Factory converterFactory; | |
| public ExceptionParser(Response response, Converter.Factory converterFactory) { | |
| this.converterFactory = converterFactory; | |
| this.body = cloneResponseBody(response.errorBody()); | |
| this.bodyString = getBodyAsString(body); | |
| } |