Skip to content

Instantly share code, notes, and snippets.

Avatar

Mike Morris mikemorris

View GitHub Profile
View gist:42e90772f0891ec2466b0f28f372798d
let services = [
{
crit: 5,
warn: 3,
pass: 7
},
{
crit: 4,
warn: 4,
pass: 2
@mikemorris
mikemorris / # urh - 2020-05-23_16-52-56.txt
Created May 23, 2020
urh on macOS 10.15.4 - Homebrew build logs
View # urh - 2020-05-23_16-52-56.txt
Homebrew build logs for urh on macOS 10.15.4
Build date: 2020-05-23 16:52:56
View rust-book-notes.md
  • rustup doc --book doesn't seem to do anything
  • error: 'rustfmt' is not installed for the toolchain 'stable-x86_64-apple-darwin'
    • To install, run rustup component add rustfmt --toolchain stable-x86_64-apple-darwin
    • error: toolchain 'stable-x86_64-apple-darwin' does not contain component 'rustfmt' for target 'x86_64-apple-darwin'
    • https://github.com/rust-lang/rustup.rs/issues/1558
  • cargo new hello_cargo creates src/lib.rs, not main.rs
    • this default seems to no longer be the case on current version of rustup/rustc?
  • cargo check doesn't exist?
    • w0rp/ale vim plugin seems to integrate with it fine though?
  • Maybe a missing extern crate rand;?
@mikemorris
mikemorris / node-addon-resources.md
Last active Apr 9, 2016
Node.js C++ Addon Resources
View node-addon-resources.md
View gist:9b1f741b06604659a1dc
/home/mikemorris/.node-gyp/0.10.36/deps/v8/include/v8.h:2620:26: error: expected unqualified-id before numeric constant
Handle<Boolean> V8EXPORT True();
^
/home/mikemorris/.node-gyp/0.10.36/deps/v8/include/v8.h:2621:26: error: expected unqualified-id before numeric constant
Handle<Boolean> V8EXPORT False();
^
/home/mikemorris/.node-gyp/0.10.36/deps/v8/include/v8.h:2625:24: error: expected unqualified-id before numeric constant
inline Handle<Boolean> True(Isolate* isolate);
^
/home/mikemorris/.node-gyp/0.10.36/deps/v8/include/v8.h:2626:24: error: expected unqualified-id before numeric constant
View keybase.md

Keybase proof

I hereby claim:

  • I am mikemorris on github.
  • I am mikemorris (https://keybase.io/mikemorris) on keybase.
  • I have a public key whose fingerprint is 60CB 705A B917 00D2 CCF3 3754 35B6 2BB4 A0C5 0D07

To claim this, I am signing this object:

View Logcat
12-12 13:11:35.405 1293-1293/com.mapbox.mapboxgl.app V/MainActivity﹕ onCreate
12-12 13:11:35.733 1293-1293/com.mapbox.mapboxgl.app V/MapFragment﹕ onCreateView
12-12 13:11:35.789 1293-1293/com.mapbox.mapboxgl.app V/MapView﹕ initialize
12-12 13:11:35.852 1293-1293/com.mapbox.mapboxgl.app D/JNI﹕ JNI_OnLoad
12-12 13:11:35.868 1293-1293/com.mapbox.mapboxgl.app D/JNI﹕ nativeCreate
12-12 13:11:35.887 1293-1293/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::NativeMapView
12-12 13:11:35.888 1293-1293/com.mapbox.mapboxgl.app D/JNI﹕ nativeSetLonLat
12-12 13:11:35.900 1293-1293/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::notify_map_change()
12-12 13:11:35.905 1293-1293/com.mapbox.mapboxgl.app D/Android﹕ NativeMapView::notify_map_change()
12-12 13:11:35.906 1293-1293/com.mapbox.mapboxgl.app D/JNI﹕ nativeSetZoom
View Console
Waiting for device.
/Users/mikemorris/Library/Android/sdk/tools/emulator -avd Nexus_5_API_21_x86 -netspeed full -netdelay none
Device connected: emulator-5554
Device Nexus_5_API_21_x86 [emulator-5554] is online, waiting for processes to start up..
Device Nexus_5_API_21_x86 [emulator-5554] is online, waiting for processes to start up..
Device Nexus_5_API_21_x86 [emulator-5554] is online, waiting for processes to start up..
Device Nexus_5_API_21_x86 [emulator-5554] is online, waiting for processes to start up..
Device Nexus_5_API_21_x86 [emulator-5554] is online, waiting for processes to start up..
Device Nexus_5_API_21_x86 [emulator-5554] is online, waiting for processes to start up..
Device Nexus_5_API_21_x86 [emulator-5554] is online, waiting for processes to start up..
@mikemorris
mikemorris / Debug
Created Dec 11, 2014
GL calls with test fixture names
View Debug
This file has been truncated, but you can view the full file.
ulimit -c: unlimited
cat: /proc/sys/kernel/core_pattern: No such file or directory
/proc/sys/kernel/core_pattern:
[==========] Running 8 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 8 tests from ClipIDs
[ RUN ] ClipIDs.ParentAndFourChildren
[ OK ] ClipIDs.ParentAndFourChildren (0 ms)
[ RUN ] ClipIDs.ParentAndFourChildrenNegative
View Debug
ulimit -c: unlimited
cat: /proc/sys/kernel/core_pattern: No such file or directory
/proc/sys/kernel/core_pattern:
[==========] Running 8 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 8 tests from ClipIDs
[ RUN ] ClipIDs.ParentAndFourChildren
[ OK ] ClipIDs.ParentAndFourChildren (0 ms)
[ RUN ] ClipIDs.ParentAndFourChildrenNegative
[ OK ] ClipIDs.ParentAndFourChildrenNegative (0 ms)