Skip to content

Instantly share code, notes, and snippets.


Mindaugas Murauskas minmur

View GitHub Profile
minmur /
Last active Feb 3, 2019
Firebase - seting config

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

minmur /
Last active Jul 15, 2018
Upgrade Ubuntu from command line
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