Skip to content

Instantly share code, notes, and snippets.

View Neo-Desktop's full-sized avatar
🙃

Neo Neo-Desktop

🙃
  • San Diego, CA
View GitHub Profile
@Neo-Desktop
Neo-Desktop / 12.2.0-i386
Last active May 28, 2024 20:52
compiling djgpp on alpine linux for muslc
#!/usr/bin/env bash
unset CDPATH
source script/common-settings
# source tarball versions
BINUTILS_VERSION=230
DJCRX_VERSION=205
DJLSR_VERSION=205
@Neo-Desktop
Neo-Desktop / 50-djgpp.conf.patch
Last active June 22, 2023 06:57
djgpp-gcc1220 watt32 errnos
diff --git a/Configurations/50-djgpp.conf b/Configurations/50-djgpp.conf
index fbe4911c42..6b374444e8 100644
--- a/Configurations/50-djgpp.conf
+++ b/Configurations/50-djgpp.conf
@@ -7,9 +7,9 @@ my %targets = (
inherit_from => [ "BASE_unix" ],
CC => "gcc",
CFLAGS => "-fomit-frame-pointer -O2 -Wall",
- cflags => "-I/dev/env/WATT_ROOT/inc -DTERMIOS -DL_ENDIAN",
+ cflags => "-I$ENV{'WATT_ROOT'}/inc -DTERMIOS -DL_ENDIAN",
@Neo-Desktop
Neo-Desktop / .links
Last active June 25, 2024 12:22
Modern.ie Hyper-V (2012) Instances
@Neo-Desktop
Neo-Desktop / docker-compose-base.yaml
Last active January 16, 2022 14:41
Master 2 docker stack
services:
alpine:
image: alpine:latest
user: 1003:1003
tty: true
working_dir: /app
deploy:
restart_policy:
condition: any
resources:
@Neo-Desktop
Neo-Desktop / index.html
Created May 4, 2021 07:31
beter VaporWaveTerrain
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.2.0/p5.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.2.0/addons/p5.sound.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<meta charset="utf-8" />
</head>
<body>
@Neo-Desktop
Neo-Desktop / query.php
Created August 1, 2020 14:55
starsiege server query script
<?php
const MASTER_SERVER = "master2.starsiege.pw";
const MASTER_PORT = 29000;
const PROTOCOL_VERSION = 0x10;
const STATUS_REQUEST = 0x03;
const GAME_SERVER_STATUS_RESPONSE = 0x04;
const MASTER_SERVER_STATUS_RESPONSE = 0x06;
const GAME_INFO_REQUEST = 0x07;
@Neo-Desktop
Neo-Desktop / index.html
Last active October 10, 2021 10:43
Extra Annoying "Malicious" Rick Roll Circa 2008
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>YOU GOT RICK ROLL'D</title>
<!---
You are a cock sucker.
--->
<style type="text/css">
@Neo-Desktop
Neo-Desktop / mp3collect.go
Created February 17, 2020 09:04 — forked from swdunlop/mp3collect.go
a simple utility to hardlink mp3 files to a hash of their non-ID3 contents
package main
import "io"
import "os"
import "fmt"
import "encoding/hex"
import "crypto/sha256"
import "path"
import "strings"
@Neo-Desktop
Neo-Desktop / install-user-to-sudoersd.sh
Created June 2, 2018 07:38 — forked from ivanrad/install-user-to-sudoersd.sh
Add user to sudoers (ALL NOPASSWD)
#!/bin/bash
#
# Add user to sudoers (ALL NOPASSWD).
# Usage: $0 [username] (if no username provided, the username of the current user is used)
#
[ $UID -eq 0 ] ||
{ echo "This script needs to be run with sudo -- \"sudo `basename $0`\"."; exit 1; }
[ -z "$1" ] && SUDOERS_USERNAME=$SUDO_USER || SUDOERS_USERNAME=$1
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
@DISM /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux
choco install googlechrome 7zip.install putty.install kitty vlc sysinternals curl wget cmder windirstat adobe-creative-cloud jetbrainstoolbox sublimetext3 cyberduck audacity spotify mpc-hc k-litecodecpackmega nmap cpu-z.install sourcecodepro irfanview irfanviewplugins wireshark