See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
1. Create Procfile at the root of each frontend and backend folder (with command to start the server) | |
2. Create Heroku dynos for each (frontend and backend) | |
``` | |
heroku create -a my-awesome-frontend | |
heroku create -a my-awesome-backend | |
``` | |
3. Get the auth token from Heroku by running: `heroku auth:token` #=> HEROKU_API_TOKEN | |
4. Add remote origin for frontend and backend | |
``` |
({ | |
// debounce function to stagger the callback function. | |
debounce: function (func, wait, immediate) { | |
var timeout; | |
return function() { | |
var context = this, args = arguments; | |
var later = $A.getCallback(function() { | |
timeout = null; | |
if (!immediate) { | |
func.apply(context, args); |
docker search continuumio | |
docker pull continuumio/miniconda | |
docker run -t -i continuumio/miniconda /bin/bash | |
conda info | |
docker run -i -t -p 8888:8888 continuumio/miniconda /bin/bash | |
-c "/opt/conda/bin/conda install jupyter -y --quiet && mkdir |
Date.prototype.addHours = function(h) { | |
this.setTime(this.getTime() + (h*60*60*1000)); | |
return this; | |
} | |
var d = new Date(); | |
d.addHours(48); |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<Package xmlns="http://soap.sforce.com/2006/04/metadata"> | |
<types> | |
<members>*</members> | |
<name>ActionLinkGroupTemplate</name> | |
</types> | |
<types> | |
<members>*</members> | |
<name>ApexClass</name> | |
</types> |
<html> | |
<script src="https://greasemonkey-developer-edition.na34.force.com/lightning/lightning.out.js"></script> | |
<div id="container"> | |
</div> | |
<script type="text/javascript"> | |
window.onload = function(){ | |
$Lightning.use("gizmo:ltngOutAppGuestDemo", function() { | |
$Lightning.createComponent("gizmo:richText", |