Skip to content

Instantly share code, notes, and snippets.

View ToxicFrog's full-sized avatar

B. Kelly ToxicFrog

  • Google
  • Kitchener, Ontario
View GitHub Profile
$ cat ex-test.clj
(ns ex-test
(:require [io.aviso.repl :refer [install-pretty-exceptions]]))
(install-pretty-exceptions)
(+ 1 2 3 nil)
$ /usr/bin/clojure --report stderr ex-test.clj
Picked up JAVA_TOOL_OPTIONS: --add-modules=java.xml.bind
{:clojure.main/message
### Keybase proof
I hereby claim:
* I am toxicfrog on github.
* I am toxicfrog (https://keybase.io/toxicfrog) on keybase.
* I have a public key ASDbAF-AFS4AWsUEArwuEgiFVScUZiAsfIeDv55E6LkZtgo
To claim this, I am signing this object:
## weechat-open-url
#!/usr/bin/env zsh
#
# Command to open a URL from weechat in a smart way.
# If we're ssh'd in from a machine on the same net, assume it's thoth or
# durandal, ssh back into it, and open the url in feh or chrome.
# If we aren't, assume we can't ssh into it (it's a work machine, or thoth
# behind someone else's NAT, or something).
# In that case, open images with timg or web pages with elinks.
{
fetchFromGitHub, fetchurl, lib, stdenv,
extra-cmake-modules, kdoctools, wrapGAppsHook,
baloo, karchive, kconfig, kcrash, kfilemetadata, kinit, kirigami, knewstuff, plasma-framework
}:
let
pname = "peruse";
version = "1.2+20170127";
unarr = fetchFromGitHub {
11:43:40 weechat | python: stdout/stderr: Traceback (most recent call last): │
11:43:40 weechat | python: stdout/stderr: File "/home/ben/.weechat/python/autoload/wee_slack.py", line 81, in wrapper │
11:43:40 weechat | python: stdout/stderr: return f(data, current_buffer, *args, **kwargs) │
11:43:40 weechat | python: stdout/stderr: File "/home/ben/.weechat/python/autoload/wee_slack.py", line 2582, in command_talk
$ ldd /run/current-system/sw/bin/doomrl /srv/doomrl/doomrl
linux-vdso.so.1 (0x00007fffa8f97000)
libm.so.6 => /nix/store/jm1n87rp8vr90j9ahcrfzr57nc2r8vgf-glibc-2.24/lib/libm.so.6 (0x00007f5456606000)
libdl.so.2 => /nix/store/jm1n87rp8vr90j9ahcrfzr57nc2r8vgf-glibc-2.24/lib/libdl.so.2 (0x00007f5456402000)
libz.so.1 => not found
libpthread.so.0 => /nix/store/jm1n87rp8vr90j9ahcrfzr57nc2r8vgf-glibc-2.24/lib/libpthread.so.0 (0x00007f54561e5000)
libX11.so.6 => not found
libc.so.6 => /nix/store/jm1n87rp8vr90j9ahcrfzr57nc2r8vgf-glibc-2.24/lib/libc.so.6 (0x00007f5455e47000)
/nix/store/jm1n87rp8vr90j9ahcrfzr57nc2r8vgf-glibc-2.24/lib/ld-linux-x86-64.so.2 (0x00007f545690b000)
{
"spec_version": "v1.2",
"identifier": "FirespitterCore",
"name": "Firespitter Core",
"abstract": "Core Firespitter.dll. Install `Firespitter` for the whole shebang",
"author": "Roverdude",
"license": "restricted",
"resources": {
"homepage": "http://snjo.github.io/",
"repository": "https://github.com/snjo/Firespitter"
function love.conf(t)
t.name = "Example project -- tests"
t.author = "ToxicFrog"
t.identity = "example.test"
t.version = "0.9.0" -- replace with target love2d version
t.console = true -- enable console on windows for debug logging
-- disable all module loading
-- if some of your tests actually call love2d API functions, either enable them or provide stubs
$ lein run -- --help
Registering action hot-reload with 1 triggers.
-s, --server HOST irc.freenode.net IRC server to connect to
-p, --port PORT 6667 Port number of IRC server
-n, --nick NICKS ["SharkyMcJaws" "sharky"] Comma separated list of names to recognize; first will be used as IRC nick
-j, --join CHANNEL #gbchat IRC channel to join
-a, --admin USER,... #{"ToxicFrog"} Names of users to recognize as administrators
-P, --persistence FILE sharky.edn Save bot state in this file
-m, --modules Comma-separated list of modules to load
-h, --help Display help
@ToxicFrog
ToxicFrog / EPL-ISRU.cfg
Last active January 3, 2016 23:53
MM patches for EPL
@PART[ISRU]:FINAL
{
MODULE
{
name = ModuleResourceConverter
ConverterName = RocketParts
StartActionName = Start ISRU [Rocket Parts]
StopActionName = Stop ISRU [Rocket Parts]
AutoShutdown = false
GeneratesHeat = false