Skip to content

Instantly share code, notes, and snippets.

View citelao's full-sized avatar
🐢
chillin'

Ben Stolovitz citelao

🐢
chillin'
View GitHub Profile
@citelao
citelao / README.md
Created February 27, 2023 02:39
Swift NSCollectionView

This is straightforward, copy-pasted code from an app I'm building, where I needed to wrap NSCollectionView for SwiftUI.

It's really bad code, but it works at least.

Usage:

SwiftNSCollectionView(items: ["a", "b", "a", "b", "a", "b", "a", "b", "a", "b", "a", "b", "a", "c"], itemSize: nil) { item in
     Text(item)
}

Keybase proof

I hereby claim:

  • I am citelao on github.
  • I am citelao (https://keybase.io/citelao) on keybase.
  • I have a public key ASBWVxh3VhmNG1s7ADPmbWkWgQaUqOpkY69UmNV6W2xqJwo

To claim this, I am signing this object:

@citelao
citelao / protocol.md
Created March 30, 2014 18:55
Sunstone protocol

Network Protocol

Sever acts as a "relay" of sorts (while still checking stuff is valid) All strings are UTF null terminated ("\0")

Mobs are treated by the client as differet "types" of players, types are also classes and the like (for drawing)

Action list:

@citelao
citelao / Review.md
Created September 25, 2012 21:07
RK-9100 Review

The Rosewill RK-9100 Backlit Mechanical Keyboard, Reviewed: This Time It's Personal

My Battlestation

I really wanted to love the Rosewill RK-9100 Illuminated Mechanical Gaming Keyboard, I really did. It's clicky, gorgeous, and tanklike, but every one of its qualities is marred by major flaws. I wrote a mediocre review before but the problems I notice just before I ship this well-meaning-but-constantly-doing-the-wrong-thing-anyway antihero of a keyboard back to Newegg I decided to rewrite my thoughts before publishing this first internet review. Here we go!

For Those Unaware

The Rosewill RK-9100 is a new mechanical keyboard with backlit keys available on Newegg.com. Right now the only available option is blue backlighting with Cherry MX Blue switches— I'll get to those in the next paragraph— and, with the guiding force of a 20% off sale, I snapped it up.

@citelao
citelao / letter.md
Created August 2, 2011 23:56
On Steam/Origin: An open letter to all involved in the distribution and production of video games.

Dear Mr. Riccitiello, Mr. Troedsson, Mr. Dunn, Mr. Raines, and all those involved in the production and distribution of video games,

My name is Ben; I'm a 16-year-old web designer and avid computer gamer. I love video games and spend tons (tons) of time with computers every day.

I have neither the experience nor the ability to run the companies you do. No, I am simply an everyperson who loves his computer games.

I also love Steam. I'm sure you have all heard of this program, if not by using it yourself then by its overwhelming success. Steam, I'm sure, has affected every single person in the video game industry and beyond:

  • Developers now have an excellent medium to deliver content and updates with little maintenance cost.
  • Publishers no longer have to worry about DRM and CDs (as much).