Skip to content

Instantly share code, notes, and snippets.

@RushS
RushS / gist:925531a366f608ece323ac7fa8820456
Created January 20, 2022 09:18 — forked from rais38/gist:5766980
Create patch from stash
git stash show -p stash@{0} > Stash0.patch
@RushS
RushS / redshift.conf
Created August 24, 2020 11:11 — forked from bcomnes/redshift.conf
My configuration file for Redshift. Place it in ~/.config/ Drag redshift onto the Startup Applications menu to have it boot on start
; Global settings
[redshift]
temp-day=6500K
temp-night=5000
transition=1
;gamma=0.8:0.7:0.8
gamma=1.000:1.000:1.000
location-provider=geoclue
;location-provider=manual
adjustment-method=vidmode
@RushS
RushS / git_aliases.txt
Last active April 17, 2020 07:57 — forked from gastonprieto/git_aliases.txt
Git Aliases
# common aliases
git config --global alias.st "status -sb"
git config --global alias.br "branch"
git config --global alias.ci "commit"
git config --global alias.co "checkout"
git config --global alias.di "diff"
git config --global alias.uncommit "reset HEAD~1"
git config --global alias.last-change "diff HEAD^"
# not so common aliases
@RushS
RushS / homebrew-permissions-issue.md
Created November 5, 2019 14:24 — forked from irazasyed/homebrew-permissions-issue.md
Homebrew: Permissions Denied Issue Fix (OS X / macOS)

Homebrew Permissions Denied Issues Solution

sudo chown -R $(whoami) $(brew --prefix)/*

@RushS
RushS / Synology-Diskstation-Git.md
Created March 13, 2018 07:05 — forked from walkerjeffd/Synology-Diskstation-Git.md
Instructions for setting up git server on Synology Diskstation

Configure Synology NAS as Git Server

Instructions for setting up a git server on a Synology NAS with Diskstation. Specifically, I am using a DS414 with DSM 5.0.

Set Up User and Folder

  • Create user gituser via Diskstation interface (with File Station and WebDAV privilages)
  • Add new shared folder called git (located at /volume1/git) with read/write access for gituser and admin. This folder will hold all the repos.
  • Install Git Server package via Diskstation