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
zsh-autosuggestions | |
zsh-syntax-highlighting |
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
var totalOrders = 0; | |
var totalSpent = 0; | |
var pulling = true; | |
var offset = 0; | |
function getStatistics() { | |
var orders = []; | |
var xhttp = new XMLHttpRequest(); | |
xhttp.onreadystatechange = function() { | |
if (this.readyState == 4 && this.status == 200) { |
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
// @flow | |
import React, { Component } from 'react' | |
import { findDOMNode } from 'react-dom' | |
class PayjpCheckout extends Component { | |
constructor(props: Object) { | |
super(props); | |
this.windowAlertBackUp = window.alert; | |
this.script = document.createElement('script'); |
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
server { | |
listen 443 ssl http2 default_server; | |
listen [::]:443 ssl http2 default_server; | |
server_name _; | |
root /usr/share/nginx/html; | |
ssl_certificate "/etc/letsencrypt/live/camelot.ai/fullchain.pem"; //REPLACE THE DOMAIN NAME WITH YOURS | |
ssl_certificate_key "/etc/letsencrypt/live/camelot.ai/privkey.pem"; //REPLACE THE DOMAIN NAME WITH YOURS | |
# It is *strongly* recommended to generate unique DH parameters | |
# Generate them with: openssl dhparam -out /etc/pki/nginx/dhparams.pem 2048 |
Dev | Test | Production | |
---|---|---|---|
Cloud | self install | Heroku | AWS EC2 |
Mongodb | self install | https://mlab.com/ or https://www.mongoclusters.com or https://www.mongodb.com/cloud/atlas | https://mlab.com/ or https://www.mongodb.com/cloud/atlas |
- https://medium.com/@sunilmore/complete-setup-for-deploying-nodejs-app-with-mongodb-database-on-amazon-ec2-e6eeb3b47bc0
- https://blog.karlsolgard.net/how-i-set-up-this-subdomain-in-nginx-on-digital-ocean/
- https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04
chatbase | dashbot | botanalytics | |
---|---|---|---|
Pricing | Free or contact for Enterprise | Free or contact for Enterprise | Free or contact for Enterprise |
Demo | Demo | Demo | Demo |
Usage | Easy | Fairly easy | Hard |
Active users (monthly, weekly, daily) | ✔ | ✔ | ✔ |
sessions (Daily sessions, Daily sessions per user, Session time per user, User msgs per session) | ✔ | ✔ | ✔ |
Retention Cohorts | ✔ | ✔ | ✔ |
Rich Filtering | ✔ | ✔ | ✔ |
Transcripts (messages) | ✔ | ✔ | ✔ |
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
//script check scroll to block then load mkt form | |
var contactUsFormBlock = document.getElementsByClassName('section-contact-us-form')[0]; | |
var Mkt1092LoadCount = 0; | |
window.addEventListener('scroll', function () { | |
if (Mkt1092LoadCount === 0) { | |
var hT = contactUsFormBlock.offsetTop, | |
hH = contactUsFormBlock.offsetHeight, | |
wH = window.innerHeight, | |
wS = this.pageYOffset; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<style> | |
.bd-loading { | |
display: none; | |
} | |
<style> | |
<link rel="preload" href="style.css"> |
Sublime Text includes a command line tool, subl
, to work with files on the command line. This can be used to open files and projects in Sublime Text, as well working as an EDITOR for unix tools, such as git and subversion.
- Sublime text 2 or 3 installed in your system within
Applications
folder
Setup
NewerOlder