OK, turing.

<- leave blank

Mon Apr 22 10:24:14 EDT 2019

Okay, ALAN TURING!

Sun Apr 21 16:35:02 EDT 2019
Hunter2

Sun Apr 21 14:27:37 EDT 2019
#!/bin/sh -e
#
# Populate /etc/hosts from /etc/ndb
#

/sh/ndb/query ip | while read ip; do
	printf '%-40s' "$ip"
	/sh/ndb/query ip "$ip" sys | while read x; do printf ' %s' "$x"; done
	/sh/ndb/query ip "$ip" dom | while read x; do printf ' %s' "$x"; done
	printf '\n'
done


Sun Apr 21 14:24:34 EDT 2019
#!/bin/sh -e
#
# Perform ndb queries over /etc/ndb
#

find /etc/ndb -type f -exec awk -v qattr="${1:?}" -v qval="$2" -v rattr="$3" '

function attr(str) {
	match(str, "=.*")
	return substr(str, 1, RSTART - 1)
}

function val(str) {
	match(str, "[^=]*=")
	return substr(str, RLENGTH + 1)
}

function lookup(record, len, qattr, qval) {
	for (i = 1; i <= len; i++) {
		if (attr(record[i]) == qattr && val(record[i]) == qval)
			return 1
	}
	return 0
}

function query(record, len, qattr, qval, rattr) {
	if (qval == "") {
		for (i = 1; i <= len; i++)
			if (attr(record[i]) == qattr)
				print val(record[i])
		return
	}

	resp = lookup(record, len, qattr, qval)

	if (resp == 0) {
		return
	}
	if (rattr == "") {
		print record[1]
		for (i = 2; i <= len; i++)
			print "\t" record[i]
		return substr(ret, 2)
	}
	for (i = 1; i <= len; i++) {
		if (attr(record[i]) == rattr)
			print val(record[i])
	}
}

{
	sub("#.*", "")
}

/^[^\t ]/ {
	query(record, len, qattr, qval, rattr)
	delete record
	len = 0
}

{
	for (nf = 1; nf <= NF; nf++) {
		record[++len] = $nf
	}
}

END {
	query(record, len, qattr, qval, rattr)
}

' {} +


Sun Apr 21 02:02:40 EDT 2019
$ cat /proc/mounts | grep cgroup2
cgroup /sys/fs/cgroup/unified cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0
0

Sat Apr 20 23:26:31 EDT 2019
package com.company;

import java.util.Scanner;

import static java.lang.System.in;

public class Main {

	public static void main(String[] args) {
		// write your code here
		int largest=INTEGER.MIN_VALUE, smallest=Integer.MAX_VALUE;

		Scanner keyboard = new Scanner(System.in);
		while(true){
			System.out.println("Enter a number");
			int number = keyboard.nextInt();
			if (number == -99)
				break;
			if (number > largest)
				largest = number;
			if (number < smallest)
				smallest = number;

		}
		if(largest !=-99)
			System.out.printf("Smallest number is %d and largest
			number is %d", smallest, largest);
	}
}

Sat Apr 20 23:24:21 EDT 2019
package com.company;

import java.util.Scanner;

import static java.lang.System.in;

public class Main {

	public static void main(String[] args) {
		// write your code here
		int number=0;
		int largest=0 , smallest=0;


		Scanner keyboard = new Scanner(System.in);
		System.out.println("Enter a number");
		number = keyboard.nextInt();
		largest = number;
		smallest = number;
		do {
			System.out.println("Enter a number");
			number = keyboard.nextInt();
			if (number != -99) {
				if (number > largest) largest = number;
				if (number < smallest) smallest = number;
			}

		} while(number != -99);
		if(largest !=-99) {
			System.out.printf("Smallest number is %d and largest
			number is %d", smallest, largest);
		}
	}
}

Sat Apr 20 19:29:23 EDT 2019
Hello, I want to work in your company on a voluntary basis, can you offer me
anything?
a little about me: https://about.me/katynorberg/

Sat Apr 20 18:40:26 EDT 2019
no

Sat Apr 20 13:14:46 EDT 2019
term% con -C /dev/eiaU12
�

U-Boot 1.1.4 (Oct 1 2011 - 12:21:35) Cloud Engines 1.1.2 (3.4.27) PHYADDR=0

U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006918B4

Soc: 88F6192 A1 (DDR2)
CPU running @ 800Mhz L2 running @ 400Mhz
SysClock = 200Mhz , TClock = 166Mhz

DRAM CAS Latency = 3 tRP = 3 tRAS = 8 tRCD=3
DRAM CS[0] base 0x00000000 size 128MB
DRAM Total size 128MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB
Flash: 0 kB

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: PPV4A1

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net: egiga0 [PRIME]
Hit any key to stop autoboot: 1
 0
CE>> dhcp 0x800000
dhcp 0x800000
BOOTP broadcast 1
DHCP client bound to address 192.168.9.93
Using egiga0 device
TFTP from server 192.168.9.65; our IP address is 192.168.9.93
Filename '/arm/9plug.OLD'.
Load address: 0x800000
Loading: #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #########
done
Bytes transferred = 6699168 (6638a0 hex)
CE>> tftp 0x1000 /cfg/pxe/00253105e367
tftp 0x1000 /cfg/pxe/00253105e367
Using egiga0 device
TFTP from server 192.168.9.65; our IP address is 192.168.9.93
Filename '/cfg/pxe/00253105e367'.
Load address: 0x1000
Loading: #
done
Bytes transferred = 133 (85 hex)
CE>> go 0x800000
go 0x800000
## Starting application at 0x00800000 ...

Plan 9 from Bell Labs

l1 D: 16384 bytes, 4 ways 128 sets 32 bytes/line; write-through only
l1 I: 16384 bytes, 4 ways 128 sets 32 bytes/line; write-back type `reg 7 ops,
format C' (016) possible
l2 cache: 256K or 512K: 4 ways, 32-byte lines, write-back, sdram only
cpu0: 1200MHz ARM Marvell 88F6281 A1; arm926ej-s arch v5te rev 2.1 part 131
#l0: 88e1116: 1000Mbps port 0xf1072000 irq 11: 00253105e367
#l1: ether1116: init mii failure
120Mspurious irqbridge interrupt: 00000010
 memory: 18M kernel data, 102M user, 442M swap
panic: boot process died: bad arg in system call
ktrace /kernel/path 0x60806c7c 0x60e82764 0x6089cffc # pc, sp, link
0x60e82710=0x60806c78 0x60e82758=0x6083758c 0x60e8275c=0x60806c78
0x60e82760=0x60837a90
0x60e82768=0x6087374c 0x60e827b4=0x60891110 0x60e827c0=0x60890ecc
0x60e827d8=0x60891110
0x60e827e0=0x60890ffc 0x60e827e4=0x60890ecc 0x60e827ec=0x60890ecc
0x60e82818=0x60892e00
0x60e82830=0x608932a4 0x60e82850=0x60867380 0x60e8285c=0x60869f70
0x60e82864=0x60870b50
0x60e82870=0x608735a8 0x60e82888=0x6087f3d0 0x60e82894=0x6086ed7c
0x60e8289c=0x6086edf0
0x60e828bc=0x6087f370 0x60e8292c=0x608014ec 0x60e82934=0x60800cfc
0x60e82954=0x60807898
0x60e82960=0x608015b0 0x60e8296c=0x60800b30 0x60e8297c=0x60892e00
0x60e8298c=0x6086ddb0
0x60e82990=0x60872114 0x60e82994=0x608720a8 0x60e829b4=0x60872114
cpu0: exiting
reset!


Fri Apr 19 22:07:28 EDT 2019
	packsz = 0;
	while(1){
		n = readn(fd, buf, sizeof buf);
		if(n == 0)
			break;
		if(n == -1 || write(pfd, buf, n) != n)
			sysfatal("could not fetch packfile: %r");
		packsz += n;
	}

prev | next