Skip to content

Instantly share code, notes, and snippets.

View mrquincle's full-sized avatar
💭
Does it have LEDs?

Anne van Rossum mrquincle

💭
Does it have LEDs?
View GitHub Profile
@mrquincle
mrquincle / gist:8335834
Created January 9, 2014 15:26
If I remove libicu-dev from my system and do a git clone of node-stringprep and a npm link I get this error (https://github.com/node-xmpp/node-stringprep/issues/45)
npm link
> [email protected] install /home/anne/tmp/node-stringprep
> node-gyp rebuild || (exit 0)
make: Entering directory `/home/anne/tmp/node-stringprep/build'
CXX(target) Release/obj.target/node_stringprep/node-stringprep.o
../node-stringprep.cc:2:28: fatal error: unicode/unistr.h: No such file or directory
#include <unicode/unistr.h>
^
@mrquincle
mrquincle / gist:9136005
Created February 21, 2014 15:15
The RFDLoader dissambled (this is to flash the RFduino and communicates with its bootloader)
RFduino
Are parts of http://code.google.com/p/optiboot/ used? This is GPL!
================ B E G I N N I N G O F P R O C E D U R E ================
; Basic Block Input Regs: rsp - Killed Regs: rbp rdi
__Z21stk500_read_signaturev: // stk500_read_signature()
@mrquincle
mrquincle / fft.html
Last active August 29, 2015 14:26
FFT making use of math.js
<!DOCTYPE html>
<html>
<head>
<title>visualize some time</title>
<style>
body, input, select {
font: 11pt sans-serif;
}
input, select, th, #result {
1425572933.082803 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 4 4 4 4 4 3 4 4 4 4 4 4 4 4 3 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
1425572952.843874 4 4 4 4 4 4 4 4 4 4 4 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
1425572976.724433 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 3 4 4 4 4 3 3 4 3 3 3 3 4 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 4 4 4 3 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
1425573001.691644 5 5 6 6 6 6 6 7 7 7 7 7 8 8 8 8 8 9 9 9 9 9 9 10 10 10 10 10 10 10 10 10 11 11 11 11 11 11 11 12 12 12 12 12 12 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13
@mrquincle
mrquincle / cs_MeshMessageTypes.h
Last active March 11, 2017 16:01
command_message_t
typedef uint8_t* uint8_t_array;
typedef uint16_t* uint16_t_array;
template<size_t offset = 1>
struct __attribute__((__packed__)) uint16_t_offset_array {
uint8_t skip[offset];
uint16_t_array array;
};
template<size_t M = MAX_COMMAND_MESSAGE_PAYLOAD_LENGTH>
@mrquincle
mrquincle / dmesg
Created May 28, 2017 17:58
Yoga 900 freeze, but wakes up after a while this time! So I've a log!
[84348.792760] iwlwifi 0000:01:00.0: No association and the time event is over already...
[84348.792779] wlp1s0: Connection to AP ec:08:6b:31:b5:95 lost
[84352.182148] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
[84352.202044] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
[84682.170512] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
[84682.245826] wlp1s0: authenticate with ec:08:6b:31:b5:95
[84682.253990] wlp1s0: send auth to ec:08:6b:31:b5:95 (try 1/3)
[84682.265379] wlp1s0: authenticated
[84682.269027] wlp1s0: associate with ec:08:6b:31:b5:95 (try 1/3)
[84682.281220] wlp1s0: RX AssocResp from ec:08:6b:31:b5:95 (capab=0x431 status=0 aid=1)
@mrquincle
mrquincle / test_image_resize.md
Last active July 7, 2017 14:36
Test image resize options

Using raw html does work.

<img src="https://raw.githubusercontent.com/yourimage" width="196px" height="348px"/> <img src="https://raw.githubusercontent.com/yourimage" width="196px" height="348px"/>

Using markdown with {} options does not work.

![test image size](https://raw.githubusercontent.com/yourimage){:width="196px" height="348px"}
@mrquincle
mrquincle / greek.md
Last active August 28, 2024 19:36
Symbols

Capital letters:

Code Name Code Description Symbol / Character
Α Α Greek capital letter alpha Α
Β Β Greek capital letter beta Β
Γ Γ Greek capital letter gamma Γ
Δ Δ Greek capital letter delta Δ
Ε Ε Greek capital letter epsilon Ε
Ζ Ζ Greek capital letter zeta Ζ

Keybase proof

I hereby claim:

  • I am mrquincle on github.
  • I am annevanrossum (https://keybase.io/annevanrossum) on keybase.
  • I have a public key ASB2uM8n1VbH5LqY6FstESdeSgaguL1h9Bpui_wjnU6faAo

To claim this, I am signing this object:

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.