Skip to content

Instantly share code, notes, and snippets.

View AbigailBuccaneer's full-sized avatar

AbigailBuccaneer AbigailBuccaneer

View GitHub Profile
@AbigailBuccaneer
AbigailBuccaneer / garrysmod_resource_fonts_
Created February 19, 2018 21:01
Garry's Mod linux fonts
./Roboto-LightItalic.ttf
./Roboto-MediumItalic.ttf
./Roboto-CondensedItalic.ttf
./Roboto-BoldCondensedItalic.ttf
./Roboto-BoldItalic.ttf
./Roboto-ThinItalic.ttf
./Roboto-BlackItalic.ttf
./Roboto-Bold.ttf
./Roboto-Light.ttf
./akbar.ttf
-- Loading this file (by placing it in lua/autorun, for example) will cause all
-- calls to entity:SetMaxHealth() to be duplicated (by all duplicators).
--
-- Caution! This code has never been tested. It's never even been executed.
--
-- To the extent possible under law, the author(s) have dedicated all copyright
-- and related and neighboring rights to this software to the public domain
-- worldwide. This software is distributed without any warranty.
do
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>BNF for idl.jj</TITLE>
</HEAD>
<BODY>
<H1 ALIGN=CENTER>BNF for idl.jj</H1>
<H2 ALIGN=CENTER>TOKENS</H2>
<TABLE>
<!-- Special token -->
@AbigailBuccaneer
AbigailBuccaneer / symbiotic-violence.md
Last active February 6, 2017 23:57
Symbiotic violence: white supremacy and the prison industrial complex

Symbiotic violence: white supremacy and the prison industrial complex

The prison industrial complex requires a white supremacist state. At the heart of the criminal justice system is the belief that some people are evil to their very core, and so cannot be reformed or transformed or sympathised with, but must be punished. The prison industrial complex thrives when it has a supply of undesirable bodies and a justification for punishing and exploiting them. White supremacy provides that supply and justification. Because of this, when we push back against white supremacy, it is in the prison industrial complex’s nature to reinforce it. The prison system teaches us about the inherent criminality of black youths, to make it uncritically accepted when police plant drugs or falsify evidence or straight out murder. So we cannot speak of abolition of white supremacy without also speaking of prison abolition. This means that our opposition to white supremacy requires a radical shift in our notions of justice.

Keybase proof

I hereby claim:

  • I am abigailbuccaneer on github.
  • I am abigail (https://keybase.io/abigail) on keybase.
  • I have a public key ASApEu1Ey54qM0hqyTQl-41mlLGNFc09bFfm-iyDlpcWSAo

To claim this, I am signing this object:

env = Environment()
program = env.Program('foo', 'foo.c', LIBS=['foo'], LIBPATH='.')
Import('env', 'lib')
env = env.Clone()
program = env.Program('foo', 'foo.c', LIBS=[lib])
$ touch libfoo.c
$ echo "int main(void) { return 0; }" > foo.c
$ cat SConstruct
env = Environment()
lib = env.Library('libfoo', 'libfoo.c')
program = env.Program('foo', LIBS=[lib])
$ scons --tree=all
scons: Reading SConscript files ...
def glob_recursive(path, pattern, exclude=None):
import SCons.Node.FS
globbed = Dir(path).glob(pattern, exclude=exclude)
sources = []
for source in globbed:
if isinstance(source, SCons.Node.FS.Dir):
childpath = os.path.join(path, os.path.basename(source.path))
sources += glob_recursive(childpath, pattern, exclude=exclude)
else:
sources += [source]
@AbigailBuccaneer
AbigailBuccaneer / SConstruct
Last active January 22, 2016 16:01
SConstruct won't find implicit dependencies on files which don't yet exist
env = Environment()
# preprocess compiler.in to compiler
compiler = env.Command('compiler', 'compiler.in', 'cp $SOURCE $TARGET')
env['compiler'] = File(compiler)[0].abspath
# and then use that to compile foo.in
target = env.Command('foo', 'foo.in', '$compiler < $SOURCE > $TARGET')
Default(target)