Skip to content

Instantly share code, notes, and snippets.

View evanpurkhiser's full-sized avatar

Evan Purkhiser evanpurkhiser

View GitHub Profile
sentry on evanp-work 🐍 › git shortlog -sne
11221 David Cramer <dcramer@gmail.com>
1803 Matt Robenolt <matt@ydekproductions.com>
1716 ckj <chriskjennings@gmail.com>
1458 Armin Ronacher <armin.ronacher@active-4.com>
777 Billy Vong <billyvg@users.noreply.github.com>
740 Lyn Nagara <lyn.nagara@gmail.com>
652 Ben Vinegar <ben@benv.ca>
493 Evan Purkhiser <evanpurkhiser@gmail.com>
412 Jess MacQueen <jessmacqueen@gmail.com>
/*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

To the 2604:5500:f:1d::1 gateway:

                                                        My traceroute  [v0.85]
hyperion.evanpurkhiser.com (::)                                                                               Wed Sep 20 06:38:02 2017
Keys:  Help   Display mode   Restart statistics   Order of fields   quit
                                                                                              Packets               Pings
 Host                                                                                       Loss%   Snt   Last   Avg  Best  Wrst StDev
 1. ???
 2. xe-0-0-17-2.a00.lsanca20.us.bb.gin.ntt.net                                               0.0% 84372    1.3   0.3   0.2 108.9   6.9
const {app, BrowserWindow} = require('electron')
const path = require('path')
const url = require('url')
// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the JavaScript object is garbage collected.
let win
function createWindow () {
// Create the browser window.