Skip to content

Instantly share code, notes, and snippets.

Avatar

Mindaugas Murauskas minmur

View GitHub Profile
@minmur
minmur / ubuntu_upgrade.md
Last active Jul 15, 2018
Upgrade Ubuntu from command line
View ubuntu_upgrade.md
sudo apt-get update         // Fetches the list of available updates
sudo apt-get upgrade        // Strictly upgrades the current packages
sudo apt-get dist-upgrade   // Installs updates (new ones)
sudo apt-get autoremove     // Clear unnecessary dependencies

sudo reboot
@minmur
minmur / firebase-config.md
Last active Feb 3, 2019
Firebase - seting config
View firebase-config.md

To set config from json file:

 firebase functions:config:set service_account="$(< credentials.json)"

To set config localy:

 firebase functions:config:get > .runtimeconfig.json

After that move .runtimeconfig.json to functions directory