This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Button extends React.Component { | |
constructor(props) { | |
super(props); | |
this.onMouseMove = this.onMouseMove.bind(this); | |
} | |
render() { | |
return ( | |
<button | |
onMouseOver={this.onMouseOver} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% comment %} | |
Usage: {% include hungariandate.liquid date=post.date %} | |
or: {% include hungariandate.liquid date=page.date %} | |
2016 Andor Polgar (andor.cool) | |
{% endcomment %} | |
{{ include.date | date: "%Y." }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"env": { | |
"browser": true | |
}, | |
"rules": { | |
"comma-dangle": [2, "never"], | |
"no-cond-assign": [2, "always"], | |
"no-console": [1], | |
"no-constant-condition": [2], | |
"no-control-regex": [2], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <math.h> | |
#include <AudioToolbox/AudioQueue.h> | |
#include <CoreAudio/CoreAudioTypes.h> | |
#include <CoreFoundation/CFRunLoop.h> | |
#define NUM_CHANNELS 2 | |
#define NUM_BUFFERS 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef __MIDI_NOTE_NUMBERS__ | |
#define __MIDI_NOTE_NUMBERS__ | |
#define A0 21 | |
#define As0 22 | |
#define Bb0 22 |