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
version: v1beta4 | |
images: | |
default: | |
image: asipser/guireact | |
deployments: | |
- name: gui-react | |
helm: | |
componentChart: true | |
values: |
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
(setq comint-process-echoes t) | |
(load-theme 'misterioso) | |
(add-hook 'comint-output-filter-functions 'comint-watch-for-password-prompt) | |
(require 'package) | |
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos)) | |
(not (gnutls-available-p)))) | |
(url (concat (if no-ssl "http" "https") "://melpa.org/packages/"))) | |
(add-to-list 'package-archives (cons "melpa" url) t)) | |
(when (< emacs-major-version 24) | |
;; For important compatibility libraries like cl-lib |
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
// database setup | |
mongoose.connect(process.env.MONGOLAB_URI || 'MongoDB URI Goes here!'); | |
/* | |
Example localhost: 'mongodb://localhost:27017/test'; | |
Example Azure URI: mongodb://aaronsmongodbrw:xSJEozk4Tmg74Q1iyXMN0sEgr0PfegnIrDz5xq8N5UvmwlsFSSqGR0QMAx1nw5hdiENdcSQbHHK7t4ZQY0wf6g==@aaronsmongodbrw.documents.azure.com:10250/<db_name>?ssl=true | |
Example Heroku (MongoLab) URI: 'mongodb://<db_user>:<db_pass>@ds117919.mlab.com:17919/heroku_n54n38l8'; | |
*/ | |
var connection = mongoose.connection; | |
connection.on('error', console.error.bind(console, 'connection error:')); | |
connection.on('connected', function() { |