Skip to content

Instantly share code, notes, and snippets.

View RyanSquared's full-sized avatar

Ryan RyanSquared

View GitHub Profile
@RyanSquared
RyanSquared / fixsteam.sh
Created August 1, 2015 04:23
because Steam automatically ships with the libraries, i found this.
find ~/.steam/root/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" \) -print -delete
@RyanSquared
RyanSquared / file.md
Last active August 31, 2015 07:20
hehe. hehehehehehe.
$ touch the-butt
@RyanSquared
RyanSquared / weechat_autojoin
Last active October 7, 2015 14:54
Automate /autojoin --run; when joining and leaving channels
/trigger addreplace autojoin1 modifier "irc_in_join" "" "" "/wait 5s /mute autojoin --run;/wait 6s mute save"
/trigger addreplace autojoin2 modifier "irc_in_part" "" "" "/wait 5s /mute autojoin --run;/wait 6s mute save"
#include <stdlib.h>
#include <libnotify/notify.h>
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
#ifndef LUA_LIBNOTIFY
#define LUA_LIBNOTIFY
@RyanSquared
RyanSquared / badges.css
Created December 2, 2015 18:15
Badges CSS file
/*
Copyright &copy; 2015 Charles "ChickenNuggers" Heywood <vandor2012@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@RyanSquared
RyanSquared / serialize.lua
Created December 3, 2015 15:07
Coroutine-based serializer
--[[
Copyright &copy; 2015 Charles "ChickenNuggers" Heywood <vandor2012@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@RyanSquared
RyanSquared / compile.sh
Created January 15, 2016 01:07
Compiles MoonScript files using a C preprocessor and optionally outputs in Lua binary.
if which mcpp >&-; then
CPP="mcpp -P"
else
CPP="cpp -P"
fi
has_compiled=false
is_binary=false
is_forcing=false
for arg in $*; do
case $arg in
luarocks upload --api-key=$(pass luarocks_api_key) $(ls -la | awk '{ print $9 }' | grep -P 'lua-logger-\d\.\d-\d.rockspec' | tail -n1)
@RyanSquared
RyanSquared / tls-3.3.md
Last active September 4, 2016 20:56
Possible changes for IRCv3.3
title layout copyrights
IRCv3.3 TLS Enforcement
spec
name period email
Charles Heywood
2016
charles@hashbang.sh

General Information

Contributors

Name Email GitHub Account
Ryan Rion ryan@hashbang.sh ChickenNuggers

Project Information