4.3BSD Quasijarus0c on an emulated VAX

  source: http://plover.net/~agarvin/4.3bsd-on-simh.html GUIDES: 4.3BSD on SIMH NetBSD 1.3.2 (vax) on SIMH My starting place was Gunkies Wiki. It’s good. I wanted to change some things, add more explanations, and throw in networking: This should work on a variety of Linux distributions. I tried it on CentOS 6 and Debian 8 and 9. I’ve done it onSeguir leyendo

Bitacora install arch

Set up WIFI ifconfig wifi-menu iwconfig ip link set wlp0s20u3 up iwlist wlp0s20u3 scan ifconfig -a passwd root systemctl start sshd   To modify the layout, append a corresponding file name to loadkeys(1), omitting path and file extension. For example, to set a Latin keyboard layout: # loadkeys la-latin1 WIFI ENABLED 1ST: https://wiki.archlinux.org/index.php/WPA_supplicant 2d anSeguir leyendo

pdp 11 simh raspberry

apt-get install simh unzip uv7swre.zip $ simh-pdp11 PDP-11 simulator V3.8-1 sim> set cpu 11/45 Disabling XQ sim> set tto 7b sim> attach rl unix_v7_rl.dsk sim> boot rl @boot New Boot, known devices are hp ht rk rl rp tm vt : rl(0,0)rl2unix mem = 177856 # mkdir /usr/dmr # chown dmr /usr/dmr # chgrp 3Seguir leyendo

How To Set Up a Private Git Server /srv/shiny-server

CLIENT: Create the SSH Key Pair ssh-keygen -C “youremail@mailprovider.com” su – useradd git su git mkdir ~/.ssh && touch ~/.ssh/authorized_keys chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys cat .ssh/id_rsa.pub | ssh user@ “cat >> ~/.ssh/authorized_keys” [SERVER] cd /srv/shiny-server git init echo “# shiny-server” >> README.md git add –all git commit -m “first commit”

Python script to convert DBF database file to CSV

First download dbfpy: http://sourceforge.net/projects/dbfpy/files/latest/download?source=files Then install: sudo python setup.py install To convert DBF file to CSV: ./dbf2csv database.dbf #!/usr/bin/python import csv from dbfpy import dbf import os import sys filename = sys.argv[1] if filename.endswith(‘.dbf’): print “Converting %s to csv” % filename csv_fn = filename[:-4]+ “.csv” with open(csv_fn,’wb’) as csvfile: in_db = dbf.Dbf(filename) out_csv = csv.writer(csvfile)Seguir leyendo

quick create root CA and self signed for chrome 58+

create RootCA first cat createRootCa.sh #!/usr/bin/env bash mkdir /root/ca/ openssl genrsa -des3 -out /root/ca/rootCA.key 2048 openssl req -x509 -new -nodes -key /root/ca/rootCA.key -sha256 -days 7300 -out /root/ca/rootCA.pem Create server.csr.cnf [req] default_bits = 2048 prompt = no default_md = sha256 distinguished_name = req_distinguished_name [ req_distinguished_name ] # See <https://en.wikipedia.org/wiki/Certificate_signing_request>. countryName = MX stateOrProvinceName = MX localityNameSeguir leyendo