Skip to content

Instantly share code, notes, and snippets.

View sunnyg1210's full-sized avatar

Sunnyy sunnyg1210

View GitHub Profile
@sunnyg1210
sunnyg1210 / imagenet_label_to_wordnet_synset.txt
Created December 15, 2021 15:11 — forked from fnielsen/imagenet_label_to_wordnet_synset.txt
ImageNet label to wordnet synset identifier
{0: {'id': '01440764-n',
'label': 'tench, Tinca tinca',
'uri': 'http://wordnet-rdf.princeton.edu/wn30/01440764-n'},
1: {'id': '01443537-n',
'label': 'goldfish, Carassius auratus',
'uri': 'http://wordnet-rdf.princeton.edu/wn30/01443537-n'},
2: {'id': '01484850-n',
'label': 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias',
'uri': 'http://wordnet-rdf.princeton.edu/wn30/01484850-n'},
3: {'id': '01491361-n',
@sunnyg1210
sunnyg1210 / App.md
Created June 22, 2021 22:21 — forked from kcak11/App.md
Country Codes

Country Codes

List of all Country Codes (ISO & Dialing) sorted in alphabetical order.

@sunnyg1210
sunnyg1210 / camelcase.pipe.ts
Created February 6, 2020 16:27
Takes Camelcase string and splits it into a separated word string in Angular
import { Pipe, PipeTransform } from '@angular/core';
/*
* Author: SVS IT Solutions LTD (www.svsitsolutions.co.uk)
* Takes Camelcase string and splits it into a separated word string.
* Usage:
* camelCaseString | camelCaseSplit
* Example:
* {{ "thisIsAString" | camelCaseSplit}}
* formats to: "this Is A String"
@sunnyg1210
sunnyg1210 / map_clsloc.txt
Created October 23, 2019 16:15 — forked from aaronpolhamus/map_clsloc.txt
Image net classes + labels
n02119789 1 kit_fox
n02100735 2 English_setter
n02110185 3 Siberian_husky
n02096294 4 Australian_terrier
n02102040 5 English_springer
n02066245 6 grey_whale
n02509815 7 lesser_panda
n02124075 8 Egyptian_cat
n02417914 9 ibex
n02123394 10 Persian_cat
@sunnyg1210
sunnyg1210 / unix-date.pipe.ts
Last active June 26, 2019 14:42
Convert unix date to human readable date in Angular 2+
import { Pipe, PipeTransform } from '@angular/core';
/*
* Author: Sunny Gohil
* Takes a Unix Date and converts it to string format
* Usage:
* unixDate
* Example:
* {{ 1561560050 | unixDate}}
* formats to: 2019-06-26
@sunnyg1210
sunnyg1210 / readme.md
Created February 20, 2019 14:21 — forked from baraldilorenzo/readme.md
VGG-16 pre-trained model for Keras

##VGG16 model for Keras

This is the Keras model of the 16-layer network used by the VGG team in the ILSVRC-2014 competition.

It has been obtained by directly converting the Caffe model provived by the authors.

Details about the network architecture can be found in the following arXiv paper:

Very Deep Convolutional Networks for Large-Scale Image Recognition

K. Simonyan, A. Zisserman

@sunnyg1210
sunnyg1210 / time-ago.pipe.ts
Created October 17, 2018 15:20
Angular 2+ - Date to Time Ago Pipe
import { Pipe, PipeTransform } from '@angular/core';
/*
* Author: Sunny
* Convert Javascript Date into time ago format.
* example output: 20 seconds ago / 2 hours ago / 4 days ago etc
* Usage:
* date | timeAgo
* Example:
* {{ "2018-10-17T15:18:25.653Z" | timeAgo }}
@sunnyg1210
sunnyg1210 / free_email_provider_domains.txt
Created June 21, 2017 10:26 — forked from tbrianjones/free_email_provider_domains.txt
A list of free email provider domains. Some of these are probably not around anymore. I've combined a dozen lists from around the web. Current "major providers" should all be in here as of the date this is created.
1033edge.com
11mail.com
123.com
123box.net
123india.com
123mail.cl
123qwe.co.uk
150ml.com
15meg4free.com
163.com