This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
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 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@PART[ISRU]:FINAL | |
{ | |
MODULE | |
{ | |
name = ModuleResourceConverter | |
ConverterName = RocketParts | |
StartActionName = Start ISRU [Rocket Parts] | |
StopActionName = Stop ISRU [Rocket Parts] | |
AutoShutdown = false | |
GeneratesHeat = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function staff.callFunctionForEachEmployee(functionName, ...) | |
if employee_instances then | |
for _,employee in pairs(employee_instances) do | |
employee[functionName](employee, ...) | |
end | |
end | |
end | |
-- or, for a more general approach | |
function callMethodOnEach(objects, method, ...) |
NewerOlder