$ kubectl -n <NAMESPACE> get secret <SECRET> -o json | jq -r '.data."prometheus.yaml.gz"' | base64 -d | gunzip
It's important to note that running this reset will drop any existing data you have in the application
- Step 1:
heroku restart - Step 2:
heroku pg:reset DATABASE(no need to change theDATABASE) - Step 3:
heroku run rake db:migrate - Step 4:
heroku run rake db:seed(if you have seed)
One liner
$ git log <source_branch>..<feature_branch> --oneline | tail -1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "prepared_by": "Zulhilmi Zainudin", | |
| "last_update": "21 June 2016", | |
| "data": [ | |
| { | |
| "state": "Selangor", | |
| "codes": [ | |
| "40000", | |
| "40100", |
Use this:
^((?![INSERT YOUR WORD THAT YOU WANT TO EXCLUDE HERE]).)*$
Don't forget to check the Regex checkbox!
Example:
I'm excluding logs that contains Pusher words here. So, this is what I put inside the filter box: ^((?!pusher).)*$
ssh root@IP_ADDRESSnano /etc/nginx/sites-enabled/default- add this at the bottom of the file:
server {
listen 80;
listen [::]:80;
server_name YOUR_DOMAIN_NAME_HERE;
NewerOlder