-
Convert old Gatsby PS to updated version
-
Change netlify deploy to new, updated repo
-
Confirm deploy
-
Build minimalist site template for PS
-
Evaluate TS code for stock checker / alert
- Modify for single site
- Manage proxies
-
Pre-check proxies for active response
-
Description: Hardware monitoring with web interface and customizable GUI templates.
-
- start:
sudo systemctl start netdata - stop:
sudo systemctl stop netdata - status:
sudo systemctl status netdata
- start:
This file contains hidden or 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
| #!/bin/bash | |
| PACKAGES=$(cat "${1:-/dev/stdin}" | \ | |
| grep "require([\"'][^'\"]*.)" | \ | |
| sed 's/^[^(]*(.//g' | \ | |
| sed 's/.[\)]*[a-zA-Z;]*$//' | \ | |
| sed "s/.[)].*$//" | \ | |
| sort | uniq) | |
| # Remove NodeJS built-ins |
Sorting algorithms are hard to memorize.
So here's a template for tracking the important differences.
| Algo. Name | Big-O (worst case) | Suitable for large sets? | Good for partially/mostly sorted data? | Totally random data? | Notes |
|---|---|---|---|---|---|
| Bubble | O(n^2) | ๐ | ๐ | ๐ | Simple/not-ideal for large data sets |
Individual branches:
-
git checkout -b MM-my-branch
-
git push and commit to this branch
-
make a pull request, slack a team member to merge
-
slack team after merge, update master
This file contains hidden or 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
| Individual branches: | |
| - git checkout -b MM-my-branch | |
| - git push and commit to this branch | |
| - make a pull request, slack a team member to merge | |
| - slack team after merge, update master |
##Create an alias to MAMP's PHP installation
To do this, we can simply create an alias for our bash profile. We'll be doing this is nano, though you can do it in vim or a number of other editors as well.
Within the terminal, run:
nano ~/.bash_profile
This will open nano with the contents, at the top in a blank line add the following line:
This file contains hidden or 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
| import { expect } from 'chai'; | |
| import quickSort from '../scripts/quickSort.js' | |
| import generateRandomArray from '../scripts/generateRandomArray' | |
| describe('quickSort', () => { | |
| it('Should be a function', () => { | |
| expect(quickSort).to.be.a.function | |
| }) |
This file contains hidden or 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
| import { expect, assert } from 'chai'; | |
| import mergeSort from '../scripts/mergeSort' | |
| import generateRandomArray from '../scripts/generateRandomArray' | |
| describe('mergeSort', () => { | |
| it('Should be a function', () => { | |
| expect(mergeSort).to.be.a.function | |
| }) | |
| it('Should only sort arrays', () => {; |
NewerOlder