Skip to content

Instantly share code, notes, and snippets.

View annymsMthd's full-sized avatar
💭
💯

Joshua Benjamin annymsMthd

💭
💯
  • iHerb
  • Los Angeles
View GitHub Profile
inherit kernel-resin
#
# Support for NVME block devices
#
RESIN_CONFIGS_append_intel-corei7-64 = " nvme"
RESIN_CONFIGS[nvme] = " \
CONFIG_BLK_DEV_NVME=y \
"
autofs
block
bsg
btrfs-control
bus
cdc-wdm1
char
console
core
cpu
[ 0.000000] Linux version 4.8.0-36-generic (buildd@lgw01-18) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #36~16.04.1-Ubuntu SMP Sun Feb 5 09:39:57 UTC 2017 (Ubuntu 4.8.0-36.36~16.04.1-generic 4.8.11)
[ 0.000000] Command line: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Legacy x87 FPU detected.
[ 0.000000] x86/fpu: Using 'eager' FPU context switches.
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
root@225d8bc:/# ls /dev
audio cpu_dma_latency hpet i2c-7 loop2 mem ppp ram1 ram4 rtc0 sequencer2 tty1 tty18 tty26 tty34 tty42 tty50 tty59 ttyS0 vcs4 vcsa6
autofs cuse hugepages initctl loop3 memory_bandwidth pps0 ram10 ram5 sda sg0 tty10 tty19 tty27 tty35 tty43 tty51 tty6 ttyS1 vcs5 vga_arbiter
block disk i2c-0 input loop4 mixer pps1 ram11 ram6 sda1 shm tty11 tty2 tty28 tty36 tty44 tty52 tty60 ttyS2 vcs6 watchdog
bsg dri i2c-1 kmem loop5 mqueue psaux ram12 ram7 sda2 snd tty12 tty20 tty29 tty37 tty45 tty53 tty61 ttyS3 vcsa watchdog0
bus dsp i2c-2 kmsg loop6 net ptmx ram13 ram8 sda3 stderr tty13 tty21 tty3 tty38 tty46 tty54 tty62 urandom vcsa1 zero
char fb0 i2c-3 log loop7 network_latency ptp0 ram14 ram9 sda4 stdin tty14 tty22 tty30 tty39 tty47 tty55 tty63 vcs vcsa2
console f
[ 0.000000] Linux version 4.8.17-yocto-standard (builder@509c81b211d5) (gcc version 6.2.0 (GCC) ) #2 SMP PREEMPT Tue Apr 4 01:11:52 UTC 2017
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz root=LABEL=resin-rootA rootwait quiet loglevel=0 splash udev.log-priority=3 vt.global_cursor_default=0
[ 0.000000] x86/fpu: Legacy x87 FPU detected.
[ 0.000000] x86/fpu: Using 'eager' FPU context switches.
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009f000-0x000000000009ffff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001effffff] usable
[ 0.000000] BIOS-e820: [mem 0x000000001f000000-0x000000001f0fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x000000001f100000-0x000000001fffffff] usable
public class SimpleClient : AssociationHandle
{
private readonly TcpClient _client;
private byte[] _lengthBuffer = new byte[4];
private byte[] _buffer = new byte[650000];
private byte[] _writeBuffer = new byte[650000];
private NetworkStream _stream;
private IHandleEventListener _eventListener;
@annymsMthd
annymsMthd / instructions.txt
Created September 25, 2015 16:49 — forked from Aaronontheweb/instructions.txt
How I clean up pull requests for Akka.NET
I'll try to illustrate the process for doing this by describing what I do.
First, you get your fork of Akka.NET - everything is cool.
Next, you clone it to your machine. Right now your "origin" is set to your local fork.
If Github for Windows doesn't do this for you automatically, you'll need to add a second remote to your local copy of your Akka.NET repository - one that points to the main repository (akkadotnet/akka.net)
git remote add upstream git@github.com:akkadotnet/akka.net.git
Now let's say you want to add a new feature - first thing you need to do is create a new feature branch. Don't work directly off of dev.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using CentralStation.Actors.Services;
using CentralStation.Core;
using CentralStation.Core.Actors.Collectors;
using CentralStation.Core.Messages.Collectors;
using CentralStation.Core.PatternMatching;
using Syncromatics.Instrumentation.InfluxDb;
//-----------------------------------------------------------------------
// <copyright file="Program.cs" company="Akka.NET Project">
// Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Configuration;
//-----------------------------------------------------------------------
// <copyright file="Program.cs" company="Akka.NET Project">
// Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Configuration;