lein repl
: To start(pst)
: Print stack trace(load-file "myfile.clj")
: Run a CLJ file- Results of 3 most recent expressions:
*1, *2, *3
(require '[clojure.by.example :as cbe])
: Require namespace(use 'clojure.lib)
: Use library at the REPL(lein test :only clj-testing.namespace.my-test)
: Run a specific namespace tests- use lein-try to test out clojars in repl
// Util function : /utils/connectDb.js | |
// Use in routes handler like: | |
// import connectDb from '../../utils/connectDb' | |
// connectDb() | |
// ...stuff | |
import mongoose from 'mongoose' | |
const connection = {} | |
async function connectDb() { |
- Fork/Clone https://github.com/Vagr9K/gatsby-material-starter
- https://www.netlifycms.org/docs/authentication-backends/
- https://www.netlify.com/docs/authentication-providers/#using-an-authentication-provider
- Push to github,
- Gatsby to Netlify: https://www.netlify.com/blog/2016/02/24/a-step-by-step-guide-gatsby-on-netlify/#prepping-for-build4
https://dev.to/agusnavce/amazon-athena-vs-aws-lambda-comparing-two-solutions-for-big-data-analysis-dli https://azure.microsoft.com/en-us/blog/process-more-files-than-ever-and-use-parquet-with-azure-data-lake-analytics/ https://aws.amazon.com/architecture/well-architected/?fbclid=IwAR1CsnF0261lw9245lLExyqbpJoUQPrp-yQ5XNN2GvWnOz_miibe2wmHUwc https://docs.aws.amazon.com/athena/latest/ug/glue-best-practices.html
In this tutorial we will Dockerize a Node + MongoDB app: with a Docker Compose so that each of our containers are separated and can talk with one another. Then we will deploy to a DigitalOcean droplet.
Let's get started.
The app is simple. A user can create an Item and post it. The Item model has the attributes of a name and date.
So you probably heard of Docker. Before delving into containers and images and Dockerfiles think of Docker as this: Your operating system is a kitchen, with all the ingredients and appliances you need to make delicious meals. Containers are the foods you will be making. If operating systems are like kitchens then using virutal machines before was like having separate kitchens to make different foods -pretty complicated and more importantly very heavyweight. Now the modular approach with Docker. Think of Dockerfiles as recipes. Portable sandboxes
- Ability to run software in containers separate from operating system
- Lightweight, less overhead, easy to port and deploy for machines
-
[https://www.deviantdev.com/journal/intellij-git-bash-shell-as-terminal-windows] (IntelliJ Git Bash)
-
[https://medium.com/@TebbaVonMathenstien/are-programmers-headed-toward-another-bursting-bubble-528e30c59a0e] (Scary article)
-
[https://reactjs.org/community/examples.html] (React Examples)