Building real-time chat app using WebSockets with AWS API Gateway and Lambda

|
| By Navneet Kashyap

We can build many real-time applications such as chat applications, multiplayer games, financial trading platforms, and collaboration platforms using WebSockets with AWS API Gateway, Lambda, and dynamoDB. In this blog we will learn how to build real-time applications using WebSockets

PHP | Sorting Complex Multidimensional Array

| By Webner

Suppose we have a complex array like below: $products = array( array( ‘product’ => array(‘id’ => 1, ‘name’ => ‘Jquery tutorial book’), ‘product_details’ => array(‘cost’ => 10, ‘edition’ => ‘first’) ), array( ‘product’ => array(‘id’ => 2, ‘name’ => ‘javascript

iOS | How to get installed app package names

| By Webner

Here is the code to get names of app package installed on iOS devices: include objc/ runtime.h in your viewController.m include <objc/runtime.h> – (void)GetInstalledApps { Class LSApplicationWorkspace_class = objc_getClass(“LSApplicationWorkspace”); NSObject* workspace = [LSApplicationWorkspace_class performSelector:@selector(defaultWorkspace)]; NSArray *array = [workspace performSelector:@selector(allApplications)]; NSMutableString

Toggling a checkbox on/off through Selenium webdriver

| By Webner

Below is the script for on/off the checkbox using webdriver: package mypackage; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; public class myclass { public static void main(String[] args) { WebDriver driver = new FirefoxDriver(); String baseUrl = “http://www.facebook.com”; driver.get(baseUrl);