Skip to content

Instantly share code, notes, and snippets.

View AdrianKoshka's full-sized avatar
🦉
Focusing

Adrian Lucrèce Céleste AdrianKoshka

🦉
Focusing
View GitHub Profile
PUSERIAL 000069 # CPU serial number
CPUMODEL 2086 # CPU model number
MAINSIZE 1024 # Main storage size in megabytes
XPNDSIZE 0 # Expanded storage size in megabytes
CNSLPORT 3270 # TCP port number to which consoles connect
NUMCPU 4 # Number of CPUs
LOADPARM 0120.... # IPL parameter
OSTAILOR LINUX # OS tailoring
PANRATE SLOW # Panel refresh rate (SLOW, FAST)
ARCHMODE ESAME # Architecture mode ESA/390 or ESAME
@AdrianKoshka
AdrianKoshka / lscpu.txt
Last active March 23, 2016 00:20
Dell Latitude CPi A366XT specs
Architecture: i686
CPU op-mode(s): 32-bit
Byte Order: Little Endian
CPU(s): 1
On-line CPU(s) list: 0
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 1
Vendor ID: GenuineIntel
CPU family: 6
@AdrianKoshka
AdrianKoshka / gittape.sh
Created April 23, 2016 23:34
gittape, for backing up my git stuff to a DLT tape.
#!/usr/bin/env bash
# A simple shell script to backup dirs to tape drive.
# -------------------------------------------------------------------------
# Copyright (c) 2005 nixCraft project
# Copyright (c) 2016 Theodore Seán Tubbs
# This script is licensed under GNU GPL version 2.0 or above
# -------------------------------------------------------------------------
# This script is part of nixCraft shell script collection (NSSC)
# Visit http://bash.cyberciti.biz/ for more information.
# -------------------------------------------------------------------------
@AdrianKoshka
AdrianKoshka / everytape.sh
Last active April 23, 2016 23:39
Tape Drive Backup Script
#!/usr/bin/env bash
# A simple shell script to backup dirs to tape drive.
# -------------------------------------------------------------------------
# Copyright (c) 2005 nixCraft project
# Copyright (c) 2016 Theodore Seán Tubbs
# This script is licensed under GNU GPL version 2.0 or above
# -------------------------------------------------------------------------
# This script is part of nixCraft shell script collection (NSSC)
# Visit http://bash.cyberciti.biz/ for more information.
# -------------------------------------------------------------------------
@AdrianKoshka
AdrianKoshka / dltvsdlt.md
Last active April 24, 2016 00:10
DLT vs sDLT

Capacity

  • DLT:
    • 40 GB uncompressed
    • 80 GB compressed (assuming perfect 2:1 ratio)
  • sDLT
    • 110 GB uncompressed
    • 320 GB compressed (assuming perfect 2:1 ratio)

Speed

@AdrianKoshka
AdrianKoshka / test.xml
Created July 3, 2016 19:37
working KVM config for OpenIndiana
<domain type='kvm'>
<name>test</name>
<uuid>92e02cc2-00f2-44ea-ad6b-9bbc0aecf7ce</uuid>
<memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<vcpu placement='static'>1</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<os>
@AdrianKoshka
AdrianKoshka / manifest.md
Created July 11, 2016 18:49
clearlinux manifests
adrian@clr ~ $ sudo swupd search *
Attempting to download version string to memory
Searching for '*'

Signature check succeeded.
Downloading Clear Linux manifests
   22.73 MB total...

 'R-basic' manifest...
@AdrianKoshka
AdrianKoshka / dhcpd.conf
Created July 30, 2016 15:50 — forked from robinsmidsrod/dhcpd.conf
Trying to chainload iPXE with full feature set from a lesser featured one, whilst still being able to boot non-supported cards with UNDI
ddns-update-style none;
deny bootp; #default
authoritative;
include "/etc/dhcp/ipxe-option-space.conf";
# GREEN
subnet 10.1.1.0 netmask 255.255.255.0 {
range 10.1.1.100 10.1.1.199;
option subnet-mask 255.255.255.0;
@AdrianKoshka
AdrianKoshka / fbterm-hacks.md
Created August 2, 2016 01:53 — forked from zellio/fbterm-hacks.md
fbterm, installation and configuration hacks

fbterm setup and config hacks

Installation and setup

Install fbterm via your favorite package manager

pacman -S fbterm
@AdrianKoshka
AdrianKoshka / pomfload
Last active August 28, 2016 21:42 — forked from KittyKatt/pomf
#!/usr/bin/env bash
# pomf clone uploader
# requires: curl
# formerly known as 1339load
#1339.cf works, so does pomf.cat, if you test others and they work, tell me.
dest_url='https://pomf.cat/upload.php'
return_url='https://a.pomf.cat'
if [[ -n "${1}" ]]; then