Skip to content

Instantly share code, notes, and snippets.

View bluesentinelsec's full-sized avatar

Michael Long bluesentinelsec

  • Amazon
  • USA
  • 18:39 (UTC -04:00)
View GitHub Profile
@bluesentinelsec
bluesentinelsec / main.c
Created January 19, 2024 16:17
How to configure SDL2 with Xcode on macOS
/*
This explains the basic steps you need to perform to create a working .app bundle from a C program using SDL2.
This guide assumes you are a competent developer and that you have an Apple Developer account with
code signing properly configured.
1. Create a new project in Xcode; select the "App" template.
2. Delete the boiler plate files (choose move to trash when prompted):
AppDelegate.h
AppDelegate.m
@bluesentinelsec
bluesentinelsec / gist:c3a3a2b9f476b24e211d6b8a052c4686
Created November 30, 2022 23:48
Build gzdoom for Ubuntu Linux
#!/bin/bash -x
# Install dependencies:
sudo apt-get install chrpath cmake git libfluidsynth-dev libglew-dev
sudo apt-get install g++ make cmake libsdl2-dev git zlib1g-dev \
libbz2-dev libjpeg-dev libfluidsynth-dev libgme-dev libopenal-dev \
libmpg123-dev libsndfile1-dev libgtk-3-dev timidity nasm \
libgl1-mesa-dev tar libsdl1.2-dev libglew-dev
@bluesentinelsec
bluesentinelsec / Get-ProcessTree.ps1
Created May 3, 2019 02:34 — forked from atifaziz/Get-ProcessTree.ps1
PowerShell 2.0 script to get processes tree
# Copyright (c) 2014 Atif Aziz. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@bluesentinelsec
bluesentinelsec / keybase.md
Created January 13, 2018 17:34
keybase.md

Keybase proof

I hereby claim:

  • I am bluesentinelsec on github.
  • I am mcl2 (https://keybase.io/mcl2) on keybase.
  • I have a public key whose fingerprint is FA10 78D6 8C42 E181 8B59 CA96 4CBC 99A3 0BE0 A8C1

To claim this, I am signing this object: