Skip to content

Instantly share code, notes, and snippets.

View BoscoDomingo's full-sized avatar

Bosco Domingo BoscoDomingo

View GitHub Profile
@BoscoDomingo
BoscoDomingo / .env
Created April 25, 2024 13:44
Set up Node Test Runner with TypeScript and ENV variables
EXAMPLE_SECRET="12345"
@BoscoDomingo
BoscoDomingo / niceDark.omp.json
Last active May 26, 2024 21:10
My personal Oh-my-posh theme
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#252b32",
"foreground": "yellow",
"powerline_symbol": "",
{"name": "Rainbow Brackets", "variables": {}, "author": "https://github.com/absop", "globals": {}, "rules": [{"scope": "0.matched.color.rainbow", "background": "#19191a", "name": "rainbow_color_matched_no_0", "foreground": "#FF0000"}, {"scope": "1.matched.color.rainbow", "background": "#19191a", "name": "rainbow_color_matched_no_1", "foreground": "#FF6A00"}, {"scope": "2.matched.color.rainbow", "background": "#19191a", "name": "rainbow_color_matched_no_2", "foreground": "#FFD800"}, {"scope": "3.matched.color.rainbow", "background": "#19191a", "name": "rainbow_color_matched_no_3", "foreground": "#00FF00"}, {"scope": "4.matched.color.rainbow", "background": "#19191a", "name": "rainbow_color_matched_no_4", "foreground": "#0094FF"}, {"scope": "5.matched.color.rainbow", "background": "#19191a", "name": "rainbow_color_matched_no_5", "foreground": "#0041FF"}, {"scope": "6.matched.color.rainbow", "background": "#19191a", "name": "rainbow_color_matched_no_6", "foreground": "#7D00E5"}, {"scope": "unmatched.color.rainbo
@BoscoDomingo
BoscoDomingo / devious-diamonds.omp.json
Last active July 3, 2022 23:11
Devious Diamonds oh-my-posh Theme
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"newline": true,
"segments": [
{
"type": "iterm",
"style": "plain",
@BoscoDomingo
BoscoDomingo / Mount_exFAT_Linux.txt
Last active November 12, 2020 14:07
Mount exFAT drive in Linux through CLI
sudo apt update
sudo apt install exfat-utils exfat-fuse
# If you have access to the GUI, you can simply go to the File Explorer and work from there. Otherwise:
# Find the name of the partition for your specific drive, you'll need it for the last step
lsblk # cat /proc/partitions works too, but lsblk is more readable
cd /media
sudo mkdir usb #or whatever name you want
sudo mount -t exfat /dev/sdc1 usb
@BoscoDomingo
BoscoDomingo / Office2021-ODT.xml
Last active May 25, 2023 22:45
To use with the C2R Office Deployment Tool (ODT). Make sure to remove the <Remove*> sections if you don't want to deal with that or are doing a clean install (no previous Office installed)
<!--
Download link: https://www.microsoft.com/en-us/download/details.aspx?id=49117
Should this XML fail, use this tool: https://config.office.com/deploymentsettings
and check this link: https://docs.microsoft.com/en-gb/deployoffice/ltsc2021/deploy
For detailed information regarding configuration options visit: http://aka.ms/ODT.
App IDs: https://docs.microsoft.com/en-us/deployoffice/office-deployment-tool-configuration-options#id-attribute-part-of-excludeapp-element
Usage:
Download (optional, doesn't show progress): .\setup.exe /download .\Office2021-ODT.xml
-To see if it is making progress, check the Size vs Size on disk in Properties
@BoscoDomingo
BoscoDomingo / settings.json
Last active May 27, 2023 10:09
Windows Terminal Settings
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions": [
{
"command": {
"action": "copy",
"singleLine": false
},
"keys": "ctrl+c"