Skip to content

Instantly share code, notes, and snippets.

View aareet's full-sized avatar
🍰

Aareet Mahadevan aareet

🍰
View GitHub Profile
@prologic
prologic / LearnGoIn5mins.md
Last active May 5, 2024 17:05
Learn Go in ~5mins
@rogerhub
rogerhub / gist:7855c727d5ce284eedf2
Created January 17, 2016 06:07
Duplicity 0.7.06 segmentation fault with librsync 2.0.0 on OS X

(January 16, 2016) I encounted a segmentation fault in the function rs_search_for_block of librsync while running the Duplicity backup tool. This crash appears to be related to this bug.

In the meantime, I used the following commands to switch back to old versions of librsync and duplicity:

brew switch librsync 0.9.7
brew switch duplicity 0.6.26_1
@jaibeee
jaibeee / brew-perms.sh
Last active February 15, 2024 22:49
Configure homebrew permissions to allow multiple users on MAC OSX. Any user from the admin group will be able to manage the homebrew and cask installation on the machine.
#!/bin/sh
# Configure homebrew permissions to allow multiple users on MAC OSX.
# Any user from the admin group will be able to manage the homebrew and cask installation on the machine.
# allow admins to manage homebrew's local install directory
chgrp -R admin /usr/local
chmod -R g+w /usr/local
# allow admins to homebrew's local cache of formulae and source files
chgrp -R admin /Library/Caches/Homebrew
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active May 5, 2024 18:31
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k