Skip to content

Instantly share code, notes, and snippets.

View bronze's full-sized avatar
😎

Carlos Bronze bronze

😎
View GitHub Profile
@bronze
bronze / terminal-setup.md
Created February 19, 2024 18:01 — forked from onlurking/terminal-setup.md
Configs for zsh, oh-my-zsh, zsh-autosuggestions, zsh-syntax-highlighting and FZF

Setup

Terminal

Instal oh-my-zsh with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
@bronze
bronze / conditions.lua
Last active May 2, 2022 17:12
OPie Travel Form Macros
/cancelform [noflyable,noform:moonkin]
// If Indoors, cant fly: cat
// Can fly, swimming, outdoors: travel (do not dismount)
// combat: Moonkin
/cast [indoors, nostance:cat, nostance:travel][noflyable, nostance:cat, nostance:travel] {{spell:768}}; [flyable,outdoors,nocombat,noswimming,nomod, nostance:travel] {{spell:783}}; [swimming,nomod, nostance:travel] {{spell:783}}; [outdoors, nostance:cat, nostance:travel] {{spell:783}}; [combat, spec:balance, nostance:moonkin] {{spell:24858}}
@bronze
bronze / dual boot grub.txt
Last active December 30, 2021 20:35
linux stuff
# https://www.youtube.com/watch?v=wLOZfT0732Y&t=51s
sudo apt install grub-efi grub2-common grub-customizer
sudo grub-install
sudo cp /boot/grub/x86_64-efi/grub.efi /boot/efi/EFI/pop/grubx64.efi
grub-customizer
# https://github.com/vinceliuice/grub2-themes
sudo ./install.sh -t vimix -s ultrawide -i white -b
@bronze
bronze / .zshrc
Last active November 3, 2021 03:53
Zsh
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/bronze/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
@bronze
bronze / warframeAutohotkey.ahk
Last active June 5, 2021 01:14
Warframe Autohotkey
; Modifiers: [+ = Shift] [^ = Ctrl] [# = Win] [! = Alt] [* = Ignores modifiers] [~ = Also uses original function] [$ = Forces hook, preventing hotkey from triggering itself] More info here: https://www.autohotkey.com/docs/KeyList.htm
; All time values listed are in ms(MilliSeconds), which are 1/1000 of a second. 1000/delay = activationsPerSecond. I.e: 50ms delay -> 1000/50 = 20 per sec
; Time values are typically rounded up to a multiple of 10ms by the Windows time-keeping system. So there's no point to Timer/Sleep values that aren't multiples of 10. Higher precision may be achieved via Loop+DllCall, but is rarely relevant and certainly doesn't matter for this script
#NoEnv
; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input
;Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%
UUID=554d70bb-d070-49ea-975c-50e57ea897b6 /coding ext4 defaults,noatime 0 2
UUID=0d060313-aa09-4cd9-9baa-0627cf36b6ea /files ext4 defaults,noatime 0 2
https://github.com/coldfix/udiskie
https://unix.stackexchange.com/questions/170549/how-to-disable-automount-for-external-devices-in-opensuse-13-2
https://archived.forum.manjaro.org/t/wiki-howto-permanent-mount-for-partition/26187
systemctl stop udisks2.service
systemctl mask udisks2
@bronze
bronze / terminal_updates.zsh
Created December 21, 2019 17:06
terminal_updates.zsh
#!/bin/zsh
autoload -U colors
colors
echo $fg_bold[green] "1/7 brew update"$fg_no_bold[default]
brew update
echo $fg_bold[green] "2/7 brew upgrade"$fg_no_bold[default]
brew upgrade
echo $fg_bold[green] "3/7 brew cleanup"$fg_no_bold[default]
brew cleanup
#brew prune
@bronze
bronze / aliases.zsh
Created December 21, 2019 17:05
aliases.zsh
# -------------------------------------------------------------------
# edit zsh configs
# -------------------------------------------------------------------
alias aliases="code ~/.zsh/aliases.zsh"
alias config="code ~/.zsh/aliases.zsh"
alias zshconfig="code ~/.zshrc && reload"
alias reload=". ~/.zshrc && echo 'ZSH config reloaded from ~/.zshrc'"
#alias httpd="code /usr/local/etc/httpd/httpd.conf"
#alias vhosts="code /usr/local/etc/httpd/extra/httpd-vhosts.conf"
#alias vhosts="subl /Users/bronze/Sites/httpd-vhosts.conf"