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
| #!/usr/bin/env fish | |
| set lang $argv[1] | |
| if test -z "$lang" | |
| echo "Usage: bookify.fish <language>" | |
| exit 1 | |
| end | |
| set title (string upper (string sub -l 1 $lang))(string sub -s 2 $lang) |
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
| #/usr/bin/env bash | |
| # Get homebrew QUICK | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
| brew upgrade | |
| brew install bash # because Bash 3.2 is laughable in 2024 | |
| # The absolute best (but still familiar) shell | |
| # If you feel adventourous, check out nushell which is fucking bonkers |
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 | |
| # This script allows you to chroot ("work on") | |
| # the raspbian sd card as if it's the raspberry pi | |
| # on your Ubuntu desktop/laptop | |
| # just much faster and more convenient | |
| # credits: https://gist.github.com/jkullick/9b02c2061fbdf4a6c4e8a78f1312a689 | |
| # make sure you have issued |
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
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "path/filepath" | |
| "strings" | |
| ) |
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
| # PowerShell Core, stupid simple | |
| Import-Module posh-git | |
| Import-Module oh-my-posh | |
| Set-Theme Paradox |
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
| // To view the default settings, hold "alt" while clicking on the "Settings" button. | |
| // For documentation on these settings, see: https://aka.ms/terminal-documentation | |
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
| "profiles": [ | |
| { |
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
| # i3 config file (v4) | |
| # Please see http://i3wm.org/docs/userguide.html for a complete reference! | |
| # Set mod key (Mod1=<Alt>, Mod4=<Super>) | |
| set $mod Mod4 | |
| # set default desktop layout (default is tiling) | |
| # workspace_layout tabbed <stacking|tabbed> | |
| # Configure border style <normal|1pixel|pixel xx|none|pixel> |
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
| # execute | |
| # Install-Module PowershellGet -Force | |
| # first time install | |
| # PowerShellGet\Install-Module posh-git -Scope CurrentUser -AllowPrerelease -Force | |
| # update with | |
| # PowerShellGet\Update-Module posh-git | |
| Import-Module posh-git |
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
| # pylint: disable=C0111,R0903 | |
| # place in bumblebee-status/bumblebee/modules/ | |
| # https://github.com/tobi-wan-kenobi/bumblebee-status/blob/master/bumblebee/modules/todo.py | |
| """Displays the number of todo items from a text file | |
| Parameters: | |
| * todo.file: File to read TODOs from (defaults to ~/Documents/todo.txt) | |
| """ | |
| import bumblebee.input |
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
| //rates | |
| cl_interpolate "1" | |
| cl_lagcompensation "1" // (activates client-side lag compensation) | |
| cl_predict "1" // (activates client-side prediction, predicts physics, movement, firing etc) | |
| cl_predictweapons "1" // (activates client-side weapon effects prediction) | |
| cl_interp "0.0" // (interpolation, should always be set to "0") | |
| cl_interp_ratio "1" // (interpolation ratio, "1" = low ping, "2" = higher ping) | |
| cl_cmdrate "128" // (for -tickrate 128 launch option) | |
| cl_updaterate "128" // (for -tickrate 128 launch option) |
NewerOlder