Skip to content

Instantly share code, notes, and snippets.

View brra's full-sized avatar

brra brra

  • Sweden
View GitHub Profile
@brra
brra / sysctl-proxmox-tune.conf
Created May 10, 2024 15:00 — forked from sergey-dryabzhinsky/sysctl-proxmox-tune.conf
Most popular speedup sysctl options for Proxmox. Put in /etc/sysctl.d/
###
# Proxmox or other server kernel params cheap tune and secure.
# Try it if you have heavy load on server - network or memory / disk.
# No harm assumed but keep your eyes open.
#
# @updated: 2020-02-06 - more params used, adjust some params values, more comments on params
#
### NETWORK ###
@brra
brra / History|-62ce73a1|entries.json
Created September 6, 2023 19:01 — forked from sinyya/History|-550633b8|entries.json
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///Users/chaeww/viko/application/controllers/other/Deposit.php","entries":[{"id":"0tUf.php","timestamp":1688341611883},{"id":"q6G7.php","timestamp":1688341899681},{"id":"HlG2.php","timestamp":1688342389565},{"id":"XKyl.php","timestamp":1688342467911},{"id":"TU3t.php","timestamp":1688342483211},{"id":"mVEM.php","timestamp":1688342518776},{"id":"BB82.php","source":"undoRedo.source","timestamp":1688342522829},{"id":"AmwP.php","timestamp":1688342562433},{"id":"pIrP.php","timestamp":1688400526265},{"id":"T9sq.php","timestamp":1688400935920},{"id":"CuHy.php","timestamp":1688401077102},{"id":"Nwb6.php","timestamp":1688404005360},{"id":"ZFa6.php","timestamp":1688404025270}]}

Keybase proof

I hereby claim:

  • I am brra on github.
  • I am brra123 (https://keybase.io/brra123) on keybase.
  • I have a public key ASCQ1aAe2WXVv0tejZClkzkh8VpK-tfRJ8R7A-Jt6k2xcwo

To claim this, I am signing this object:

@brra
brra / .bash_profile
Last active May 27, 2021 15:43 — forked from ryanpcmcquen/.bash_profile
Funky configs
# So I know where I am in repos:
#parse_git_branch() {
# git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
#}
# Colorize `ls` by default:
alias ls='ls -G'
[ -e ~/.bash_SECRETS ] && . ~/.bash_SECRETS
@brra
brra / .osx
Last active May 26, 2021 06:09 — forked from ryanpcmcquen/.osx
.osx
#!/usr/bin/env bash
# curl -o ~/.osx https://gist.githubusercontent.com/brra/22c8e9cd822b0dacd5d301f8489e0979/raw/7eed8901dc8c537ecd8a5cce3918df14a3ca9022/.osx && bash ~/.osx
###############################################################################
# General UI/UX #
###############################################################################
# Disable smart dashes as they’re annoying when typing code.
defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false
"use strict"
Beautifier = require('./beautifier')
module.exports = class BashBeautify extends Beautifier
name: "beautysh"
link: "https://github.com/bemeurer/beautysh"
executables: [
{
name: "beautysh"
cmd: "beautysh"