I hereby claim:
- I am colatkinson on github.
- I am colatkinson (https://keybase.io/colatkinson) on keybase.
- I have a public key whose fingerprint is 1E2E DB1E DEA6 56B5 934D 3AAA 5E56 35D5 498F 3950
To claim this, I am signing this object:
from PIL import Image | |
from optparse import OptionParser | |
def key_func(arr): | |
# Sort the pixels by luminance | |
r = 0.2126*arr[0] + 0.7152*arr[1] + 0.0722*arr[2] | |
return r | |
#include "GtkAddMagnetLinkWindow.hpp" | |
#include <gtkmm/filechooserdialog.h> | |
#include "GtkMainWindow.hpp" | |
#include <Application.hpp> | |
#include <gtkmm/button.h> | |
#include <gtkmm/hvseparator.h> | |
#include <gtkmm/stock.h> | |
#include <glibmm.h> | |
#include <giomm.h> |
/* | |
* speaker_pcm | |
* | |
* Plays 8-bit PCM audio on pin 11 using pulse-width modulation (PWM). | |
* For Arduino with Atmega168 at 16 MHz. | |
* | |
* Uses two timers. The first changes the sample value 8000 times a second. | |
* The second holds pin 11 high for 0-255 ticks out of a 256-tick cycle, | |
* depending on sample value. The second timer repeats 62500 times per second | |
* (16000000 / 256), much faster than the playback rate (8000 Hz), so |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
function verify_file { | |
unsig_exe_tmp=`mktemp`; | |
# Remove the signature from the file and save to disk | |
objcopy --remove-section=sigdata $1 $unsig_exe_tmp; | |
# Extract the signature and verify it against the unsigned executable | |
objcopy --dump-section sigdata=/dev/stdout $1 | gpg --verify - $unsig_exe_tmp; |
project(libnice_pkg_test C) | |
cmake_minimum_required(VERSION 3.12) | |
find_path(NICE_INCLUDE_DIR PATH_SUFFIXES nice NAMES agent.h) | |
find_library(NICE_LIBRARY libnice) | |
find_path(GLIB_INCLUDE_DIR glib.h) | |
find_library(GLIB_LIBRARY glib-2.0) | |
find_library(GOBJECT_LIBRARY gobject-2.0) | |
find_library(GIO_LIBRARY gio-2.0) |
#include <stdio.h> | |
// Some definitions for calculation | |
#define SEC_PER_MIN 60UL | |
#define SEC_PER_HOUR 3600UL | |
#define SEC_PER_DAY 86400UL | |
#define SEC_PER_YEAR (SEC_PER_DAY*365) | |
// extracts 1..4 characters from a string and interprets it as a decimal value | |
#define CONV_STR2DEC_1(str, i) (str[i]>'0'?str[i]-'0':0) |