Skip to content

Instantly share code, notes, and snippets.

with
posix.Permissions;
package lace.Environ
--
-- A singleton which models an operating system environment.
--
is
@charlie5
charlie5 / keybase.md
Created May 4, 2016 22:48
Keybase.io proof.

Keybase proof

I hereby claim:

  • I am charlie5 on github.
  • I am charlie5 (https://keybase.io/charlie5) on keybase.
  • I have a public key ASBdhmw7OIB6conTfwgZsJLsmikdAoqeAVJ_B6CYthT2MAo

To claim this, I am signing this object:

declare
First : Integer := your_String'First;
Last : Integer;
begin
loop
Last := Index (your_String, " ", from => First);
if Last = 0 -- Space not found
then
put_Line ("Final Token: " & your_String (First, your_String'Last));
$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@igep00x0:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Linux version 3.6.6-00027-g801d952 (eballetbo@jupiter) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #1 SMP Mon Nov 12 09:17:04 CET 2012
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: IGEP OMAP3 module
[ 0.000000] Reserving 41943040 bytes SDRAM for VRAM
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 98048
[ 0.000000] free_area_init_node: node 0, pgdat c07ad900, node_mem_map c0d0c000
IGEP-X-Loader 2.4.0-2 (Jul 2 2012 - 16:57:34)
XLoader: Processor DM3730 - ES1.2
XLoader: Memory Manufacturer: Hynix (ad)
XLoader: Configuration file igep.ini Loaded from MMC
XLoader: try load kernel from MMC
XLoader: kernel zImage loaded from MMC at 0x80008000 size = 3846264
XLoader: IGEP Module : kernel boot ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Linux version 3.6.6-00027-g801d952 (eballetbo@jupiter) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #1 SMP Mon Nov 12 09:17:04 CET 2012
with System;
limited with DoXMLAda.Docs.Lists;
package DoXMLAda.Docs is
-- IDoc
type Base_Doc is abstract new Wrapper with private;
-- IDocPara - paragraphs?
type Doc_Para is new Base_Doc with private;
with
Koparo.Database.User,
Ada.Text_IO;
procedure Launch_Rattler_Stress_Test
is
procedure Log (Message : in String) renames Ada.Text_IO.Put_Line;
begin
Koparo.Database.Rattlesnake_URL_Is ("dev.koparo.com:7080");
#!/usr/bin/ruby1.8 -w
# Try to find running processes using different methods, and report
# processes found through some means but not through others.
#
# Exit code 2 means something fishy was detected.
#
# Exit code 1 means something went wrong.
# Copyright 2009 by Johan Walles, johan.walles@gmail.com
----------------------------------------------------------------------
Traceback (most recent call last):
File "/eden/aulace/Rattlesnake/rattlesnake/tests/t_driving_ranges.py", line 13, in setUp
self.cur.execute("DELETE FROM koparo.driving_ranges CASCADE")
IntegrityError: update or delete on table "swings" violates foreign key constraint "device_data_swing_id_fkey" on table "device_data"
DETAIL: Key (id)=(876) is still referenced from table "device_data".
======================================================================
ERROR: test_get (tests.t_courses.TestCourses)