Real unit test (isolation, no children render)
Calls:
- constructor
- render
| #!/usr/bin/env bash | |
| git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done | |
| git fetch --all | |
| git pull --all |
| #!/bin/bash | |
| function get_token() { | |
| echo -n "Easynvest login: " | |
| read login | |
| echo -n "Easynvest password: " | |
| read -s password | |
| echo | |
| local login_response=$(curl -s -w "\n%{http_code}" https://auth.app.easynvest.com.br/v1/users/me/tokens \ |
| ring_groups: | |
| - vip | |
| - cristina3 | |
| - cristina4 | |
| chained_ring_groups: | |
| cristina3_then_cristina4: | |
| - cristina3 | |
| - cristina4 | |
| cristina3_then_cristina5: |
If you have multiple applications on Heroku and would like to use a single Logentries account for all of them, this is how you do it. Basically, do not use add-ons, and send all drains to your account.
Add LogManualaccess.lognew set named myapp-{environment}, for instance myapp-staging (at least, this is how I like to name my entries)Plain TCP, UDP - logs are sent via syslog optionCreate Log TokenThese rules are adopted from the AngularJS commit conventions.
| // Author : Prathap Reddy SV | |
| var LStorage = (function () { | |
| function LStorage() { | |
| this.localStorage = JSON.parse(JSON.stringify(localStorage)); | |
| // or new Function("return JSON.parse('" + JSON.stringify(localStorage) + "')")(); | |
| } | |
| LStorage.prototype.setItem = function (key, val) { | |
| if(this.localStorage[key] == val) return; | |
| this.localStorage[key] = val; |
| # Stop PostgreSQL from auto starting | |
| sudo launchctl unload -w /Library/LaunchDaemons/com.edb.launchd.postgresql-9.3.plist | |
| # Enable PostgreSQL to auto start | |
| sudo launchctl load -w /Library/LaunchDaemons/com.edb.launchd.postgresql-9.3.plist | |
| # Start postgres | |
| $ sudo su postgres | |
| Password: | |
| bash-3.2$ pg_ctl -D /Library/PostgreSQL/9.3/data/ start |