These are a collection of notes on different concepts covered in AZ-104 to bring them to my understanding as I study for my exam.
This file contains 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
git fetch | |
git log HEAD..origin/main # show the diffs | |
git log -p HEAD..origin/main # show each patch | |
git diff HEAD...origin/main # show a single diff |
Welcome to another episode of Linux notes. Today, I'll briefly talk about adding stuff to Path on POSIX[1] systems.
So the PATH is a very long colon delimited string that gets extended whenever you add a new directory to it. It looks something like this:
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/bin:/usr/local/sbin
This file contains 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
brew update | |
brew install ruby-build | |
brew install rbenv | |
rbenv install 3.2.2 | |
rbenv global 3.2.2 | |
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.zsh_profile | |
source ~/.zsh_profile |
This file contains 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
theme download --password shpat_XXXXXXXXXXXXXXXXXXXXXX --store https://storeurl.myshopify.com --live |
This file contains 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
npx cypress run -s cypress/e2e/testset.cy.ts --headed --no-exit |
This file consists of the best Github Gists I have authored\
- Rust snippets: https://gist.github.com/vicradon/e90195e72c22176b79efb33cf7795d40
- Simple linear regression: https://gist.github.com/vicradon/dee740eabe8c3aada8f826657fe5cf75
- Event listener handling: https://gist.github.com/vicradon/a2acfd48840f59cde8ba13bc090521d0
- Access websites on ssh through localhost: https://gist.github.com/vicradon/5e6ceb22ef3281bdcd09e1dabde37334
- Set up Git aliases: https://gist.github.com/vicradon/e4a3d8f2e782260786c8974ff64ab982
- Disable windows update: https://gist.github.com/vicradon/68fb787e725c80bf96b8294040e650e2
- Deploy Laravel to Shared hosting: https://gist.github.com/vicradon/d7d46a0c54122b7757f5c70bcc13cefd
- Ubuntu docker image with Node.js installed: https://gist.github.com/vicradon/3bcd7cd25c26a4ba27310486d08f2a43
This file contains 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
const handleInputChange = (event: FormEvent) => { | |
const target = event.target as HTMLInputElement | HTMLSelectElement; | |
const { name, value } = target; | |
setFormData({ ...formData, [name]: value }); | |
}; |
This file contains 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 { | |
app, | |
HttpRequest, | |
HttpResponseInit, | |
InvocationContext, | |
output, | |
} from "@azure/functions"; | |
const cosmosDBOutput = output.cosmosDB({ | |
connection: "CosmosDBConnection", |
This file contains 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
source $(rvm 3.1.2 do rvm env --path) |