Skip to content

Instantly share code, notes, and snippets.

View kylekellogg's full-sized avatar
👨‍💻
Doing my best

Kyle Kellogg kylekellogg

👨‍💻
Doing my best
View GitHub Profile
This file has been truncated, but you can view the full file.
["aahed","aahing","aalii","aaliis","aardvark","aardwolf","aargh","aaron","aaronic","aaronite","aarrgh","aarrghh","aasvogel","ababdeh","ababua","abaca","abacay","abacas","abacate","abacaxi","abaci","abacisci","abacist","aback","abacli","abacot","abaction","abactor","abaculi","abaculus","abacus","abacuses","abada","abaddon","abadejo","abadengo","abadia","abadite","abaff","abaft","abayah","abaised","abaiser","abaisse","abaissed","abaka","abakas","abalone","abalones","abama","abamp","abampere","abamps","aband","abandon","abandons","abandum","abanet","abanga","abanic","abantes","abapical","abarambo","abaris","abase","abased","abasedly","abaser","abasers","abases","abasgi","abash","abashed","abashes","abashing","abasia","abasias","abasic","abasing","abasio","abask","abassi","abassin","abastard","abastral","abatable","abatage","abate","abated","abater","abaters","abates","abatic","abating","abatis","abatised","abatises","abatjour","abaton","abator","abators","abattage","abattis","abattoir","abattu","abattue","abatua
@kylekellogg
kylekellogg / keybase.md
Created March 26, 2021 13:53
Verifying on keybase.io

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@kylekellogg
kylekellogg / Box.java
Last active December 20, 2017 01:13 — forked from nekma555/Box.java
BoxOpener
package com.company;
import java.util.Random;
public class Box {
private int size;
private int boxPrice = 5;
public static Item[] items;
Random itempick;
BoxOpener b = new BoxOpener();
package com.kylekellogg.kristest;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;
import java.lang.ref.WeakReference;
@kylekellogg
kylekellogg / pokemon-go-errors-android-n-beta.log
Created July 12, 2016 15:40
Android N Beta (June 1st, 2016 updates) errors excerpt for Pokemon GO
07-12 11:37:08.235 19716-19778/? W/Unity: The referenced script on this Behaviour (Game Object 'UIBokehParticle') is missing!
(Filename: Line: 1655)
07-12 11:37:08.236 19716-19778/? W/Unity: The referenced script on this Behaviour (Game Object 'UIBokehParticle') is missing!
(Filename: Line: 1655)
07-12 11:37:08.251 19716-19778/? W/Unity: The referenced script on this Behaviour (Game Object 'UIBokehParticleColor2') is missing!
(Filename: Line: 1655)
07-12 11:37:08.261 19716-19778/? W/Unity: The referenced script on this Behaviour (Game Object 'UIBokehGroup') is missing!
@kylekellogg
kylekellogg / CheckboxWithLabel-bad.jsx
Created December 29, 2015 05:09
ES2015 React JS Component classes can pass React's TestUtils tests (using Jest in my case) while not working in a practical implementation. Here's an example of what to do and what not to do.
import React from 'react'
/*
This will happily pass your tests (via TestUtils), but will not work when
implemented in a real-world scenario (via browserify & babelify with es2015
and react presets, for example)
*/
export class CheckboxWithLabel extends React.Component {
constructor (props) {
super(props)
@kylekellogg
kylekellogg / pmgj_march_2015.md
Last active August 29, 2015 14:18
Game submission for Purple Monkey Game Jam (March 2015) by Kyle Kellogg, Kris Kellogg, and Tyler Gates.

Purple Monkey Game Jam Game Submission

This is for the itch.io game made for PMGJ of March 2015

For the theme, "With Our Powers Combined", we created a tabletop card game. Here's the tl;dr version:

A group of wizards band together to clear a cave system of it's elemental monster
inhabitants. While not powerful enough individually, they are able to join their
spells together to overcome the great difficulties facing them.
@kylekellogg
kylekellogg / introrx.md
Last active August 29, 2015 14:08 — forked from staltz/introrx.md

The introduction to Reactive Programming you've been missing

(by @andrestaltz)

So you're curious in learning this new thing called (Functional) Reactive Programming (FRP).

Learning it is hard, even harder by the lack of good material. When I started, I tried looking for tutorials. I found only a handful of practical guides, but they just scratched the surface and never tackled the challenge of building the whole architecture around it. Library documentations often don't help when you're trying to understand some function. I mean, honestly, look at this:

Rx.Observable.prototype.flatMapLatest(selector, [thisArg])

Projects each element of an observable sequence into a new sequence of observable sequences by incorporating the element's index and then transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.

@kylekellogg
kylekellogg / dos2unix.bat
Created April 4, 2014 05:04
Recursive sed based solution for converting line endings from Unix to DOS format
#!/usr/bin/env bash
for /r %%i in (*) do (
pushd "%%i"
for /f in (dir /b * 2^>nul) do (
# Something similar to the above using this below sed command
if [[ -f $file ]]
then
#sed "s/$//"
echo "Converting $file"