This file contains hidden or 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
{ stdenv | |
, lib | |
, gawk | |
, fetchurl | |
, gnutar | |
, autoPatchelfHook | |
, glibc | |
, gtk2 | |
, xorg | |
, libgudev |
This file contains hidden or 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
#!/bin/rc | |
hget $1 | grep '^[ ]*(current:|trackinfo:|.*image_src)' | sed 's/","/\n/g;s/":"/ /g;s/":{"/\n/g;s/"},"/\n/g;s/,"/\n/g;s/":/ /g' | awk -F ' ' ' | |
/image_src/ { | |
split($0, image_src, /[ ">]+/) | |
image = image_src[6] | |
} | |
/^artist / { | |
artist = $2 | |
} |
This file contains hidden or 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
#!/bin/sh | |
echo '# COVID-19 dead/sick ratio per country' | |
echo '<!-- date '$(date --rfc-3339=seconds | tr ' ' T)' -->' | |
echo | |
echo '```' | |
curl -s https://c19.se/global | html2text -nobs | awk -F ' ' -v 'OFS= ' ' | |
/^\*\*\*\* / { | |
if(lb++) |
This file contains hidden or 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
editor = sam | |
browser = mothra | |
type is text | |
data matches '[a-zA-Z¡-0-9_\-.,/]+' | |
data matches '([a-zA-Z¡-0-9_\-.,/]+)\.orca' | |
arg isfile $0 | |
data set $file | |
plumb to orca | |
plumb start window games/orca $file |
This file contains hidden or 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
diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt | |
index 399ecc770..b702bf7e0 100644 | |
--- a/build/CMakeLists.txt | |
+++ b/build/CMakeLists.txt | |
@@ -135,7 +135,7 @@ elseif(WIN32 OR MSYS) | |
set (FAUST_DEFINITIONS ${FAUST_DEFINITIONS} -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES) | |
set (FAUST_LIBS ${FAUST_LIBS} Ws2_32) #.lib) | |
elseif(NOT ANDROID) | |
- set (FAUST_LIBS -lpthread ${FAUST_LIBS}) | |
+ set (FAUST_LIBS -lpthread -L/usr/local/lib -lexecinfo ${FAUST_LIBS}) |
This file contains hidden or 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
command 1979 1996 2015 2017 OpenBSD 9front | |
ls 11 42 58 58 28 13 | |
rm 3 7 11 12 7 2 | |
mkdir 0 4 6 7 2 2 | |
mv 0 9 13 14 3 0 | |
cp 0 18 30 32 9 3 | |
cat 1 12 12 12 7 0 | |
pwd 0 2 4 4 2 0 | |
chmod 0 6 9 9 5 0 | |
echo 1 4 5 5 1 1 |
This file contains hidden or 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
# nix-build -E 'with import <nixpkgs> {}; callPackage ./orca.nix {}' | |
{ stdenv, ncurses, portmidi }: | |
stdenv.mkDerivation rec { | |
name = "orca"; | |
src = ./.; | |
buildInputs = [ ncurses portmidi ]; | |
enableParallelBuilding = true; |