Tutorial by Topics: cat

RMI requires 3 components: client, server and a shared remote interface. The shared remote interface defines the client-server contract by specifying the methods a server must implement. The interface must be visible to the server so that it can implement the methods; the interface must be visible...
navigator.geolocation.getCurrentPosition(successFunc, failureFunc) navigator.geolocation.watchPosition(updateFunc, failureFunc) navigator.geolocation.clearWatch(watchId) The Geolocation API does what you might expect: retrieve information about the client's whereabouts, represented in lat...
cat [OPTIONS]... [FILE]... OptionDetails-nPrint line numbers-vShow non-printing characters using ^ and M- notation except LFD and TAB-TShow TAB characters as ^I-EShow linefeed(LF) characters as $-eSame as -vE-bNumber nonempty output lines, overrides -n-Aequivalent to -vET-ssuppress repeated ...
@interface ClassName (categoryName) // ClassName is the class to be extended // Method and property declarations @end To avoid method name clashes, it is recommended to use prefixes (like xyz_ in the example). If methods with the same name exist, it is undefined which one will...
notification name { email = [email protected], [email protected], ... post = http://example.com get = http://example.com next = another-notification-definition timeout = 30m runOnActions = false body = {"text": {{.|json}}} contentType = application/json print = true...
Local notifications allow your app to notify the user about content which does not require the use of a server. Unlike remote notifications which are triggered from a server, local notifications are scheduled and triggered within an app. Notifications in general are targeted to increase user intera...
Notification.requestPermission(callback) Notification.requestPermission().then(callback, rejectFunc) new Notification(title, options) notification.close() The Notifications API was designed to allow browser access to notifying the client. Support by browsers might be limited. Also suppo...
The TRUNCATE statement deletes all data from a table. This is similar to DELETE with no filter, but, depending on the database software, has certain restrictions and optimizations. TRUNCATE TABLE table_name; TRUNCATE is a DDL (Data Definition Language) command, and as such there are si...
Log.v(String tag, String msg, Throwable tr) Log.v(String tag, String msg) Log.d(String tag, String msg, Throwable tr) Log.d(String tag, String msg) Log.i(String tag, String msg, Throwable tr) Log.i(String tag, String msg) Log.w(String tag, String msg, Throwable tr) Log.w(String tag, String...
To select rows with out duplicates change the WHERE clause to "RowCnt = 1" To select one row from each set use Rank() instead of Sum() and change the outer WHERE clause to select rows with Rank() = 1
iOS notifications are a simple and powerful way to send data in a loosely coupled way. That is, the sender of a notification doesn't have to care about who (if anyone) receives the notification, it just posts it out there to the rest of the app and it could be picked up by lots of things or nothing ...
Serial.begin(speed) // Opens the serial port on the given baud rate Serial.begin(speed, config) Serial[1-3].begin(speed) // Arduino Mega only! When writing 1-3 it means you can choose between the numbers 1 to 3 when choosing the serial port. Serial[1-3].begin(speed, config) // Arduino Mega onl...
Devise is a very powerful gem, it allows you to sign up, sign in and sign out options just after installing. Moreover user can add authentications and restrictions to its applications. Devise also come with its own views, if user wants to use. A user can also customize sign up and sign in forms acco...
Android Location APIs are used in a wide variety of apps for different purposes such as finding user location, notifying when a user has left a general area (Geofencing), and help interpret user activity (walking, running, driving, etc). However, Android Location APIs are not the only means of acqu...

Page 1 of 11