Skip to content

Instantly share code, notes, and snippets.

View petsto's full-sized avatar

Petar Stoyanov petsto

View GitHub Profile
@petsto
petsto / Homebrew Install Top Google Fonts.md
Last active December 25, 2023 15:59
Quickly install top Google fonts via Homebrew

List of some top fonts for easy terminal install via Homebrew Fonts Cask.

brew install font-open-sans &&
brew install font-noto-sans &&
brew install font-roboto && brew install font-roboto-mono && brew install font-roboto-slab
brew install font-montserrat &&
brew install font-lato &&
brew install font-fira-code &&
brew install font-source-code-pro &&
@petsto
petsto / install.sh
Last active September 25, 2018 17:20
Provisioning macOS - 2018
## Config
masApps="Neptunes Bear"
brewPackages="git node go mas zsh-completions brew-cask-completions httpie ctop"
brewCaskApps="google-chrome visual-studio-code hyper sequel-pro docker vanilla rocket sketch viscosity dashlane alfred expressvpn skyfonts"
brewCaskFonts="font-open-sans"
npmGlobalPackages="browsersync csscomb eslint vtop vue-cli"
echo "Getting OS updates..."
softwareupdate -i
@petsto
petsto / wp-config.php
Created May 13, 2016 10:27
XAMPP - Wordpress Local Permissions Fix
/** Add this to the end of your wp-config.php */
if( is_admin() )
{
add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
define( 'FS_CHMOD_DIR', 0751 );
}