Skip to content

Instantly share code, notes, and snippets.

@vinsentru
vinsentru / gist:0cc170d84187048438186cbdbf1c8aaa
Last active August 10, 2024 19:55
Hercules SDL aka 4.x aka Hyperion networking on Linux with OS/390 or z/Os as a guest
Ok, listen up folks, the amount of old, outdated, wrong and misleading crap on this topic in the interiets if thru the roof.
The important parts aka what and how, often left out of scope.
So, to fix it and also to create a note for myself, this GIST.
Here we're talking about just making the networking work, not some fancy bigblue stuff.
Static routing, private subnet.
So, what:
- Hercules SDL compiled from sources:

Keybase proof

I hereby claim:

  • I am vinsentru on github.
  • I am vinsentru (https://keybase.io/vinsentru) on keybase.
  • I have a public key ASCSImMytLkI2KBi_M5sP6W8L3fesE9rYOWH-DkC1_sm-Qo

To claim this, I am signing this object:

@vinsentru
vinsentru / split_batch_flack.sh
Created April 2, 2018 18:53
Split a deep folders structure (like discography) containing *.cue and *.flack
find . -type f -iname "*.cue" | while read dir; do dirname=$(dirname "$dir"); echo $dirname; pushd "$dirname"; split2flac -cue *.cue *.flac; popd; done
-module(sexy_primes).
% Simple benchmark based on
% http://stackoverflow.com/questions/11641098/interpreting-a-benchmark-in-c-clojure-python-ruby-scala-and-others
-compile(export_all).
isprime(X) ->
lists:all(fun(A) -> (X rem A) > 0 end,lists:seq(2,X-1)).