TJ Horner tjhorner @srnd / @AcademusApp Carlsbad, California https://horner.tj I'm 18 and I like making/breaking things. I like making better, though.

push eventAcademusApp/academus.io

TJ Horner

commit sha aa3bfa9f10c0daec63fbae76b780650954f858e6

You can leave if you want

view details

push time in a day

push eventAcademusApp/academus.io

TJ Horner

commit sha 25953b4f898eb52a324785f20677d672e50d2fff

consolidate

view details

push time in a day

push eventAcademusApp/donate

TJ Horner

commit sha 022d8f2ef39cb7ba950aa729196611498390ee48

5 is not 6

view details

push time in a day

push eventtjhorner/academus-donate

TJ Horner

commit sha 19693d6e8f33238eee022f0ae2c03b4b264a5d1c

oof

view details

push time in a day

push eventAcademusApp/academus.io

TJ Horner

commit sha 5f1cc196412568e68103488b2e668768e341af02

yeah

view details

push time in a day

push eventAcademusApp/academus.io

TJ Horner

commit sha 70432bd2f7002aa71d2d4a1270af89b2f4d1cdd8

freaking heck

view details

push time in 5 days

push eventAcademusApp/academus.io

TJ Horner

commit sha 86cf24e0b90f992004db4e464b8fca8323441c42

h

view details

push time in 5 days

starteduber-uchat/mattermost-server

started time in 5 days

starteduber-uchat/mattermost-webapp

started time in 5 days

push eventtjhorner/academus-donate

TJ Horner

commit sha 3b926b7d660c7459f2d79fb689172a66897416b8

git ignore

view details

push time in 6 days

push eventtjhorner/academus-donate

TJ Horner

commit sha 64d40542df204c66db65668cebf8547e6069971d

tfw you leak a test key 😂😂😂😂😂😂😂😂😂😂😂😂 time 2 roll

view details

push time in 6 days

push eventtjhorner/academus-donate

TJ Horner

commit sha 53714e121f161d93e9609c237141ffc60725a0e5

I will destroy you, .DS_Store

view details

push time in 6 days

PublicEvent

push eventtjhorner/e6dl

TJ Horner

commit sha 52fbd5d6bddb25d9ce2119f0d59830240bc6b449

more things

view details

push time in 6 days

push eventtjhorner/e6dl

TJ Horner

commit sha 643e10ad98cf9aaef69fdd2a3a283dc8fcc2f5b3

do not read me

view details

push time in 6 days

created tagtjhorner/e6dl

tagv0.0.5

e6dl but made in Go

created time in 6 days

release tjhorner/e6dl

v0.0.5

released time in 6 days

push eventtjhorner/e6dl

TJ Horner

commit sha d19603176255e02742656ddd4569fc566a2c1c35

colors

view details

push time in 6 days

push eventtjhorner/e6dl

TJ Horner

commit sha 375a5ad681e5566be166794cef2fce67ed56d4bc

did things

view details

push time in 6 days

push eventtjhorner/e6dl

TJ Horner

commit sha 96aee306b5baa2565c38fca79618489d8f5103b0

ok fine

view details

push time in 6 days

push eventtjhorner/e6dl

TJ Horner

commit sha 1c5856a243cbec25bf3ef860dd8fe53253d143de

there we go

view details

push time in 6 days

startedgetfider/fider

started time in 6 days

push eventAcademusApp/academus.io

TJ Horner

commit sha 4dd2b910d819b450af167c287ea4b0ffbe297f3b

h

view details

push time in 7 days

push eventAcademusApp/academus.io

TJ Horner

commit sha 9d957184cac7d6033d4bf0149c18bf420c7084c1

new pics and stuff

view details

push time in 7 days

issue commentsoatok/fursona-sticker-switcher

Switch to async counterparts for filesystem operations

It's a fairly new ECMAScript feature. Here is a very simple example from your Settings using the new fs.promises API:

const fs = require('fs').promises

class Settings {
  // ...

 save(path = "./settings.json") {
    // Returns a promise which can be handled by `await`
    return fs.writeFile(
      path,
      JSON.stringify(this.config)
    )
  }

  // …
}

Then it can be used as such:

await settings.save()

You can also retain the ability to use sane control loops rather than err != null checks:

try {
  await settings.save()
} catch(e) {
  // handle the error somehow
}

However, it's good to note that you can only use await within asynchronous functions. It's not really an issue; you just need to make sure you prefix your function definitions with the async keyword.

I can start work on this later today, if you want!

tjhorner

comment created time in 8 days

issue commentsoatok/fursona-sticker-switcher

Switch to async counterparts for filesystem operations

You can use:

output = await function(input)
tjhorner

comment created time in 8 days

issue openedsoatok/fursona-sticker-switcher

Switch to async counterparts for filesystem operations

I noticed that there are lots of synchronous filesystem operations (see these). While this isn't really an issue since this is just an Electron app running on a computer for a single user; however, it's still best practice to use the async counterparts in the fs module so it doesn't block the main event loop.

I could work on changing the code to use the async/await syntax which still keeps the code readable but frees up the event loop to do other things.

created time in 8 days

delete branch tjhorner/fursona-sticker-switcher

delete branch : eslint

delete time in 9 days

PR opened soatok/fursona-sticker-switcher

Use string templates, add eslint, use `path` and `app.getPath`

This PR does 3 things that make the project more sustainable:

  • It uses string templates where possible (e.g. `${something} hello` instead of something + " hello"). This makes code more readable and utilizes newer ECMAScript features.
  • It adds an ESLint file that throws warning messages if you don't use string templates when linting. You can keep this or change it if you want, but it's good to have it. npm run lint will lint the files and npm run fix will attempt to fix issues ESLint finds.
  • It uses Electron's app.getPath to get the user's home directory (instead of checking if platform is win32) as well as node's native path module to join the paths (so you don't need to worry about backslashes either). Again, this makes it more readable since there are less code paths (and you don't need to change both if you want to change a path). It also futureproofs it, in case some 100 years in the future there is an operating system that separates paths with emojis and there is nobody around to add another else if (God help us).
+705 -40

0 comment

7 changed files

pr created time in 10 days

push eventtjhorner/fursona-sticker-switcher

TJ Horner

commit sha fd3b78acdd1b00d50a7c97d2c92a887150ca1624

Use string templates where reasonable

view details

TJ Horner

commit sha 9bba5678d5d56f3191682ff30f460ede3ba9c9ad

Make it more platform-agnostic

view details

push time in 10 days

create barnchtjhorner/fursona-sticker-switcher

branch : eslint

created branch time in 10 days

fork tjhorner/fursona-sticker-switcher

Dynamic image swapping for furry live-streamers. (Character stills, Telegram stickers, etc.)

fork in 10 days

push eventtjhorner/tstickers-api

TJ Horner

commit sha f8bc12b5a6161eb989c00d4045af7660889c3221

Cat 500

view details

push time in 11 days

push eventtjhorner/tstickers-api

TJ Horner

commit sha 46cf73ebbf2a37a0a559cf1784b450507ef0e7e4

make the cache control work

view details

push time in 11 days

push eventtjhorner/tstickers-api

TJ Horner

commit sha 9a7876f2168a0b054d187827cf20a24414cb69f7

make it actually better respond to errors

view details

push time in 11 days

startedTheEdgyDev/create-map

started time in 12 days

startedMicrosoft/calculator

started time in 13 days

startedNationalSecurityAgency/ghidra

started time in 13 days

create barnchtjhorner/go-workshop-w19

branch : master

created branch time in 17 days

created repositorytjhorner/go-workshop-w19

created time in 17 days

startedvanZeben/BeatSaberOnline

started time in 17 days

create barnchtjhorner/goclear

branch : master

created branch time in 17 days

created repositorytjhorner/goclear

A very minimal Go library written to interact with Clear's API

created time in 17 days

push eventsrnd/Clear

TJ Horner

commit sha ba563c921d35a770b3cc93313982245fa71a387c

Fix pns

view details

push time in 17 days

push eventtjhorner/e6dl

TJ Horner

commit sha faa2a54a343c0235e6f9f5bd7e8873219ec424f2

remove a single period (it was bugging me)

view details

TJ Horner

commit sha 2b8ca2a74d1b83fdd200cae5efd3ad440c7c28f5

add run task to makefile

view details

push time in 19 days

created tagtjhorner/e6dl

tagv0.0.4

e6dl but made in Go

created time in 19 days

release tjhorner/e6dl

v0.0.4

released time in 19 days

push eventtjhorner/e6dl

TJ Horner

commit sha 43c8a67e6fd27882e5a00270a3c24d29e2b7159f

cool bug fixes

view details

push time in 19 days

push eventtjhorner/e6dl

TJ Horner

commit sha 851a20dbfa705b1397828f0aec3efc936573bb05

oldline

view details

push time in 19 days

push eventtjhorner/e6dl

TJ Horner

commit sha d22c1156c4343bb7d0cbd521ae54ae09dae9e9bc

readme

view details

push time in 19 days

push eventtjhorner/e6dl

TJ Horner

commit sha 1c58a1b860f9d56f4da418ba6c8f20519e3b00e8

add apathy to readme

view details

push time in 19 days

release tjhorner/e6dl

v0.0.3

released time in 19 days

created tagtjhorner/e6dl

tagv0.0.3

e6dl but made in Go

created time in 19 days

push eventtjhorner/e6dl

TJ Horner

commit sha 27c089d409f089f78bd4602ca9047f2f501605c8

fix error handling

view details

push time in 19 days

push eventtjhorner/e6dl

TJ Horner

commit sha b784f33765a4d2a672ed47b79f87e4ab59b51058

some cool comments and error handling

view details

push time in 19 days

push eventtjhorner/e6dl

TJ Horner

commit sha c420e1908c15a42b2c3658b3c72b3ae012c55c46

add some useful comments to some variables

view details

push time in 19 days

push eventtjhorner/e6dl

TJ Horner

commit sha bc7c6c99d77a33b027b9cca83c40da3f470c7e8f

move the go source files to src directory

view details

push time in 19 days

push eventtjhorner/e6dl

TJ Horner

commit sha c43596b0128ee8f52f20f0ed5e8d5c23a19d0e54

yep

view details

push time in 19 days

push eventtjhorner/e6dl

TJ Horner

commit sha eb282f514ee61329d2a2675d55b4888d6166c4cd

u better read me

view details

push time in 19 days

created tagtjhorner/e6dl

tagv0.0.2

e6dl but made in Go

created time in 19 days

release tjhorner/e6dl

v0.0.2

released time in 19 days

push eventtjhorner/e6dl

TJ Horner

commit sha 0ccfdd70970daf9c329c512a38ca2a03ac53fa56

better output

view details

push time in 19 days

created tagtjhorner/e6dl

tagv0.0.1

e6dl but made in Go

created time in 19 days

release tjhorner/e6dl

v0.0.1

released time in 19 days

push eventtjhorner/e6dl

TJ Horner

commit sha 280cbaccd81178db868658ccd2ba888da4901f92

I thought I globally ignored you, .DS_Store

view details

push time in 19 days

create barnchtjhorner/e6dl

branch : master

created branch time in 19 days

created repositorytjhorner/e6dl

e6dl but made in Go

created time in 19 days

push eventtjhorner/nplcsv

TJ Horner

commit sha 6e90685315aed4d393f7811420d526171afe9c84

oh no

view details

push time in 20 days

push eventtjhorner/nplcsv

TJ Horner

commit sha 2ecbc21e1d42d1aae7bb8ff374b84e11b59a313c

more makefile stuff

view details

push time in 20 days

push eventtjhorner/nplcsv

TJ Horner

commit sha 8b21513d2505027c619a1ad5b393b5aeae85f6c1

update makefile

view details

push time in 20 days

created tagtjhorner/nplcsv

tagv0.0.3

A small command-line tool for converting Now Playing Log format to CSV

created time in 20 days

push eventtjhorner/nplcsv

TJ Horner

commit sha f88849cbfc40508f9c63ac97b9d989f931c89a98

another one

view details

push time in 20 days

created tagtjhorner/nplcsv

tagv0.0.2

A command-line tool for converting Now Playing Log format to CSV

created time in 20 days

push eventtjhorner/nplcsv

TJ Horner

commit sha f6bc908a26428e3f4570058a842eef839ff00b49

OK

view details

push time in 20 days

push eventtjhorner/nplcsv

TJ Horner

commit sha 333ed4784043fe35997a0137bc93f6876417f0f7

cool

view details

push time in 20 days

created tagtjhorner/nplcsv

tagv0.0.1

A command-line tool for converting Now Playing Log format to CSV

created time in 20 days

create barnchtjhorner/nplcsv

branch : master

created branch time in 20 days

created repositorytjhorner/nplcsv

A command-line tool for converting Now Playing Log format to CSV

created time in 20 days

push eventtjhorner/tjhorner.github.io

TJ Horner

commit sha eeee7ced9d50d602bda64efd9310ed001ff357df

yea

view details

push time in 22 days

push eventtjhorner/personal-site-2015

TJ Horner

commit sha 9bd6ef585e0b1ffe76adc0b2cdab264f7e5c92cd

see name

view details

push time in 22 days

create barnchtjhorner/personal-site-2015

branch : master

created branch time in 22 days

push eventtjhorner/personal-site-2014

TJ Horner

commit sha f7d29498ca0a877c6fd7f71bfb2e65f9a257272a

I guess I should name these based off of the year they were made

view details

push time in 22 days

created repositorytjhorner/personal-site-2016

An archive of my personal site as it was in the Year of Our Lord Twenty Sixteen

created time in 22 days

push eventtjhorner/personal-site-2015

TJ Horner

commit sha 19a24c2fa06c90ca05b3183f4e87e0426d254cae

old

view details

push time in 22 days

push eventtjhorner/personal-site-2015

TJ Horner

commit sha 35b258f082dffb32eb88000624f2eddbe4426780

CNAME

view details

push time in 22 days

create barnchtjhorner/personal-site-2015

branch : master

created branch time in 22 days

created repositorytjhorner/personal-site-2015

An archive of my personal site as it was in the Year of Our Lord Twenty Fifteen

created time in 22 days

push eventsrnd/www

TJ Horner

commit sha 85cfdc60bd6e2921f2acda9d8753cae80ee9d909

add font-display property to fonts

view details

push time in 22 days

create barnchtjhorner/mattermost-e926

branch : master

created branch time in a month

created repositorytjhorner/mattermost-e926

have u ever just

created time in a month

fork tjhorner/Universal-Arduino-Telegram-Bot

Use Telegram on your Arduino (ESP8266 or Wifi-101 boards)

fork in a month

push eventtjhorner/matterhook

TJ Horner

commit sha 04fe94c9beb72ee919f3453aeed8a11f74bf6706

whoops

view details

push time in a month

startedtjhorner/old-empty-repos

started time in a month

push eventtjhorner/docker-redirector

TJ Horner

commit sha 92b2bdd3c288cb91fdf662882dae746f6e2f8d5e

what is spelling?

view details

push time in a month

fork tjhorner/docker-redirectror

simple http to https redirector in docker

fork in a month

push eventtjhorner/matterhook

DragonBallZeke

commit sha 9b819a221d0f3b81e52d2baa9731691dcf084043

🇨

view details

TJ Horner

commit sha 54c96426d8d4521662507dbb615eccb78715be5d

templated strings

view details

TJ Horner

commit sha f3cde51cbf7b46f483ad9dbbfde6353531ba71ee

zeke you forgot a space smh

view details

push time in a month

PR merged tjhorner/matterhook

🇨
+4 -2

0 comment

1 changed file

DragonBallZeke

pr closed time in a month

more