Skip to content

Instantly share code, notes, and snippets.

View brntbeer's full-sized avatar
:shipit:

Brent Beer brntbeer

:shipit:
View GitHub Profile
@brntbeer
brntbeer / org-audit-log-100-events
Created September 11, 2019 14:54
Query the first 100 audit log events under the Organization in GraphQL
query {
organization(login:"ORGANIZATION") {
auditLog(first: 100, query: "created:>=2019-09-10T21:51:46"){
edges{
node{
... on AuditEntry {
action
actorLogin
createdAt
operationType
@brntbeer
brntbeer / phabricator-mercurial-github-comparison.md
Created June 18, 2019 13:59
github vs phabricator and mercurial

Feature Matrix

UI for adding/removing files
Feature GitHub Phabricator Notes
## Code
@brntbeer
brntbeer / scp-github-packages.md
Last active November 24, 2016 19:05
Instruction on SCP'ing your GitHub Enterprise packages to your server. This describes the path from 2.4.x to 2.6.12 to 2.8.2

Introduction

Sometimes GitHub Enterprise instances don't have access to the outside internet, so following instructions on how to upgrade from the help docs may not be possible. But, anyone who's upgrading will have ssh access to their instance, so using scp to get it up there should be valid.

Downloading the packages

Coming from 2.4.x we need to download two separate packages and upload them and upgrade one at a time. I'll download them to just our local user directory on OS X

curl -L -o ~/github-enterprise-esx-2.6.12.pkg https://github-enterprise.s3.amazonaws.com/ova/updates/github-enterprise-esx-2.6.12.pkg
curl -L -o ~/github-enterprise-esx-2.8.2.pkg https://github-enterprise.s3.amazonaws.com/ova/updates/github-enterprise-esx-2.8.2.pkg
@brntbeer
brntbeer / amsterdam-recs.md
Last active May 22, 2019 08:43
Amsterdam Recommendations. Pulled from a personal internal repo

Amsterdam Recos

If you are looking to get high, download the app "Greenmile" to find coffeeshops and smartshops near you! (only available on Android) Also, Boerejongens Coffeeshop is legit.

Jordaan

To Do:

  • Anne Frank Museum: tour of her house, always a huge line so book in advance and go on a weekday if you can.
@brntbeer
brntbeer / resources.md
Last active August 15, 2016 11:19
Resources for my Git LFS talk at GDC EU in Cologne in 2016: https://github.com/brntbeer/talks/tree/master/managing-large-files-with-lfs
@brntbeer
brntbeer / git-resources.md
Last active November 23, 2015 13:49
Set of resources for learning Git and GitHub

Installation

  • The Git-SCM Web Site (All Platforms)
  • If you're on a Mac, you can install Git automatically. To do this, open the Terminal application from spotlight and type git. This will prompt Git to install the rest of the command line tools for Git. This should only take a few minutes. It will ask if you would like to download Xcode, which you can ignore.
  • GitHub Desktop will install for Windows

Git Resources

@brntbeer
brntbeer / Gemfile
Last active September 24, 2015 16:37
Some instructions on running the team_audit.rb script from https://github.com/github/platform-samples
source 'https://rubygems.org'
gem 'octokit'
@brntbeer
brntbeer / README.md
Last active August 29, 2015 14:24
generate random files. 1 commit per file. Place this in /usr/local/bin or somewhere so it can be executed

Hello OSCON

Keybase proof

I hereby claim:

  • I am brntbeer on github.
  • I am brntbeer (https://keybase.io/brntbeer) on keybase.
  • I have a public key whose fingerprint is DBDC CF42 9F04 CF6F 1079 36F6 1979 B007 A3C4 FE43

To claim this, I am signing this object: