curl -O https://www.openssl.org/source/openssl-1.1.0f.tar.gz
tar xf openssl-1.1.0f.tar.gz
cd openssl-1.1.0f
# solve glob problem
sed -i "s#'File::Glob' => qw/glob/;#'File::Glob' => qw/bsd_glob/;#g" test/recipes/90-test_fuzz.t
sed -i "s#'File::Glob' => qw/glob/;#'File::Glob' => qw/bsd_glob/;#g" test/recipes/80-test_ssl_new.t
sed -i "s#'File::Glob' => qw/glob/;#'File::Glob' => qw/bsd_glob/;#g" test/recipes/40-test_rehash.t
sed -i "s#'File::Glob' => qw/glob/;#'File::Glob' => qw/bsd_glob/;#g" test/build.info
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
package main | |
import ( | |
"log" | |
"github.com/tdewolff/canvas" | |
"github.com/tdewolff/canvas/renderers" | |
) | |
func main() { |
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
#!/bin/bash | |
# generates csv for all given asset files | |
ipath="$1" | |
back="$2" | |
file="out" | |
out="" | |
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
<!-- IMPORTANT: before you try this, change in system: | |
/etc/pulse/daemon.conf: | |
default-sample-rate = 44100 | |
alternate-sample-rate = 48000 | |
/etc/libvirt/qemu.conf: | |
user = "ernie" | |
Then restart pulseaudio & libvirt or reboot. |
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
table inet nat { | |
chain postrouting { | |
type nat hook postrouting priority 0; policy accept; | |
masquerade | |
} | |
} |
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
table inet filter { | |
chain input { | |
type filter hook input priority 0; | |
iifname $LXC_BR accept \ | |
comment "Accept any LXC (bridge interface) traffic" | |
# common services on host | |
tcp dport { 22, 443 } accept; | |
} |
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
############################################################################### | |
# The MIT License | |
# | |
# Copyright 2012-2014 Jakub Jirutka <[email protected]>. | |
# | |
# Adjusted: 2019 Leszek Cimała | |
# It is best to use Jakubs template, this is for my needs. | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal |
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
execve("/usr/local/bin/wlstream", ["wlstream", "28", "vaapi", "/dev/dri/renderD128", "libx264", "nv12", "12", "output.mkv"], 0x7ffeebf64d48 /* 51 vars */) = 0 | |
brk(NULL) = 0x72e000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
openat(AT_FDCWD, "/usr/local/lib64/tls/x86_64/x86_64/libwayland-client.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/usr/local/lib64/tls/x86_64/x86_64", 0x7ffcbe4888e0) = -1 ENOENT (No such file or directory) | |
openat(AT_FDCWD, "/usr/local/lib64/tls/x86_64/libwayland-client.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/usr/local/lib64/tls/x86_64", 0x7ffcbe4888e0) = -1 ENOENT (No such file or directory) | |
openat(AT_FDCWD, "/usr/local/lib64/tls/x86_64/libwayland-client.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/usr/local/lib64/tls/x86_64", 0x7ffcbe4888e0) = -1 ENOENT (No such file or directory) | |
openat(AT_FDCWD, "/usr/local/lib64/tls/libwayland-c |
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
#!/bin/bash | |
# Sway WM screen + audio recorder | |
# original author: Aaron D. Fields | |
# blog post: https://blog.spirotot.com/2017/08/21/a-dirty-hack-to-enable-acceptable-sway-wm-screen-recording/ | |
# currently error 503 :-( | |
# | |
# Updated version: ernierasta | |
# Repo: https://gist.github.com/ernierasta | |
# | |
# Changelog: |
https://github.com/Grokmoo/sulis
Shell oneliners to get usefull info about current engine scripting abilities.
Show currently implemented AI hooks:
grep -oP 'ai::FuncKind::\K\w+' sulis_state/src/entity_state.rs
NewerOlder