Skip to content

Instantly share code, notes, and snippets.


Jesse Talavera-Greenberg JesseTG

View GitHub Profile
JesseTG / resume.json
Last active September 6, 2022 18:01
View resume.json
"basics": {
"name": "Jesse Talavera-Greenberg",
"label": "Technical Writer / Game Developer",
"email": "",
"url": "",
"location": {
"city": "Remsenburg",
"region": "NY",
"countryCode": "US"
View Jenny.csproj
<?xml version="1.0" encoding="utf-8"?>
This file exists because Jenny doesn't understand the concept of putting
code into multiple projects.
<Project xmlns="">
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup Label="Jenny Config">
JesseTG / Codegen.csproj
Last active January 23, 2022 18:39
My Codegen.csproj
View Codegen.csproj
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
View post-commit
shopt -s nullglob
echo "${array[@]}"
shopt -u nullglob # Turn off nullglob to make sure it doesn't interfere with anything later
soundfile="${array[$RANDOM % ${#array[@]}]}" # Note double-quotes to avoid extra parsing of funny characters in filenames
JesseTG / AssetCommands.cs
Created December 28, 2019 01:51
List all assets of a given type for Minibuffer
View AssetCommands.cs
using System;
using System.Linq;
using System.Text;
using DesperateDevs.Utils;
using SeawispHunter.MinibufferConsole;
using SeawispHunter.MinibufferConsole.Extensions;
using Sirenix.Utilities;
using UnityEngine;
namespace CorundumGames.Chromavaders.Behaviours.MinibufferConsole
View ivy.xml
<ivy-module version="2.0">
<info version="2019.2.2" organisation="Unity" module="StandaloneWindows" e:packageType="PlaybackEngine" e:unityVersion="2019.2.2f1" xmlns:e="" />
<publications xmlns:e="">
<artifact name="UnityEditor.WindowsStandalone.Extensions" type="dll" ext="dll" />
JesseTG / SimplerComponents.cs
Last active March 5, 2019 21:04
Simplifying someone's component design
View SimplerComponents.cs
// Assumptions:
// - Each analog stick is a separate entity
// - There is no central "controller" entity, but there is a controller ID
// - It's up to you to decide which entities should have which of these components
public enum StickMode {
// And possibly other things like camera or cursor movement, depending on the nature of your game
// and on other architecture decisions you make
JesseTG /
Created April 15, 2018 19:33

Keybase proof

I hereby claim:

  • I am jessetg on github.
  • I am jessetg ( on keybase.
  • I have a public key ASBnvPIowt1nP6ujiK7dcIm7fVf9iPShtzC9D5maLFhisgo

To claim this, I am signing this object:

JesseTG / FindPythonModule.cmake
Created December 6, 2015 19:10
CMake module for detecting the presence of a given Python module
View FindPythonModule.cmake
# Find if a Python module is installed
# Found at
# To use do: find_python_module(PyQt4 REQUIRED)
function(find_python_module module)
string(TOUPPER ${module} module_upper)
if(NOT PY_${module_upper})
set(${module}_FIND_REQUIRED TRUE)
# A module's location is usually a directory, but for binary modules
JesseTG / gist:7125371
Created October 23, 2013 19:44 — forked from hay/gist:1351230
View gist:7125371
<!doctype html>
body {
background: white;
text-align: center;
padding: 20px;
font-family: Georgia, serif;