I hereby claim:
- I am coreyoconnor on github.
- I am coreyoconnor (https://keybase.io/coreyoconnor) on keybase.
- I have a public key ASCbJzbEcR8xnVlClaH9ZsZ_wXJF6zTCobFS7_uaI3MH4wo
To claim this, I am signing this object:
| template<typename array_type, std::size_t array_size> | |
| std::string hex_dump_array(const boost::array<array_type, array_size>& in_array) | |
| { | |
| // 100 chars max stride. 2 chars per byte. | |
| using namespace std; | |
| const uint32_t chunks_per_stride = 50 / (sizeof(array_type) + 1); | |
| uint32_t chunk_offset = 0; | |
| std::stringstream out_stream; | |
| std::string stride_txt; | |
| module Main where | |
| import Language.C | |
| import Language.C.System.GCC | |
| import Control.Monad | |
| import Data.Maybe | |
| import Data.IORef | |
| main = do | |
| r <- parseCFile (newGCC "gcc") Nothing [] "raw_data_dump.h" | |
| client_data_ref <- newIORef [] |
| <% if @port != 80 -%> | |
| Listen <%= @port %> | |
| <% end -%> | |
| <VirtualHost *:<%= @port %>> | |
| ServerAdmin webmaster@localhost | |
| DocumentRoot <%= @document_root %> | |
| <Directory /> | |
| Options FollowSymLinks |
| {-# LANGUAGE ExistentialQuantification, DeriveDataTypeable #-} | |
| module Main where | |
| import Data.Typeable | |
| data Highlighter cache syntax = SynHL {hlFocus :: Int -> cache -> cache} | |
| data HLState syntax = forall cache. HLState !(Highlighter cache syntax) !cache | |
| data BufferImpl syntax = |
| [coconnor@agh:~/Development/nixpkgs]$ virsh net-list --all | |
| Name State Autostart Persistent | |
| ---------------------------------------------------------- | |
| default inactive yes yes | |
| [coconnor@agh:~/Development/nixpkgs]$ ifconfig | |
| enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 | |
| inet 192.168.1.2 netmask 255.255.255.0 broadcast 0.0.0.0 | |
| inet6 fe80::76d4:35ff:fe9d:6e30 prefixlen 64 scopeid 0x20<link> |
I hereby claim:
To claim this, I am signing this object:
| #! /usr/bin/env nix-shell | |
| #! nix-shell -i runghc -p haskellPackages.ghc | |
| #! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-17.03.tar.gz | |
| -- Print hello world | |
| main = do | |
| putStrLn "Hello World!" |
| { | |
| "kind": "metapackage", | |
| "abstract": "A list of modules installed on the default KSP instance", | |
| "name": "installed-default", | |
| "license": "unknown", | |
| "version": "2018.03.03.10.13.17", | |
| "identifier": "installed-default", | |
| "spec_version": "v1.6", | |
| "recommends": [ | |
| { |
| [coconnor@grr:~]$ sudo mdadm --misc --detail /dev/md127 | |
| /dev/md127: | |
| Version : 1.2 | |
| Creation Time : Sun Apr 10 13:19:04 2016 | |
| Raid Level : raid1 | |
| Array Size : 1047552 (1023.00 MiB 1072.69 MB) | |
| Used Dev Size : 1047552 (1023.00 MiB 1072.69 MB) | |
| Raid Devices : 4 | |
| Total Devices : 4 | |
| Persistence : Superblock is persistent |
all drives are the same:
Disk /dev/sda: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 190FF7CA-DCA8-4D1E-8761-74BB4FEFD7B4