Skip to content

Instantly share code, notes, and snippets.

[Log] onscript loading complete (user-script:18, line 1456)
[Info] Successfully preconnected to https://fonts.gstatic.com/
[Log] POLIFILL STARTED (scripts.7f3dc46e46722aacbf1b.js, line 1)
[Warning] (vendor-es2015.d3edcb182cd2ba1d2fa5.js, line 1)
It looks like you're using the development build of the Firebase JS SDK.
When deploying Firebase apps to production, it is advisable to only import
the individual SDK components you intend to use.
For the module builds, these are available in the following manner
(replace <PACKAGE> with the name of a component - i.e. auth, database, etc):
@Nikita-schetko
Nikita-schetko / gist:a77723355a94bab27e631ac42f375611
Created June 22, 2020 15:46
give access to folder for all mac/linux permission
sudo chmod -R a+rwx
@Nikita-schetko
Nikita-schetko / gist:e39e75a2859dea0ff759866296b3a301
Created August 12, 2019 08:44
Debug your angular app (ng cli) on a mobile when you are in a same wifi
First verify your machine IP Address.
On Windows, type ipconfig in Prompt (copy IPv4).
On Mac, type ifconfig |grep inet in Terminal (copy inet).
In my case this is 192.168.0.10.
Next, type ng serve --host 192.168.0.10.
Ok, your app on air for all devices on same network.
Now only http://192.168.0.10:4200/ will work, localhost not more.
http://kaffeine.herokuapp.com/#!
heroku domains:add example.com
heroku domains:add www.example.com
CNAME for http://example.com
ALIAS for http://www.example.com (DO NOT FORGET . AT THE END)
@Nikita-schetko
Nikita-schetko / gist:cdfb625132971dce4e311205687f0e52
Last active May 12, 2022 09:12
ng cli generate component custom module
ng g component shared/components/navbar/sidenav-list --module=shared
ng g component pages/models/models-world
ng generate service icons
@Nikita-schetko
Nikita-schetko / gist:3e70984ddf8d7d904804eaf0c70e50d8
Created April 16, 2019 20:20
Vs code show tabs : only one window opened
workbench.editor:Show Tabs
@Nikita-schetko
Nikita-schetko / macOsusefulSoft.txt
Created March 10, 2019 13:12
MacOS useful software;
https://pqrs.org/osx/karabiner/ -- Rebind keys (Eject key use as Del forward)
smcFanControl -- Control temperature with fan speed;
turbo boost switcher -- On/Off turbo boost;
https://stackoverflow.com/questions/1139762/ignore-files-that-have-already-been-committed-to-a-git-repository
First commit any outstanding code changes, and then, run this command:
git rm -r --cached .
This removes any changed files from the index(staging area), then just run:
git add .
Commit it: