Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View evanpurkhiser's full-sized avatar

Evan Purkhiser evanpurkhiser

View GitHub Profile

Music Naming Conventions

This document specifies the naming conventions for my DJ music collection. This includes formatting for ID3 tags as well as directory structure and file naming conventions.

Track file types

All music must be either a 320kbs MP3 or a 16bit or 24bit unsigned PCM stream stored in a AIFF file. Both of these files are commonly readable by

#include <pthread.h>
#include <semaphore.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
sem_t smoker_waits[3];
sem_t agent;
1 static/app/actionCreators/organization.spec.tsx
1 static/app/components/charts/intervalSelector.spec.tsx
1 static/app/components/collapsible.spec.tsx
1 static/app/components/events/interfaces/utils.spec.tsx
1 static/app/components/globalModal/index.spec.tsx
1 static/app/components/group/releaseStats.spec.tsx
1 static/app/components/modals/diffModal.spec.tsx
1 static/app/components/modals/teamAccessRequestModal.spec.tsx
1 static/app/components/teamSelector.spec.tsx
1 static/app/utils/discover/arrayValue.spec.tsx
commit 66a8ed628e9bb6958b5a5aa2d362c380964caa03
Author: Evan Purkhiser <evanpurkhiser@gmail.com>
Date: Wed Mar 8 17:05:15 2023 -0800
ref(py): Group URLs into blocks for easier readability
diff --git a/src/sentry/api/urls.py b/src/sentry/api/urls.py
index 70b0edbaa3..89a17dd8aa 100644
--- a/src/sentry/api/urls.py
+++ b/src/sentry/api/urls.py
Only in ua-parser-0.7: .github
Only in ua-parser-0.7: .travis.yml
Only in ua-parser-0.7: bower.json
Common subdirectories: ua-parser-0.7/dist and ua-parser-1.0.33/dist
Only in ua-parser-0.7: package.js
diff --unified ua-parser-0.7/package.json ua-parser-1.0.33/package.json
--- ua-parser-0.7/package.json 2023-02-24 13:58:01
+++ ua-parser-1.0.33/package.json 2023-02-24 13:58:22
@@ -1,9 +1,9 @@
{
@evanpurkhiser
evanpurkhiser / sudoku.js
Created April 11, 2012 02:36
Almost complete sudoku solver using recursion
/**
* Sudoku solver. Solves sudoku puzzles
* recursively using brute-force backtracking.
*
* The given puzzle should be an array of integer values
* where the '0' value represents an unsolved cell in the
* puzzel. The returned puzzel will be in the same format
*
* @param {Array} puzzle The partially solved puzzel
* @param {Integer} index The current cell to solve
@evanpurkhiser
evanpurkhiser / createICOs.sh
Created December 1, 2012 11:47
Creates ICOs from the Faenza icon package
#!/bin/bash
# [!! WARNING]
# This script will remove some icons from the original set.
# It's probably best if you make a copy of the original
# USAGE:
# Run this script from the within the Faenza icon directory that contains
# each different category of icon (apps, categories, places, etc...)
en:
account:
login_failed: "Authentication failed! Unable to log you in!"
register_failed: "Oops! There was a problem when creating your account, please fix the highlighted errors and try again."
register_success: "Awesome! Your new account is ready to go!"
activerecord:
errors:
models:
# 2m should mean 2 minutes for duration filters (as opposed to 2 million)
- query: transaction.duration:>2m
result:
- type: filter
filter: duration
negated: false
operator: '>'
key: { type: keySimple, value: transaction.duration, quoted: false }
value: { type: valueDuration, value: 2, unit: m }
- { type: spaces, value: "" }
- name: simple
cases:
- desc: test with raw search query at the end
query: user.email:foo@example.com release:1.2.1 hello
result:
- type: filter
filter: text
negated: false
key:
type: keySimple