Skip to content

Instantly share code, notes, and snippets.

@idolpx
idolpx / meatloaf_opendir.php
Last active January 14, 2024 05:05
Meatloaf Server Script - To create commodore basic PRG directory listing of files on server
<?php
//
// Meatloaf - A Commodore 64/128 multi-device emulator
// https://github.com/idolpx/meatloaf
// Copyright(C) 2022 James Johnston
//
// Meatloaf Server Script-----------------------------------------
// Create a directory listing as a Commodore Basic Program
// Responds with binary PRG file ready to load and list
// ---------------------------------------------------------------
@unxmaal
unxmaal / btw.sh
Last active January 24, 2022 13:08
#!/bin/bash
_srpms=~/rpmbuild/SRPMS
_tinybuild=~/btw/tiny_build
_gitrepo=~/sgug-rse.git
_tbgit="${_tinybuild}/sgug-rse.git"
_releasepackages="${_tbgit}/releasepackages.lst"
#setup
@danielhams
danielhams / minimal_set.txt
Created April 10, 2020 14:10
Proposed set of tools in the selfhoster for 0.0.5
Driven by these "requires":
special_packages.emplace("rpm");
special_packages.emplace("sudo");
special_packages.emplace("vim-minimal");
special_packages.emplace("sgug-rpm-tools");
special_packages.emplace("git-all");
special_packages.emplace("tar");
special_packages.emplace("bzip2");
special_packages.emplace("gzip");
@danielhams
danielhams / sguworldrebuilder-0.0.4.sh
Created February 17, 2020 08:09
SGUG World Rebuilding Script
#!/usr/sgug/bin/bash
# Must rebuild: zlib
rpmbuild -ba zlib.spec --nocheck
touch ~/rpmbuild/PROGRESS/zlib.done
# Must rebuild: xz
rpmbuild -ba xz.spec --nocheck
touch ~/rpmbuild/PROGRESS/xz.done
# Must rebuild: xosview
rpmbuild -ba xosview.spec --nocheck
touch ~/rpmbuild/PROGRESS/xosview.done
@kevinelliott
kevinelliott / 1-macOS-10.12-sierra-setup.md
Last active February 5, 2024 07:22
macOS 10.12 Sierra Setup

macOS 10.12 Sierra Setup

Custom recipe to get macOS 10.12 Sierra running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.11 El Capitan setup recipe and 10.10 Yosemite setup recipe. I am currently tweaking this for 10.12 Sierra and expect to refine this gist over the next few weeks.

I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. I generally reinstall each computer from scratch every 6 months, and I do not perform upgrades between releases.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your o

@jbnunn
jbnunn / VagrantUbuntuSetup.md
Created December 4, 2012 02:35
Spinning up an Ubuntu Box with Vagrant
@dillera
dillera / bootstrap-ruby.sh
Created February 10, 2012 20:44
Install Ruby with rbenv/ruby-build on Centos6 with openssl
#!/bin/bash
set -e # exit on error
### README
# * installs your desired ruby versions using rbenv
# ** including openssl (needed by bundler)
# ** including sqlite (probably needed for rails apps)
#
# Before you start:
# * put ssh-keys in place
@etrepat
etrepat / FIle.sublime-settings.json
Created October 15, 2011 18:44
Sublime Text 2 - My Settings
{
// Sets the colors used within the text area
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
// Note that the font_face and font_size are overriden in the platform
// specific settings file, for example, "Base File (Linux).sublime-settings".
// Because of this, setting them here will have no effect: you must set them
// in your User File Preferences.
"font_face": "Monaco",
"font_size": 12,