Skip to content

Instantly share code, notes, and snippets.

View au79's full-sized avatar

Christopher Goldman au79

  • Xolvio LLC
  • SF Bay Area
View GitHub Profile
#!/bin/bash
# Script to safely provide access to tech-support over-the-network.
# Uses 'ssh' for connection
# 'screen' for terminal screen-sharing
# The COMMAND a few lines below limits tech-support's access,
# so they can't have absolute control over your system without supervision
# For developers: change SSH public key and name ('pritam') before sending this out to customers
# Dev. usage: ssh -t user@hostname. -t (force create pty) is compulsory.
@au79
au79 / pr.md
Created January 14, 2014 18:13 — forked from piscisaureus/pr.md

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = git@github.com:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

@au79
au79 / gist:d7ec1b74e9d7df7010b0cda0d6c7561a
Created February 9, 2018 17:30 — forked from mildmojo/gist:2044883
Add Firefox buttons to manipulate about:config settings
/*
I needed a button in the Firefox UI to toggle the default page zoom level
setting offered by the NoSquint extension (shown as "extensions.nosquint.fullZoomLevel"
in about:config). Since this isn't likely to be provided directly and I
wasn't interested in writing my own extension for something so simple, I
looked for an extension that would expose about:config settings to buttons.
Instead, I found the Custom Buttons extension:
@au79
au79 / colima.md
Last active August 23, 2023 18:51 — forked from making/README.md
Use colima instead of Docker Desktop on Mac

Install

brew install colima docker
colima start
colima stop

Start Docker