Go to https://lightsail.aws.amazon.com/ls/webapp/home/instances
Click “Create instance” button on top right corner
Create Instance:
Instance Location: us-east-1a
Platform: Linux/Unix
Blueprint: Apps + OS –> Node.js
Instance Plan: select least expensive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"short_name": "PWA", | |
"name": "PWA tester", | |
"description": "Test PWA manifest", | |
"icons": [ | |
{ | |
"src": "https://dummyimage.com/72x72/000/fff&text=72", | |
"type": "image/png", | |
"sizes": "72x72" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by oded on 12/25/16. | |
*/ | |
export class IPCounter { | |
static count() { | |
let converted: string = ''; | |
let ranges = IPCounter.source().split('\n'); | |
ranges.forEach((range) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var requireFromUrl = require('require-from-url'); | |
requireFromUrl("https://rawgit.com/wanasit/chrono/master/chrono.min.js") | |
.on('Resolved', function (next, chrono) { | |
let query = '{QUERY}'; | |
if (!query) return; | |
let dateResults = chrono.parse(query); | |
let results = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.nextstagesearch; | |
import android.Manifest; | |
import android.app.Activity; | |
import android.app.AlertDialog; | |
import android.content.Context; | |
import android.content.ContextWrapper; | |
import android.content.DialogInterface; | |
import android.content.pm.PackageManager; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"apps": [ | |
{ | |
"category": "Productivity", | |
"rating": 4.5, | |
"updated": 1436741473, | |
"created": 1431028391, | |
"icon_url": "https://lh3.googleusercontent.com/q5pFGfXKZejowwcmlJl7M1IXGHVM4Zq_IjPpYb7zgkUFXO3QnZ2LyeOUUhMPaKPkJ3gR=w300", | |
"title": "WhereDat Beta", | |
"package": "com.nextstagesearch", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"packages": [ | |
"com.pixmix.mobileapp", | |
"com.nextstagesearch" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"apps": [ | |
{ | |
"category": "Social", | |
"rating": 3.9948248863220215, | |
"updated": 1435805622, | |
"created": 1427510074, | |
"icon_url": "https://lh3.googleusercontent.com/ZZPdzvlpK9r_Df9C3M7j1rNRi7hhHRvPhlklJ3lfi5jk86Jd1s0Y5wcQ1QgbVaAP5Q=w300", | |
"title": "Facebook", | |
"download_url": "https://play.google.com/store/apps/details?id=com.facebook.katana", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.nextstagesearch.design; | |
import android.graphics.Bitmap; | |
import android.graphics.Canvas; | |
import android.graphics.Paint; | |
import android.graphics.Rect; | |
import android.support.v7.graphics.Palette; | |
import com.squareup.picasso.Transformation; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.nextstagesearch.sources; | |
import android.content.Context; | |
import org.json.JSONArray; | |
import org.json.JSONException; | |
import org.json.JSONObject; | |
import java.io.IOException; | |
import java.io.InputStream; |
NewerOlder