Skip to content

Instantly share code, notes, and snippets.

View fischerscode's full-sized avatar
🏠
Working from home

Maximilian Fischer fischerscode

🏠
Working from home
View GitHub Profile

How can I make the constructor of B use the same default text as the constructor A without specifying it again?

@fischerscode
fischerscode / firebase-cloud-messaging-nodejs.md
Last active October 26, 2020 15:20
A short tutorial about creating a custom service account and role inside of the Goolge Cloud Platform for sending a Firebase Cloud Message (FCM) from a nodejs project.

Sending a firebase cloud message from a nodejs project using a custom service acccount

Creating the Service Account

  1. open the Google Cloud Platform
  2. select your project
  3. go to IAM & Admin
  4. go to Roles
  5. press CREATE ROLE
  6. enter a title, description and ID
  7. edit the Role launche stage as you please
@fischerscode
fischerscode / git.txt
Last active July 3, 2020 14:45
Remove a file from git startingfrom a specified commit
git filter-branch -f --index-filter "git rm -rf --cached FILENAME" --tag-name-filter cat -- ^COMMIT_HASH_SHORT^ --branches