Skip to content

Instantly share code, notes, and snippets.

View wyan's full-sized avatar
👾
mingling with retro stuff, yearning for the VT52, still looking at the fnords

Alice Wyan wyan

👾
mingling with retro stuff, yearning for the VT52, still looking at the fnords
  • CIFP Camino de la Miranda
View GitHub Profile
@tuklusan
tuklusan / hecnet-nodes-for-pydecnet.sh
Last active January 21, 2024 21:43
hecnet-nodes-for-pydecnet.sh: Grabs HECnet node database and converts to format expected by Paul Koning's DECnet/Python
#!/bin/bash
# --
# hecnet-nodes-for-pydecnet.sh
# grabs HECnet node list from MIM and produces node names configuration
# file for DECnet/Python
#
# Author: Supratim Sanyal <supratim at riseup dot net>
# --
@andrebreves
andrebreves / open-keg
Last active March 26, 2022 15:20
Make homebrew keg-only formulae available inside a interactive subshell, by setting some PATH variables
#!/usr/bin/env bash
set -Eeuo pipefail
# Formatting
if [[ -t 1 && $(tput colors) -ge 8 ]]; then
_rst_="$(tput sgr0)" ; _bol_="$(tput bold)" ; _und_="$(tput smul)"
_red_="$(tput setaf 1)"; _grn_="$(tput setaf 2)"; _ylw_="$(tput setaf 3)"; _blu_="$(tput setaf 4)"
else
_rst_=""; _bol_=""; _und_=""
_red_=""; _grn_=""; _ylw_=""; _blu_=""

Simple (LOL) CICS DOGE "Good Morning" screen (i.e. overly complicated hello world)

CICS is like this mystery wrapped in an enigma wrapped in a riddle. Sure you've heard about it, your company might even rely on it day to day for some really important transactions. But if you wanted to quickly learn how to write and deploy a CICS transaction (or application) its basically impossible. Sure you could grab the Murach book, which is great, but its not a 101 level tutorial, they don't even comment about how to use CEDA to install your cics program and mention compiling COBOL and assembling maps in passing.

Throughout this writeup I'm going to refer to CICS like a web server. Yes, i know its the proto-webserver. I don't care, its the roaring 20's. With that in mind, some quick terminology:

  • Transaction: 4 characters long, think of this like a URL. We'll use DOGE as our transaction.
  • Region: This is like "servers". Imagine you had 3 tomcat servers running on different ports, same deal here, except we call th
#!/usr/bin/env python3
from datetime import datetime
import sys
import re
if len(sys.argv) < 6:
print("\nTK4- ANSI art to HLASM Tool\n\nUsage:")
usage = '''{} ansi_file tk4_user source_file_member cursor_x cursor_y > JCL_FILE\n
@racingmars
racingmars / netsol-update.jcl
Last active October 1, 2020 12:03
Create a customized network solicitor screen for my MVS 3.8J system
//MWILSONU JOB CLASS=A,MSGCLASS=X,MSGLEVEL=(1,1)
//*
//* CREATE A CUSTOMIZED NETWORK SOLICITOR SCREEN FOR MY MVS3.8J
//* SYSTEM, BASED ON THE EXAMPLE PROVIDED BY TOMMY SPRINKLE AT
//* http://tommysprinkle.com/mvs/netsol/index.htm
//*
//* RESTORE ORIGINAL NETSOL SO WE CAN MODIFY A CLEAN COPY.
//* THIS, OF COURSE, ASSUMES YOU HAVE PREVIOUSLY BACKED UP THE ORIGINAL
//* SYS1.MACLIB(NETSOL) TO SYS1.MACLIB(NETSOL00). DO THAT BEFORE EVER
//* RUNNING THIS JOB FOR THE FIRST TIME.
@zOrg1331
zOrg1331 / wireguard_layer2.md
Last active April 28, 2025 01:11
wireguard, wireguard layer 2, wireguard over TCP

Intro

This note describes how to connect two networks/devices/VMs over public network using Wireguard with Layer 2 support (ARP, IPv6 link-local, etc).

This can also be achieved using SSH and its "tap" tunnel, however, it does not provide the same level of latency and bandwidth as full-blown VPN such as Wireguard.

In addition, this note describes how to tunnel Wireguard over TCP connection. This may be of use if you encounter firewall in-between so, for instance, you can use TCP port 443 only.

Objective

@fisher
fisher / OpenVMS simh 1.md
Created July 13, 2021 07:49 — forked from DanielNechtan/OpenVMS simh 1.md
OpenVMS simh 1

OpenVMS is an operating system originally developed by DEC (Digital Equipment Corporation), a company acquired by Compaq which was then acquired by HP for the VAX platform.

Although development started in the mid-1970s into the 1980s, OpenVMS is still very much alive with up-to version 7.3 available for VAX, and continued development in 8.x for DEC Alpha and now Intel Itanium architectures. Even Oracle, who acquired DEC's Rdb RDBMS have stated that they will continue to support and develop Rdb, creating a lesser gap between it and Oracle Database system

@tuklusan
tuklusan / hecnet-nodes-list-for-cisco.sh
Created October 29, 2021 00:07
Load HECnet Node List DECnet Node Database into CISCO Router - CISCO IOS used for DECnet over GRE Tunneling: See https://supratim-sanyal.blogspot.com/2017/09/decnet-phase-iv-copy-node-database-from.html
#!/bin/bash
#
# CISCO needs commands of the form
# DECNET HOST PUFF 1.22
#
OUTFILE="nodenames-cisco-ios"
TMPFILE="/tmp/hecnet-cisco-temp.tmp"
curl -sNm 60 http://mim.update.uu.se/hecnod | dos2unix | egrep "^[0-9]" | cut -f 1-2 -d " " | sed -re 's/^/ /' | sed -re 's/[(]/DECNET HOST /' | sed -re 's/[)]//' > ${TMPFILE}
#############################################################
# #
# Configuration file for Dire Wolf #
# #
# Macintosh version #
# #
#############################################################
#
# Consult the User Guide for more details on configuration options.
#
@sanskritkm
sanskritkm / VMware Fusion Player 12 license key.txt
Last active January 25, 2024 02:29
VMware Fusion Player 12 license key
If you'r using MAC Intel CPU you want to use VMware to virtual your desired OS such Windows or Ubuntu on the MAC OS you need to download VMware Fusion Player first then it has two version Pro and Player, the Player version is free for personal use but you need to create VM account to download and licence key.
You can create account to download yourself here:
https://customerconnect.vmware.com/group/vmware/evalcenter?p=fusion-player-personal
If you don't want to create account to get license, you can try below original license key for VMware Fusion Player:
COMPONENT:
VMware Fusion Player – Personal Use