Skip to content

Instantly share code, notes, and snippets.

View pwsandoval's full-sized avatar
🏠
Working from home

Peter Wagner Sandoval Moreno pwsandoval

🏠
Working from home
View GitHub Profile
@pwsandoval
pwsandoval / oh-my-posh debug --plain
Created May 10, 2023 04:40
oh-my-posh debug.txt
Version: 15.3.0
Shell: pwsh (7.4.0-preview.3)
Segments:
ConsoleTitle(false) - 0 ms -
text(true) - 1 ms - ➜
path(true) - 1 ms - airflow-the-hands-on-guide
git(true) - 36 ms - git:(main)
@pwsandoval
pwsandoval / bat-wsl.md
Created April 11, 2023 18:45
bat-wsl.md

Software version

bat 0.22.1 (e5d9579)

Operating system

Linux 5.10.102.1-microsoft-standard-WSL2

Command-line

@pwsandoval
pwsandoval / bat-win.md
Created April 11, 2023 18:44
bat-win.md

Software version

bat 0.22.1 (e5d9579)

Operating system

Windows 6.2.9200

Command-line

__vte_urlencode() (
# This is important to make sure string manipulation is handled
# byte-by-byte.
LC_ALL=C
str="$1"
while [ -n "$str" ]; do
safe="${str%%[!a-zA-Z0-9/:_\.\-\!\'\(\)~]*}"
printf "%s" "$safe"
str="${str#"$safe"}"
if [ -n "$str" ]; then
@pwsandoval
pwsandoval / cloudSettings
Last active June 1, 2021 17:33
My vscode workspace
{"lastUpload":"2021-06-01T17:33:48.384Z","extensionVersion":"v3.4.3"}
@pwsandoval
pwsandoval / hyper.js
Last active April 22, 2018 06:23
Hyper
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',