Skip to content

Instantly share code, notes, and snippets.

View odedhb's full-sized avatar
🤨

Oded Breiner odedhb

🤨
View GitHub Profile
@odedhb
odedhb / IP_range_maker.ts
Created December 26, 2016 08:38
Calculates all the IPs in the ranges
/**
* Created by oded on 12/25/16.
*/
export class IPCounter {
static count() {
let converted: string = '';
let ranges = IPCounter.source().split('\n');
ranges.forEach((range) => {
@odedhb
odedhb / manifest.json
Created March 25, 2020 09:24
Test PWA manifest icon sizes
{
"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"
},
@odedhb
odedhb / nodeJS-Lightsail.md
Last active December 25, 2022 09:48
nodeJS-Lightsail

Add a Lightsail Instance

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