philanderson888 / course-notes

A repository for holding teaching notes
MIT License
4 stars 3 forks source link

Random Thoughts #1

Closed philanderson888 closed 1 year ago

philanderson888 commented 4 years ago

Random Tech Thoughts

philanderson888 commented 4 years ago

Bash Scripting To Open Google Chrome

open -a "Google Chrome" index.html

I found this way more beautiful:

Edit ~/.bash_profile file and add the following line alias chrome="open -a 'Google Chrome'" Save and close the file. Either run source ~/.bash_profile or open a new window in Terminal. You can now open the file, file.html, by running: chrome file.html on the command line.

philanderson888 commented 4 years ago

Email Management Tool Eg allow someone to respond on your behalf

https://missiveapp.com/pricing

philanderson888 commented 4 years ago

CSharp Random Thoughts

GRPC is new way to send dataGDI Animations Resource Dictionary INotify Property Changed MVVM x:Class XMLNS is the same as a using; statement <x:myelement> Canvas : absolute position, no resizing, zindex="1", rectangle, ellipse, path

philanderson888 commented 4 years ago

General Programming Thoughts

Functional programming uses pure functions and immutability Pure function always returns the same result given a fixed input. It has no side effects. Function side effect modifies the environment outside of itself Rust is an amazing new programming language with blazing fast speed. Download book at https://doc.rust-lang.org/book/print.html Go is a new programming language

philanderson888 commented 4 years ago

Random Tech Thoughts

Serveless Function - run on AWS, Netlify ServerlessJS provides serverless functions NextJS9 provides serverless functions AWS Lambda Functions enables you to create a mini server and just put the code in the cloud Azure - Managed Service Identities can remove credentials from code Business - Unicorn is private company worth more than $1Bn Graphics - Balsamic tool to create designs Graphics - PixlrExpress is a web-based image editor Markdown - FrontMatter is metadata about the Markdown file eg Name, link to MP3, timestamp

philanderson888 commented 4 years ago

Cloud Random Thoughts

AWS has MOST web-facing servers in world Digital Ocean has about HALF the number of Amazon, and is the second biggest hosting site of web-facing servers in the world Mesosphere uses DigitalOcean to create a self-healing environment with fault tolerance and scalability. Use API to manage thousands of 'droplets' SmartOS - hypervisor - virtual OS in a container - runs in RAM only NetBSD - open source UNIX-like

philanderson888 commented 4 years ago

Random Tech (mostly web related)

Meteorjs Use nginx to have multiple domains mapping to different ports so I can host multiple websites from one server Papertrail is logs as a service .env is used in node to contain all your secrets Use ci to avoid giving unwanted people access to your secret credentials Now.sh. Used for deployment And cheap Look into wise plugs plugs for home automation Get a a blog with gatsby or gridsome Mdx what is that Ngnx can proxy ports Use digital ocean to host your web server and set permissions first Look at meteor js and graph Run pm2 and forever Paper trail provides logs as a service Sentry . Io does logs and error checking