Skip to content

Instantly share code, notes, and snippets.

View lstarnes1024's full-sized avatar

Lee Starnes lstarnes1024

View GitHub Profile

83bot

It generates lewd 8.3 format filenames. Not much else to it.

Disclaimer

This project is not connected to the Interlinked Foundation in any way.

Setup

  1. Register an account on a Mastodon instance. Other instances that support the Mastodon client API will work too, like Pleroma.
  2. Register the app. In Mastodon, go to Preferences > Development. Leave the redrect URI as urn:ietf:wg:oauth:2.0:oob. Make sure it has the read and write scopes. Make note of the client_id, client_secret, and access_token.

Keybase proof

I hereby claim:

  • I am lstarnes1024 on github.
  • I am lstarnes (https://keybase.io/lstarnes) on keybase.
  • I have a public key whose fingerprint is 6BFB CFDA 6A69 8160 DFF7 1890 A299 F83C D27F D20B

To claim this, I am signing this object:

@lstarnes1024
lstarnes1024 / gist:3e329c95df0dc2cb3579
Created March 1, 2015 05:30
charybdis m_sasl segfault
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff1c75fa7 in abort_sasl (data=0x7ffff57047c8) at m_sasl.c:201
201 if(data->localClient->sasl_out == 0 || data->localClient->sasl_complete)
(gdb) p data
$1 = (struct Client *) 0x7ffff57047c8
(gdb) p data->localClient
$2 = (struct LocalUser *) 0x0
(gdb) bt
#0 0x00007ffff1c75fa7 in abort_sasl (data=0x7ffff57047c8) at m_sasl.c:201
#1 0x0000000000419b35 in call_hook (id=<optimized out>, arg=0x7fffffffdec0) at hook.c:220
@lstarnes1024
lstarnes1024 / Makefile
Last active August 29, 2015 14:15
Makefile for CS 240 PA 2 (annotated version)
# An example Makefile for C++
# Author: Lee Starnes <starnelt@dukes.jmu.edu>
#
# This is written for use with PA2 in Dr. Rahman's
# CS 240 sections for Spring 2015.
#
# Usage: run 'make' in this directory in a terminal
#
# If you want to edit this for a future project, you
# just need to change the 'SRCS' list and replace the
@lstarnes1024
lstarnes1024 / Makefile
Last active August 29, 2015 14:15
Makefile for CS 240 PA2 (simple version)
# Example C++ Makefile for PA2
# Author: Lee Starnes <starnelt@dukes.jmu.edu>
CXX = g++
CXXFLAGS = -std=c++11 -g -Wall
CPPFLAGS = -I.
LIBS =
SRCS = \
billTypeImpl.cpp \
dateTypeImpl.cpp \
doctorTypeImpl.cpp \
[23/05/2014 04:14:54] -> :sheep JOIN +bangtest
[23/05/2014 04:14:54] m_join(): new channel: +bangtest
[23/05/2014 04:14:54] channel_add(): got non #channel: +bangtest
[23/05/2014 04:14:54] (channels.c:353 chanuser_add): critical: Assertion 'chan != NULL' failed.
[23/05/2014 04:15:08] -> :sheep PART +bangtest :sheep
[23/05/2014 04:15:08] m_part(): user left channel: sheep -> +bangtest
[23/05/2014 04:15:08] (channels.c:441 chanuser_delete): critical: Assertion 'chan != NULL' failed.
(after restarting services...)
[23/05/2014 04:16:38] -> :irc.lazerwire.net CHANINFO +bangtest +tn