Skip to content

Instantly share code, notes, and snippets.

@wizardofzos
wizardofzos / gist:780989512c5c3cfa16ea
Created September 24, 2014 19:13
My Keybase proof
### Keybase proof
I hereby claim:
* I am wizardofzos on github.
* I am wizardofzos (https://keybase.io/wizardofzos) on keybase.
* I have a public key whose fingerprint is C554 CB1F 7AEA 6121 6BA8 24FA 6BC1 A764 8DC2 E833
To claim this, I am signing this object:
@wizardofzos
wizardofzos / this.txt
Created December 1, 2017 20:19
So yeah, some mixups
Aced Preventive Spryly
Dace Preventive Spryly
Parceled Seventy Privy
Replaced Seventy Privy
Scareder Velvety Nippy
Deviancy Perverts Yelp
Deviancy Pervert Yelps
Deviancy Vesper Pertly
Placed Perversity Envy
Clapped Severity Nervy
@wizardofzos
wizardofzos / gitinstaller.sh
Last active November 15, 2021 17:16
Install GIT on z/OS
#! /bin/sh
if [[ $* != *--notstupid* ]]; then
clear
echo " ffffffffffffffff "
echo " f::::::::::::::::f "
echo " f::::::::::::::::::f "
echo " f::::::fffffff:::::f "
echo " zzzzzzzzzzzzzzzzz ooooooooooo mmmmmmm mmmmmmm f:::::f ffffffggggggggg ggggg "
@wizardofzos
wizardofzos / git-sh-setup.txt
Created March 5, 2018 19:29
Working version of git-sh-setup (ASCII/EBCDIC stuff)
# This shell scriplet is meant to be included by other shell scripts
# to set up some variables pointing at the normal git directories and
# a few helper shell functions.
# Having this variable in your environment would break scripts because
# you would cause "cd" to be taken to unexpected places. If you
# like CDPATH, define it for your interactive shell sessions without
# exporting it.
# But we protect ourselves from such a user mistake nevertheless.
unset CDPATH
pragma solidity ^0.4.18;
// send 0.001 ETH to 0x9aabaa0a378fce98c05d17f130223df7475eec23 (Contract interface at the URL)
// Get a 10% chance of winning 0.008 (the house get 0.002 fer it's trouble...) after the 10th player deposits
// then it starts over again...
// Can use the ABI(interface) at https://etherscan.io/address/0x9aabaa0a378fce98c05d17f130223df7475eec23
contract Quicketh {
// Bet 0.001 ETH.
// Get a 10% change to win 0.008
@wizardofzos
wizardofzos / node.service
Created May 19, 2018 19:47
Systemd service for a Qryptonite node
[Unit]
Description=Qryptonite Node
[Service]
User=root
Group=root
ExecStart=/root/qryptonited --data-dir /root --no-console --mining-threads 1 --start-mining aq3... > /root/miner-log.log 2>&1 &
Restart=always
RestartSec=3
@wizardofzos
wizardofzos / export-import-docker-image
Created June 1, 2018 12:57 — forked from K0NRAD/export-import-docker-image
Import / Export Docker Image
Export:
docker commit <CONTAINER ID> <IMAGE-NAME>
e.g. (Oracle XE image)
docker commit d1db2b oracle-xe
docker save IMAGE-NAME > <IMAGE-NAME>.tar
e.g.
@wizardofzos
wizardofzos / export-import-docker-image
Created June 1, 2018 12:57 — forked from K0NRAD/export-import-docker-image
Import / Export Docker Image
Export:
docker commit <CONTAINER ID> <IMAGE-NAME>
e.g. (Oracle XE image)
docker commit d1db2b oracle-xe
docker save IMAGE-NAME > <IMAGE-NAME>.tar
e.g.
@wizardofzos
wizardofzos / breakit.sh
Created July 15, 2019 19:25
Shell Script that breaks my ZPDT
#!/bin/bash
mkdir -p broken
c=1
while [ $c -le 4000 ]
do
f=$RANDOM
touch broken/$f
setfacl -m "u:IBMUSER:rwx" broken/$f
clear
@wizardofzos
wizardofzos / convert.sh
Created November 11, 2019 21:12
zRCU - zigi Repository Conversion Utility
#!/bin/sh
#==============================================================================
#title :convert.sh
#description :This script will convert a git repository with z/OS datasets
# :into a zigi managable repository.
#author :Henri Kuiper
#date :2019/11/11
#version :1.0
#usage :sh /path/to/convert.sh [run inside your repo folder]
#notes :Make sure you know your dataset characteristics.