Skip to content

Instantly share code, notes, and snippets.

View dhavalsavalia's full-sized avatar
🦥
Procrastinating

Dhaval Savalia dhavalsavalia

🦥
Procrastinating
View GitHub Profile
@480
480 / gist:3b41f449686a089f34edb45d00672f28
Last active June 3, 2025 23:25
MacOS X + oh my zsh + powerline fonts + visual studio code terminal settings

MacOS X + oh my zsh + powerline fonts + visual studio code (vscode) terminal settings

Thank you everybody, Your comments makes it better

Install oh my zsh

http://ohmyz.sh/

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
@ibraheem4
ibraheem4 / postgres-brew.md
Last active July 11, 2025 10:31 — forked from sgnl/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
@biggers
biggers / py_rotate_log_dict_config.py
Created December 19, 2017 19:23
Python3 rotating log-file configuration via "config.dictConfig"
import sys
import logging
import logging.config
import random
import string
# "thank you" to folks on StackOverflow.com for various ideas,
# for this example. Works with Python3.
@tly1980
tly1980 / EVP_BytesToKey.md
Last active September 20, 2022 08:51
EVP_BytesToKey implementation in other languages: Python, Node.js
@zazhang
zazhang / cheatsheet.markdown
Last active January 6, 2021 19:12
My all in one cheatsheet
@federicoiosue
federicoiosue / macOS.md
Last active January 14, 2025 07:06
MacOS customizations & tips

Configuration tweaks

Mouse scroll action

defaults write com.apple.dock scroll-to-open -bool TRUE; killall Dock

Clock shown as analog icon into menu bar

defaults write com.apple.menuextra.clock IsAnalog -bool true
@sts10
sts10 / alacritty.yml
Last active December 20, 2023 13:54
My Alacritty config yml for MacOS (compliant with v 0.4.1-dev)
# Configuration for Alacritty, the GPU enhanced terminal emulator
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty it self.
env:
# TERM env customization.
#
# If this property is not set, alacritty will set it to xterm-256color.
#
@nair-ayush
nair-ayush / macSetup.md
Last active January 6, 2021 19:56
Mac Setup with Development Environment

This is a guide for setting up an Apple Mac for software development. Current versions of macOS have a fairly good default configuration for general-purpose use, but you do need to to adjust some of the security settings. In addition, you need to install several pieces of software in order to make the system useful for development.

DO This First!

Log in once, run Software Update, and ensure that the operating system is at the latest point release. After all of the updates have been applied, restart the computer.

Log in again and create an Admin user account for your use. If other people will be using the machine, create Standard accounts for them. Log out of the initial account, and log in to the Admin account that you have just created.

You should also find an external hard drive. Begin using Time Machine as soon as possible, as it provides the most easy method for backing up your system.

@yuhui
yuhui / Setup macOS development environment.md
Last active December 17, 2022 21:18
Setup macOS for programming development