Sharing some random tidbits I learned throughout the week.
- CORS stands for Cross Origin Resource Sharing and it is a mechanism that allows restricted resources to be requested from another domain outside of the domain which the resource originated from.
- Opal is a Ruby to Javascript Compiler.
- Trades might not even make it to stock market.
- If you are selling a stock via a broker and someone else if buying the same stock from the broker, the broker may just exchange them there, avoiding transaction fees.
- Another way they could make money is if the other person’s bid price is lower than your ask price.
- In Cuba, there are 2 types of currencies.
- The Cuban Peso (CUP)
- Cuban Convertible Pesos (CUC) given to tourists. 1 CUC == 24 CUP
- Memoization is an optimization technique used to speed up programs by caching expensive function calls and returning the cached results when called with the same inputs.
- Letter Opener is a neat gem that lets you preview your mail in the browser instead of actually sending them.
- tmuxinator lets you configure a yaml file for your project to automate start up your development environment.
- When running the command
mux [project name], I get my servers, workers and services up and running all at once.
- When running the command
- Weekly vim
- Can copy selected text to system clipboard within vim using
"*y.
- Can copy selected text to system clipboard within vim using