Skip to content

Instantly share code, notes, and snippets.

View henrysipp's full-sized avatar

Henry Sipp henrysipp

View GitHub Profile
server {
server_name foundry.henrysipp.dev;
location / {
proxy_pass http://FOUNDRY_HOST_COMPUTER_IP_ADDRESS;
# include proxy_params;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
import { Prisma, PrismaClient } from '@prisma/client'
import { Project, ScriptTarget, StructureKind } from 'ts-morph'
import { camelize } from './camelize'
import { getDMMF } from '@prisma/internals'
import path from 'path'
const project = new Project({
compilerOptions: {
outDir: path.join(__dirname, '../dist'),
target: ScriptTarget.Latest,
import { useNavigation } from '@react-navigation/native'
import { TEXT_VARIANTS } from 'design-system/elements'
import { Color, color as themeColor, useTheme } from 'design-system/theme'
import { useScreenDimensions } from 'lib/utils/useScreenDimensions'
import { useLayoutEffect } from 'react'
type Options = {
title?: string
headerLeft?: any
headerRight?: any
export function getAxiosInstance(token: string) {
const api = axios.create({
baseURL,
})
api.interceptors.request.use(
(request) => {
fragment Messages_query on Query
@refetchable(queryName: "MessagesListRefetchQuery")
@argumentDefinitions(count: { type: "Int", defaultValue: 30 }, cursor: { type: "String" }) {
messages(first: $count, after: $cursor) @connection(key: "Messages_messages") {
edges {
cursor
node {
id
user {
id
@henrysipp
henrysipp / jlcpcv_arisu_v1.1_BOM.csv
Created May 18, 2020 16:30 — forked from overset/jlcpcv_arisu_v1.1_BOM.csv
Arisu Keyboard v1.1 JLCPCB BOM and CPL files
Comment Designator Footprint LCSC Part #
22pF C1,C2 C_0805_HandSoldering C1804
10uF C3 C_0805_HandSoldering C15850
1uF (±10%) C4 C_0805_HandSoldering C28323
1uF C5 C_0805_HandSoldering C28323
0.1uF C6,C8,C7,C9 C_0805_HandSoldering C49678
D D2,D6,D1,D7,D3,D4,D5,D8,D9,D10,D11,D12,D13,D14,D15,D16,D17,D18,D19,D20,D21,D22,D23,D24,D25,D26,D27,D28,D29,D30,D31,D32,D33,D34,D35,D36,D37,D38,D39,D40,D41,D42,D43,D44,D45,D46,D47,D48,D49,D50,D51,D52,D53,D54,D55,D56,D57,D58,D59,D60,D61,D62,D63,D64,D65,D66,D67 D_SOD-123 C81598
22 R1,R2 R_0805_HandSoldering C17561
10K R3,R4 R_0805_HandSoldering C17414
USBLC6-2SC6 U1 SOT-23-6_Handsoldering C7519
let permute = function(nums) {
let perms = {}
p(nums, 0, nums.length - 1, perms)
return Object.values(perms)
};
let p = function(nums, start, end, perms) {
perms[JSON.stringify(nums)] = nums
This file has been truncated, but you can view the full file.
[{"details":[{"key":"City","value":"Memphis, Tennessee"},{"key":"Slogan","value":"New Voice of Memphis"},{"key":"Frequency","value":"990"},{"key":"Format","value":", Talk"},{"key":"Class","value":"B"},