Make a Rust project: cargo init foo
Install PM2:
npm init
npm install pm2
Create a script entry in your package.json to launch pm2:
Make a Rust project: cargo init foo
Install PM2:
npm init
npm install pm2
Create a script entry in your package.json to launch pm2:
package demo; | |
import java.io.Serializable; | |
import java.security.Principal; | |
import java.util.Collection; | |
import java.util.Collections; | |
import java.util.HashMap; | |
import java.util.Map; | |
import java.util.UUID; |
import Foundation | |
/// Protocol for NSLocking objects that also provide tryLock() | |
public protocol TryLockable: NSLocking { | |
func tryLock() -> Bool | |
} | |
// These Cocoa classes have tryLock() | |
extension NSLock: TryLockable {} | |
extension NSRecursiveLock: TryLockable {} |
import Foundation | |
extension String | |
{ | |
var length: Int { | |
get { | |
return countElements(self) | |
} | |
} | |
<?php | |
// API access key from Google API's Console | |
define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
$registrationIds = array( $_GET['id'] ); | |
// prep the bundle | |
$msg = array |
package it.gmariotti.android.examples.preference; | |
import android.os.Bundle; | |
import android.preference.PreferenceFragment; | |
public class GenericPreferenceFragment extends PreferenceFragment { | |
@Override | |
public void onCreate(Bundle savedInstanceState) { |