npm install package-json-validator -g
// apps: config/environment.js
// addons: tests/dummy/config/environment.js
if (environment === 'production') {
ENV.baseURL = '/projectname';
}
This file contains 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
let randomNumber = Math.random(); | |
let randomInteger = Math.floor(Math.random()); | |
// find random integer between 0-10: | |
// Math.floor(Math.random() * 10) | |
let randomBoolean = Math.random() >= 0.5; |
This is a reply received after emailing to [email protected], which is the official firebase support email after gogle acquired firebase in late 2014.
From: [email protected]
In order to transfer ownership of a Firebase instance, we need you to do two things: add the new owner as a collaborator; then, fill in the form below and email it to us as written verification. This must be sent from the email address which owns the Firebase instance.
-----------------
REQUEST TO TRANSFER OWNERSHIP
I authorize the Firebase team to make **<new owner’s email>** the owner of https://**<firebase instance>**.firebaseio.com effective immediately. I have added **<new owner’s email>** as a collaborator to verify the email address is correct and to certify that I am the current owner. I understand that I am effectively granting **<new owner’s email>** full read and write access to all stored data for this instance.
This file contains 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
#!/usr/bin/env bash | |
git checkout master | |
git pull | |
rm -rf dist | |
ember build --environment production | |
git checkout gh-pages | |
git pull |
This file contains 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
/** | |
* Using Operator Mono in Atom | |
* | |
* 1. Open up Atom Preferences. | |
* 2. Click the “Open Config Folder” button. | |
* 3. In the new window’s tree view on the left you should see a file called “styles.less”. Open that up. | |
* 4. Copy and paste the CSS below into that file. As long as you have Operator Mono SSm installed you should be golden! | |
* 5. Tweak away. | |
* | |
* Theme from the screenshot (http://cdn.typography.com/assets/images/blog/operator_ide2.png): |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
- ⌘ : Command key
- ⌃ : Control key
- ⌫ : Delete key
- ← : Left arrow key
- → : Right arrow key
- ↑ : Up arrow key
OlderNewer