Skip to content

Instantly share code, notes, and snippets.

View evanpurkhiser's full-sized avatar

Evan Purkhiser evanpurkhiser

View GitHub Profile
evan on server ☳ › /usr/bin/find /mnt/documents/ -type f -name '._*' -or -name .DS_Store
/mnt/documents/multimedia/videos/series/Game of Thrones/._S2_E09.mkv
/mnt/documents/multimedia/videos/series/Game of Thrones/._S3_E10.mkv
/mnt/documents/multimedia/videos/series/Game of Thrones/._S2_E07.mkv
/mnt/documents/multimedia/videos/series/Game of Thrones/._S1_E02.mkv
/mnt/documents/multimedia/videos/series/Game of Thrones/._S3_E01.mkv
/mnt/documents/multimedia/videos/series/Game of Thrones/._S2_E08.mkv
/mnt/documents/multimedia/videos/series/Game of Thrones/._S3_E09.mkv
/mnt/documents/multimedia/videos/series/Game of Thrones/._S3_E03.mkv
/mnt/documents/multimedia/videos/series/Game of Thrones/._S3_E04.mkv

Sentry

Users and logs provide clues. Sentry provides answers.

sentry on evanp-work 🐍 › git shortlog -sne
11221 David Cramer <[email protected]>
1803 Matt Robenolt <[email protected]>
1716 ckj <[email protected]>
1458 Armin Ronacher <[email protected]>
777 Billy Vong <[email protected]>
740 Lyn Nagara <[email protected]>
652 Ben Vinegar <[email protected]>
493 Evan Purkhiser <[email protected]>
412 Jess MacQueen <[email protected]>
/*eslint-env node*/
/*eslint import/no-nodejs-modules:0 */
const path = require('path');
const config = {
extends: ['sentry-app'],
globals: {
GSTestStubs: true,
MockApiClient: true,
require: false,
const localeCatalog = JSON.parse(fs.readFileSync(localeCatalogPath, 'utf8'));
// moment uses a lowercase IETF language tag, while django uses the underscore
// with uppercase syntax
const normalizeLocale = locale => locale.toLowerCase().replace('_', '-');
const supportedLocales = localeCatalog.supported_locales;
const normalizedSuppotedLocales = supportedLocales.map(normalizeLocale);
// A mapping of chunk groups used for locale code splitting
const translateX = x => `translateX(${x === 'middle' ? '-50%' : 0})`;
const slideTranslateY = y => `translateY(${{top: -1, bottom: 1}[y] * 14}px)`;
const slideIn = p => keyframes`
from {
transform: ${translateX(p.position.x)} ${slideTranslateY(p.position.y)};
}
to {
transform: ${translateX(p.position.x)} translateY(0;
}
class ClientTokenRefresh(object):
"""
ClientTokenRefresh provides functionality to refresh Identity and
Integration access tokens for integration API clients.
Not all integrations will need this as some use non-expiring tokens.
"""
@classmethod
def check_auth(cls, model, force_refresh=False, refresh_strategy=None, **kwargs):
"""

Pioneer prolink-tools

Build Status

Prolink Tools is a collection of software that can be used to interact with the Pioner Pro DJ Link functionality that many of Pioneer's DJ equipment is compatable with.

  • prolink-server
struct CircutBreakerDB {
db.NormalDbInterface // Whatever this is actually called, the interface
}
func (db *CircutBreakerDB) MethodYourOverriding(whatever args) {
db.NormalDbInterface.MethodYourOverriding(...)
}

Reproduction case for the error:

yarn install --ignore-optional
yarn install v1.2.0
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 📃  Building fresh packages...
[1/1] ⠄ phantomjs-prebuilt