Skip to content

Instantly share code, notes, and snippets.

View evanpurkhiser's full-sized avatar

Evan Purkhiser evanpurkhiser

View GitHub Profile
import { readFileSync } from "node:fs";
import type { API, FileInfo } from "jscodeshift";
const typeFiles = [
"alerts",
"auth",
"breadcrumbs",
"controlSiloOrganization",
"core",
"debugFiles",
import type { API, FileInfo, JSXElement } from "jscodeshift";
export default function transformer(file: FileInfo, api: API) {
const j = api.jscodeshift;
function locateButtonToTransform(identifier: JSXElement) {
return !!(
identifier.openingElement.name?.type === "JSXIdentifier" &&
identifier.openingElement.name.name === "Button" &&
identifier.openingElement.attributes?.some(
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 @@
{
# 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
console.log("testing");

logo

Build Status

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