Skip to content

Instantly share code, notes, and snippets.

View DawidvanGraan's full-sized avatar

Dawid van Graan DawidvanGraan

View GitHub Profile
@DawidvanGraan
DawidvanGraan / gitstars.json
Created February 6, 2018 18:31
github stars manager for production
{"tags":[],"lastModified":1517941912368}
@DawidvanGraan
DawidvanGraan / tp-link-archer-d2.py
Last active May 17, 2017 06:18
This scripts scans for devices by logging into the TP-Link Archer D2 admin page and returning all devices connected to WiFi.
@DawidvanGraan
DawidvanGraan / Angular2FirebasePaging.md
Last active April 14, 2017 04:14
Angular 2 with Firebase Paging.

Shows an implementation of simple paging (Next and Previous) with Angulare 2 and Firebase.

Setup

Each entry requires a priority field that will allow for sorting the data descending.

entry.priority = 0 - Date.now();
@DawidvanGraan
DawidvanGraan / BitbucketPipelines2Firebase.md
Last active February 25, 2020 22:50
Deploy your Angular 2 project with Bitbucket Pipelines to Firebase Hosting

Deploy your Angular 2 project with Bitbucket Pipelines to Firebase Hosting

Firebase

Please see the Firebase setup instruction to setup a project on Firebase.

Firebase CI Token

To run the firebase deploy command you need to obtain a login token from Firebase. To do so, run the firebase login:ci on your command line which will generate a token. Copy the generated token.

Environment Variables

Goto your project in Bitbucket, open the Settings and select Environment variables.

Verifying that +dawidvangraan is my blockchain ID. https://onename.com/dawidvangraan