Skip to content

Instantly share code, notes, and snippets.

View seiyria's full-sized avatar
🌟
making a game?

Kyle J. Kemp seiyria

🌟
making a game?
View GitHub Profile
const { exec } = require('child_process');
const { MultiSelect } = require('enquirer');
runCommand('git branch', (result) => {
const branches = parseBranches(result);
const prompt = new MultiSelect({
name: 'Branches',
message: 'Select branches to remove',
choices: branches.map((b) => {
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Kyle Kemp",
"label": "Principal Software Engineer",
"image": "",
"email": "kyle@seiyria.com",
"phone": "9202151371",
"url": "https://seiyria.com",
"summary": "Foreward: I'm only interested in remote positions. I'm not interested in relocating now or ever. Additionally, my career focus is shifting away from development and into architecture and/or other related high level positions.\n\nI am a highly efficient remote developer, able to integrate with teams quickly and provide immediate value to a team. I frequently focus on efficiency in all aspects of my work: code efficiency, onboarding efficiency (writing / validating documentation for onboarding new developers), and developer efficiency (with CI/CD, code review, etc). I never stop thinking about improving business processes \"just because we've always done it that way\" and I make sure to improve these processes
  1. https://www.reddit.com/r/discordapp/comments/sc61n3/cant_inspect_element_anymore/hu4fw5x/ first you need to re-enable the devtools

  2. then you need to enable developer mode. then open devtools with ctrl+shift+i (might need to restart discord first)

  3. run this in devtools Object.defineProperty((webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.isDeveloper!==void 0).exports.default,"isDeveloper",{get:()=>true});

  4. go to settings > experiments > type in acc > turn on Desktop Multi Account

import { Directive, EventEmitter, HostListener, Input, OnDestroy, Output } from '@angular/core';
import { combineLatest, interval, Observable, Subject } from 'rxjs';
import { filter, first, map, takeUntil } from 'rxjs/operators';
@Directive({
selector: '[appLongPress]'
})
export class LongPressDirective implements OnDestroy {
@Input() public longPress = 500;
@seiyria
seiyria / cloudSettings
Created June 27, 2020 11:26
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-06-27T11:26:58.795Z","extensionVersion":"v3.4.3"}
const Random = require('random-js').Random;
const TOTAL_SIMULATIONS = 1;
const MAX_PLAYERS = 100000;
const TOTAL_FRIENDS_PER_PLAYER = 0;
const calculateChoices = () => {
const random = new Random();
const ALL_PLAYERS = Array(MAX_PLAYERS).fill(0).map((x, i) => i);
const octokit = require('@octokit/rest')();
const snake = require('lodash.snakecase');
const fs = require('fs');
octokit.search.issues({
q: 'repo:landoftherair/landoftherair is:open'
})
.then(res => {
res.data.items.forEach(item => {
// ==UserScript==
// @name get rid of that instant mix and shuffle shit
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author seiyria
// @match https://play.google.com/*
// @grant none
// ==/UserScript==
@seiyria
seiyria / filename
Created July 22, 2017 17:52
eth wallet
0x233aa7c86bc2e6c7950218ff4b409f78052aaaea
@seiyria
seiyria / README.md
Last active January 8, 2018 04:29
Code Quality and You

update: this post has been moved to my blog

Welcome! Today I'd like to talk about another subject which can't be emphasized enough: Code Quality. This entails a lot of tools and patterns that ultimately come together to make your game more solid and programmer friendly. Even if you're working alone on a project, these tools can save you some precious debugging time by pointing out simple errors, if not more complex ones. I'll be using my current project, c as an example where possible.

A few notes before we get started:

  • Some of the following tools are specific to the JavaScript ecosystem.
  • Some of the following tools are only free for open source projects, so bear in mind that you might be missing out on the awesome!

Style Checking

Some of the easiest tools you can set up for your project are JSHint and JSCS. These tools provide basic st