Skip to content

Instantly share code, notes, and snippets.

View cesalazar's full-sized avatar
👾
404 - Status not found

Carlos E. Salazar cesalazar

👾
404 - Status not found
View GitHub Profile
@cesalazar
cesalazar / bash_strict_mode.md
Created April 22, 2024 23:58 — forked from mohanpedala/bash_strict_mode.md
set -e, -u, -o, -x pipefail explanation
@cesalazar
cesalazar / config.js
Last active April 23, 2024 07:53
clipbread config
const { getClipboard } = require(`${process.mainModule.path}/utils`)
const { execSync } = require('child_process')
// Modify to your hearth's content!
// Function to run a command and return the output or error
const runCmd = (command) => {
try {
const output = execSync(command, { encoding: 'utf8' })
return output
@cesalazar
cesalazar / config.yaml
Last active April 23, 2024 08:06
My github-cli config with aliases
# The current version of the config schema
version: 1
# What protocol to use when performing git operations.
# Supported values: ssh, https
git_protocol: https
# What editor gh should run when creating issues, pull requests, etc.
# If blank, will refer to environment.
editor:
@cesalazar
cesalazar / bash-colors.md
Created May 3, 2024 11:50 — forked from JBlond/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
@cesalazar
cesalazar / userChrome.css
Created May 10, 2024 23:24
Custom userChrome.css for Firefox
/* Hides tabs toolbar
*
* Source:
* https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/hide_tabs_toolbar.css
*/
:root[tabsintitlebar] {
--uc-toolbar-height: 40px;
}
:root[tabsintitlebar][uidensity="compact"] {