I hereby claim:
- I am tmladek on github.
- I am tmladek (https://keybase.io/tmladek) on keybase.
- I have a public key whose fingerprint is 1EBE 0AAF F02F D499 AE10 755A B6EC 587C 757F A68F
To claim this, I am signing this object:
// Errors when it tries to load the loader: | |
{ | |
test: /\.(json)$/, | |
use: [{ | |
loader: 'foobar' | |
}] | |
} | |
// Doesn't even error: |
// pozor, musi bezet na Leonardu! | |
#define IR_LED_PIN 3 | |
#define INDICATOR_PIN 13 | |
#define NUM_GATES 4 | |
unsigned led_cycles = 0; | |
bool led_enabled = true; | |
bool led_state = false; | |
ISR(TIMER1_COMPA_vect) { |
class MyClass { | |
MyClass self = this; | |
public MyClass() { | |
addFooListener(new FooListener(){ | |
@Override | |
public void barEvent(){ | |
self.doSomething(); | |
} |
#include <Servo.h> | |
// Tady se upravují piny | |
const int tlacitko_a = 2; | |
const int tlacitko_b = 3; | |
const int servo_a_pin = 9; | |
const int servo_b_pin = 10; | |
Servo servo_a; |
Class :: Class(){ | |
chai.add(chaiscript::fun(&Class::func, this), "func"); | |
// ... | |
initial_state = chai.get_state(); | |
} | |
void Class :: exec(){ | |
chai.set_state(initial_state); | |
Class :: Class(){ | |
chai.add(chaiscript::fun(&Class::print, this), "print"); | |
} | |
void Class :: print(std::string text){ | |
do_stuff_with(text); | |
} |
void GUI_DumbSprite :: render(){ | |
SDL_Rect dstrect; | |
dstrect.x = (anchor) ? anchor->x+x : x; | |
dstrect.y = (anchor) ? anchor->y+y : y; | |
dstrect.w = (anchor) ? anchor->w+w : w; | |
dstrect.h = (anchor) ? anchor->h+h : h; | |
SDL_RenderCopy(renderer, sprite, NULL, &dstrect); | |
} |
I hereby claim:
To claim this, I am signing this object:
Missing modules: | |
? PIL imported from matplotlib.backend_bases, matplotlib.image | |
? Pyrex.Compiler.Main imported from numpy.distutils.command.build_src | |
? StringIO imported from numpy.lib.utils, numpy.testing.utils, six | |
? UserDict imported from pytz.lazy | |
? __builtin__ imported from numpy, numpy.core.numerictypes, numpy.distutils.misc_util, numpy.lib._iotools, pyparsing | |
? __config__ imported from numpy.distutils | |
? _curses imported from curses, curses.has_key | |
? _dummy_threading imported from dummy_threading | |
? _emx_link imported from os |
#!/usr/bin/env python3 | |
import argparse, json | |
from datetime import datetime | |
from time import sleep | |
import urllib.request, urllib.parse | |
parser = argparse.ArgumentParser(description="Notify user when wind level rises or drops to a given level") | |
parser.add_argument('lower', type=float, help="Speed below which notification will fire") | |
parser.add_argument('upper', type=float, help="Speed above which notification will fire") | |
parser.add_argument('latitude', type=float, nargs='?', help="Current latitude") |