Skip to content

Instantly share code, notes, and snippets.

View araa47's full-sized avatar
🛠️
Building 24*7

Akshay araa47

🛠️
Building 24*7
  • Hong Kong
View GitHub Profile
@araa47
araa47 / PrecisionVolumeControl.json
Last active August 7, 2019 07:51
Karabiner-Elements Complex Modification to Increment/Decrement Volume with higher precision on mac. You may need to change f11 to your volume up key and f12 to volume down key. You may also need to change the modifers to "left_shift" and "left_option". The reason for the weird mapping is because of my mechanical keyboard
{
"title": "Volume Precision Control",
"rules": [
{
"description": "Precise Volume Increment",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "f11",
@araa47
araa47 / PyNixDirEnvReadme.md
Last active February 8, 2024 10:51
Python3 Dev Environment with Pipenv using Nix and direnv for Linux and macOS

System Set-Up

  1. Install nix on your system curl https://nixos.org/nix/install | sh
  2. . ~/.nix-profile/etc/profile.d/nix.sh
  3. Install direnv nix-env -i direnv
  4. Add hook into shell by running eval "$(direnv hook bash)" , you will need to add this to .bash_profile to make it presistant

Project Set-Up

Create a shell.nix file in your project with the following content. This has python 3.7 and pipenv as buildInputs