Listing all containers: docker ps -a Removing all containers docker stop $(docker ps -a -q) docker rm $(docker ps -a -q)
TL;DR To get from this: to this: Do this: <code-group> <code-block title=”YARN” active> “`bash cd docs yarn install yarn dev “` </code-block> <code-block title=”NPM”> “`bash cd docs npm install npm run dev “` </code-block> </code-group> The deets Often when explaining a concept in programming, there are many ways to achieve the task. For example, Yarn… Read More »
I made a mistake by downloading PostgresSQL from the official website, something I used to do in my Windows days. It worked fine but I couldn’t figure out how to manually start and stop Postgres or figure out how to run it as a service or make it not run as a service. Using brew… Read More »
TestProject is a really neat app to perform automated testing. It takes a bit of getting use to but is generally really easy to use. I had a situation where I was manually logging in every hour to get solar data in order to plot my cumulative generation. I get instantaneous output overtime from the… Read More »
https://ocw.mit.edu/courses/economics/14-01-principles-of-microeconomics-fall-2018/lecture-videos/index.htm The Cobb-Douglas Production Function Once Again: Its History, Its Testing, and Some New Empirical Values An Alternative Interpretation of the Cobb-Douglas Function Alternative Approaches to the Estimation of Production Functions and of Technical Change A COMPARISON .OF ALTERNATIVE PRODUCTION FUNCTION MODELS USING NON-NESTED HYPOTHESIS TESTS The Cobb–Douglas Production Function
Something I learnt today is that when you are passing flags into a command line application, both these syntaxes are equivalent. subql-node –log-level=debug subql-node –log-level debug What is also interesting is that there are lots of other conventions such as combining all the flags together with no space. program -a -b -c program -abc For… Read More »
On OSX, running the npm global install command installs the packages at /usr/local/lib/node_modules If you leave out the global flag (-g), the packages get installed in the current directory you are in.
In your Git repository, run the command git remote -v to “verify” your remote repository definition. This should show something like ~/Code/subQuery/projects/subql-starter$ git remote -v origin https://github.com/seandotau/subql-starter.git (fetch) origin https://github.com/seandotau/subql-starter.git (push) To add another “origin”, run the command git remote add origin1 firstname.lastname@example.org:<username/repo.git> For example: git remote add origin1 email@example.com:jimbob7/subql-helloworld.git https://github.com/jimbob7/subql-helloworld.git Note that you have… Read More »
The Microsoft AutoUpdate on Mac OSX is so annoying, and there is no quick way to remove it or disable it. The fact that this option is not available in the menu is ridiculous. To actually remove it, you’ll have to navigate to the /Library/Application Support/Microsoft/MAU2.0 folder and delete the app from there.