Skip to content

Instantly share code, notes, and snippets.

View neuralsandwich's full-sized avatar

Sean Jones neuralsandwich

View GitHub Profile
$ curl -d '{"s": "Hello, World!"}' http://localhost:8080/count
{"c":13}
$ curl -d '{"s": "Hello, World!"}' http://localhost:8080/uppercase
{"s": "HELLO, WORLD!"}

Keybase proof

I hereby claim:

  • I am neuralsandwich on github.
  • I am neuralsandwich (https://keybase.io/neuralsandwich) on keybase.
  • I have a public key whose fingerprint is 5B44 C049 4B7A 3E26 B98E 1E8F 7B35 6B80 A3F2 63EA

To claim this, I am signing this object:

@neuralsandwich
neuralsandwich / gist:e5fefe0d7b27ad412b60
Created March 22, 2016 14:09
NMEAParser googletest warnings
This file has been truncated, but you can view the full file.
Scanning dependencies of target NMEAParser
[ 1%] Building CXX object lib/CMakeFiles/NMEAParser.dir/NMEAParser.cpp.o
[ 2%] Building CXX object lib/CMakeFiles/NMEAParser.dir/NMEAMessage.cpp.o
Scanning dependencies of target gtest
[ 3%] Building CXX object gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
In file included from /Users/neuralsandwich/dev/neuralsandwich/TinyROS-Workspace/NMEAParser/gtest/src/gtest-all.cc:39:
In file included from /Users/neuralsandwich/dev/neuralsandwich/TinyROS-Workspace/NMEAParser/gtest/include/gtest/gtest.h:58:
In file included from /Users/neuralsandwich/dev/neuralsandwich/TinyROS-Workspace/NMEAParser/gtest/include/gtest/internal/gtest-internal.h:40:
/Users/neuralsandwich/dev/neuralsandwich/TinyROS-Workspace/NMEAParser/gtest/include/gtest/internal/gtest-port.h:354:5: warning: '_MSC_VER' is not defined, evaluates to 0 [-Wundef]
#if _MSC_VER >= 1500
@neuralsandwich
neuralsandwich / gist:6ab9995f6a6766e688e9
Last active August 23, 2016 09:19
Differences between lld and tool

Display shared libraries the binary uses

>$ ldd /bin/mv
	linux-vdso.so.1 =>  (0x00007ffe504e0000)
	libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007fc974642000)
	libacl.so.1 => /lib/x86_64-linux-gnu/libacl.so.1 (0x00007fc974439000)
	libattr.so.1 => /lib/x86_64-linux-gnu/libattr.so.1 (0x00007fc974233000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc973e69000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fc973bfc000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc9739f7000)
@neuralsandwich
neuralsandwich / gist:6878152d002633cade55
Created December 11, 2015 23:48
NMEA GPS string examples
$GPRMC,123519,A,4807.038,N,01131.000,E,022.4,084.4,230394,003.1,W*6A
$GPTHS,77.52,E*34"
$GPDTM,W84,,0.0,N,0.0,E,0.0,W84*6F
$GPDTM,W72,,0.00,S,0.01,W,-2.8,W84*4F
$GPDTM,999,CH95,0.08,N,0.07,E,-47.7,W84*1C
$GPGBS,235458.00,1.4,1.3,3.1,03,,-21.4,3.8*5B
$GPGLL,4717.11364,N,00833.91565,E,092321.00,A,A*60
$GPGSA,A,3,23,29,07,08,09,18,26,28,,,,,1.94,1.18,1.54*0D
$GPGST,082356.00,1.8,,,,1.7,1.3,2.2*7E
$GPRMC,083559.00,A,4717.11437,N,00833.91522,E,0.004,77.52,091202,,,A*57
@neuralsandwich
neuralsandwich / eclipse-jenkins-plugin-development.md
Created August 4, 2014 16:16
Using Eclipse to Develop Jenkins Plugins

Using Eclipse to Develop Jenkins Plugins

Installation

Creating Eclipse project from Maven

@neuralsandwich
neuralsandwich / installation.md
Last active September 25, 2019 08:46
GitLab installation on CentOS 6

Overview

The GitLab installation consists of setting up the following components:

  1. Packages / Dependencies
  2. Ruby
  3. System Users
  4. GitLab shell
  5. Database
  6. GitLab