Skip to content

Instantly share code, notes, and snippets.

View jgensler8's full-sized avatar
🏗️
Loading...

Jeff Gensler jgensler8

🏗️
Loading...
View GitHub Profile
@jgensler8
jgensler8 / itch_tag_page_all.csv
Last active September 6, 2024 22:15
"Work Life" : One week after launch
Unnamed: 0 title_text title total_text total week_text week
0 0 2D 2D 286k projects 286k 2,881 this week 2,881
1 1 Pixel Art Pixel Art 153k projects 153k 1,777 this week 1,777
2 2 Horror Horror 66.9k projects 66.9k 445 this week 445
3 3 Adventure Adventure 148k projects 148k 1,050 this week 1,050
4 4 Singleplayer Singleplayer 221k projects 221k 1,830 this week 1,830
5 5 Short Short 98.8k projects 98.8k 1,129 this week 1,129
6 6 3D 3D 118k projects 118k 1,060 this week 1,060
7 7 Retro Retro 62.1k projects 62.1k 542 this week 542
8 8 Role Playing Role Playing 70.7k projects 70.7k 429 this week 429
@jgensler8
jgensler8 / index.html
Created March 17, 2024 16:04
trading game bitsy
<!DOCTYPE HTML>
<html>
<!-- HEADER -->
<head>
<meta charset="UTF-8">
<title>Trading Game</title>
@jgensler8
jgensler8 / 1-submit-on-block.ts
Created August 23, 2023 21:45
first.lol webhook + submit
#!/usr/bin/env ts-node
// based on https://gist.github.com/tbtstl/4461367d2af6f9281be1d0331a0f01e7
import { createPublicClient, createWalletClient, parseGwei, publicActions, webSocket, Block } from 'viem'
import { zora } from 'viem/chains'
import { privateKeyToAccount } from 'viem/accounts'
import { readFileSync } from 'fs';
const delay = (ms: number) => new Promise(res => setTimeout(res, ms));
@jgensler8
jgensler8 / instructions.md
Last active December 3, 2022 23:30
fortnite scraper
{
"EZE": [
{
"aws_region": "us-east-2",
"distance": 21.705058999999995
},
{
"aws_region": "eu-central-1",
"distance": 81.82499299999999
},
running (10.5s), 00/10 VUs, 90 complete and 0 interrupted iterations
default ✓ [======================================] 10 VUs 10s
data_received..................: 460 kB 44 kB/s
data_sent......................: 17 kB 1.6 kB/s
http_req_blocked...............: avg=17.02ms min=0s med=0s max=153.44ms p(90)=152.42ms p(95)=153.44ms
http_req_connecting............: avg=1.02ms min=0s med=0s max=11.04ms p(90)=8.58ms p(95)=8.86ms
http_req_duration..............: avg=126.94ms min=67.03ms med=74.44ms max=494.14ms p(90)=284.07ms p(95)=428.87ms
{ expected_response:true }...: avg=126.94ms min=67.03ms med=74.44ms max=494.14ms p(90)=284.07ms p(95)=428.87ms
http_req_failed................: 0.00% ✓ 0 ✗ 90
@jgensler8
jgensler8 / after.out
Last active August 28, 2022 00:25
dbt compare: ssh tunnel + postgres --> athena
21:16:08 1 of 25 START table model public.bomb_sites .............. [RUN]
21:16:17 1 of 25 OK created table model public.bomb_sites ......... [OK -1 in 9.23s]
21:16:17 2 of 25 START table model public.characters .............. [RUN]
21:16:24 2 of 25 OK created table model public.characters ......... [OK -1 in 6.87s]
21:16:24 3 of 25 START table model public.leptons ................. [RUN]
21:16:30 3 of 25 OK created table model public.leptons ............ [OK -1 in 5.79s]
21:16:30 4 of 25 START table model public.map_geometries .......... [RUN]
21:16:36 4 of 25 OK created table model public.map_geometries ..... [OK -1 in 5.79s]
21:16:36 5 of 25 START table model public.maps .................... [RUN]
21:16:41 5 of 25 OK created table model public.maps ............... [OK -1 in 5.79s]
@jgensler8
jgensler8 / sol-wallet-adapter.js
Created June 11, 2021 20:49
webpacked sol-wallet-adapter
/*! For license information please see main.js.LICENSE.txt */
(()=>{var t={1506:t=>{t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.default=t.exports,t.exports.__esModule=!0},8926:t=>{function e(t,e,r,n,i,o,s){try{var a=t[o](s),f=a.value}catch(t){return void r(t)}a.done?e(f):Promise.resolve(f).then(n,i)}t.exports=function(t){return function(){var r=this,n=arguments;return new Promise((function(i,o){var s=t.apply(r,n);function a(t){e(s,i,o,a,f,"next",t)}function f(t){e(s,i,o,a,f,"throw",t)}a(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},4575:t=>{t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},3913:t=>{function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,r,n){re
@jgensler8
jgensler8 / README.md
Last active September 24, 2022 22:06
solana compute budget testing
# created by Gábor Bodnár 2020-12-24
# you can download SQLSaturday session files, which does not req authentication
# order from the newest to older files in batch . The latest is: 28874
# https://www.sqlsaturday.com/SessionDownload.aspx?suid=28865
# https://www.sqlsaturday.com/SessionDownload.aspx?suid=16007
# https://www.sqlsaturday.com/SessionDownload.aspx?suid=28134 (you can download from logged in site)
import sys
import os
import ntpath