Skip to content

Instantly share code, notes, and snippets.

View dhavalsavalia's full-sized avatar
🦥
Procrastinating

Dhaval Savalia dhavalsavalia

🦥
Procrastinating
View GitHub Profile
@riceboyler
riceboyler / .zshrc
Created January 5, 2021 19:58
ZSH config with quickstart
# Copyright 2006-2020 Joseph Block <jpb@unixorn.net>
#
# BSD licensed, see LICENSE.txt
#
# Set this to use case-sensitive completion
# CASE_SENSITIVE="true"
#
# Uncomment following line if you want to disable colors in ls
# DISABLE_LS_COLORS="true"
#
@SebastienWae
SebastienWae / alfred-kitty-remote.applescript
Last active December 29, 2023 14:03
Implementation of Kitty remote control for Alfred custom terminal
use framework "Foundation"
use scripting additions
-- https://forum.latenightsw.com/t/reading-json-data-with-nsjsonserialization/958/2
on readJSON(strJSON)
set ca to current application
set {x, e} to ca's NSJSONSerialization's JSONObjectWithData:((ca's NSString's stringWithString:strJSON)'s dataUsingEncoding:(ca's NSUTF8StringEncoding)) options:0 |error|:(reference)
if x is missing value then
error e's localizedDescription() as text
else
id title
tools
The coolest tools

Generic Essentials

  • Git: The version control system we use
    • macOS: brew install git
  • Linux: it's best to install git using your OS package manager
@yuhui
yuhui / Setup macOS development environment.md
Last active December 17, 2022 21:18
Setup macOS for programming development
@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.

@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.
#
@federicoiosue
federicoiosue / macOS.md
Last active July 17, 2024 08:47
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
@zazhang
zazhang / cheatsheet.markdown
Last active January 6, 2021 19:12
My all in one cheatsheet