Skip to content

Instantly share code, notes, and snippets.

View exodrifter's full-sized avatar

Ava Pek exodrifter

View GitHub Profile
@exodrifter
exodrifter / level.gd
Last active October 13, 2023 17:06
navigation mesh baking for godot 4.x
# https://cohost.org/exodrifter/post/2473763-custom-navmesh-bakin
@tool
extends TileMap
const NAVIGATION_META: String = "auto_nav_mesh"
const NAVIGATION_DEBUG_META: String = "auto_nav_mesh_debug"
const agent_width: float = 7.75
const agent_height: float = 5.5
enum Stop {
This file has been truncated, but you can view the full file.
SteamVR System Report created Sat Aug 06 23:18:05 2022
<Report>
SteamVR Version: 1.23.6 (1657837389)
SteamVR Date: 2022-07-14
Steam: Public
Steam Branch: beta
Steam AppID: 250820
Tracking: lighthouse
OS: Linux version 5.18.16-arch1-1 (linux@archlinux) (gcc (GCC) 12.1.1 20220730, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT_DYNAMIC Wed, 03 Aug 2022 11:25:04 +0000
@exodrifter
exodrifter / switch_drivers.sh
Created November 7, 2021 21:07 — forked from tuxarch/switch_drivers.sh
switch drivers in arch(nvidia,nouveau)
#!/bin/bash
BRANCH=-340xx # Enter a branch if needed, i.e. -340xx or -304xx
NVIDIA=nvidia${BRANCH} # If no branch entered above this would be "nvidia"
NOUVEAU=xf86-video-nouveau
# Replace -R with -Rs to if you want to remove the unneeded dependencies
if [ $(pacman -Qqs ^mesa-libgl$) ]; then
pacman -S $NVIDIA ${NVIDIA}-libgl # Add lib32-${NVIDIA}-libgl and ${NVIDIA}-lts if needed
# pacman -R $NOUVEAU
elif [ $(pacman -Qqs ^${NVIDIA}$) ]; then

Keybase proof

I hereby claim:

  • I am exodrifter on github.
  • I am exodrifter (https://keybase.io/exodrifter) on keybase.
  • I have a public key ASCC0utjjbN_RyZxNT0t6hTUzCyt1tM47vC87G-U4Hh4Ngo

To claim this, I am signing this object:

@exodrifter
exodrifter / Yellow Balancers
Last active April 29, 2017 04:26
Yellow Balancers Blueprint String for Factorio
0eNrtfV2vHcdx7V8x+JQA2kZ3VfXH6PE+5z24CAJDsgmDiEwKFOVcI9j/PYeWSNHWTHetrtVnn+T6KTAVNmdm7z1dvT7/69W33/34+vv3b95++N237979x6uv/+uXP/nh1df/9sX//Pjf3vz+3duf/viHN398+813H//sw1++f/3q61d/fvP+w49Pf/LVq7ff/OnjH/z0/3HLr+5fvXrz9g+v/9+rr/P9K+Bvyhd/U+7//tWr128/vPnw5vVPF/DX//GX37398U/fvn7/tPTnv/3h/Tdvf/j+3fsPt29ff/fhadXv3/3w9Nfevf34Tz4tlb569ZdXX9/y/ePF/N0q4l7llgfL6C+38v13bz58ePqzXy+Qflv+ukQ6W8HQC3m6jqcn9ObD6z89/Z1fPrOvXn33zdPfe/qz/JsP734jT3/w59fvf/jrX69mYi3VZP2XB50+XszjPnPd+pkr5zPX8Wc+W2a0CvC5y0/LyNMD+8Ob969//9N/k5NFC7zo6be64j+xv7m0erJmc/xSPv1Qnm71ZIUOf3ynyxyen+zPCzxd0PzOckK/EKcPPWf0w0t/e212tqigi+b5tywr8FmevvTywltvflkF/NqefwwV/DTPV2ngKuJ6q+v0rZ4f+1a3PW/14Q9aFt6kjNe6xF7rabBKcb2jPr0tJ+/w1ckEemNnyhvbN9vY9Fcgj/0VlL2/AuP8Ciz2K/i0zGS6cXz7zpco6O/RKKOMrf4U8vBu/D+F0adzLMx38xkhcV6gXwww88kquyYr4UxWGp49s+cLnZChsaBfCMeMDcwuwAjZkM3I832DtwXPVR7AT/QcEUDH+DT/QCSDn/LpRizwwdVxVBQF34yeNQ2fek9WQX8a56tUcBV1zR5lOnvoY2ePumn20JcErDhnjwg+UyiQE/olPF+lwR/TZBwfvMhluA8e0Fx3vpUm12Uge2nmgLlfjBuOMU/io0aOYiPq3h4LuqgHcImfMQGcBMCnVs6dw5EigCcBY0UCkKA63YfssftQW9u
using System;
public static class Currying
{
public static Action<T1, Action<T2>>
Curry<T1, T2>
(this Action<T1, T2> action)
{
return a => b => action(a, b);
}
@exodrifter
exodrifter / swarm.sh
Created February 8, 2015 18:01
Pintos swarm script that I made some time ago for UTCS CS439
#!/bin/bash
# To use this script you must define the following variables in the "swarm.conf"
# file. In addition, you must run the following commands if you do not have an
# ssh key that does not require a password: (use all of the default values for
# ssh-keygen by pressing enter)
#
# > ssh-keygen
# > cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
#
@exodrifter
exodrifter / ComponentLister.cs
Last active November 22, 2015 11:36
Provides a list of Components to GameObjects
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Provides a list of Components to Game Objects in alphabetical order.
///
/// This is a modified version of Angry Ant's script; the original script can
/// be found here: http://angryant.com/2009/08/31/where-did-that-component-go/