- aio.h
- arpa/inet.h [*]
- assert.h [+]
- complex.h
- cpio.h
- dirent.h [+]
- dlfcn.h
- fcntl.h
- fenv.h
- fmtmsg.h
This file contains 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
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright © 2015 Martine Lenders <mail@martine-lenders.eu> | |
# | |
# Distributed under terms of the MIT license. | |
import csv | |
import sys |
This file contains 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
APPLICATION = timex_to_str | |
BOARD ?= native | |
RIOTBASE ?= $(CURDIR)/../RIOT | |
QUIET ?= 1 | |
USEMODULE += timex | |
CFLAGS += -DLOG_LEVEL=LOG_NONE | |
include $(RIOTBASE)/Makefile.include |
This file contains 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
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright © 2015 Martine Lenders <mail@martine-lenders.eu> | |
# | |
# Distributed under terms of the MIT license. | |
import socket | |
import pexpect |
This file contains 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 <errno.h> | |
#include "msg.h" | |
#include "net/ng_netapi.h" | |
void *_event_loop(void *args) | |
{ | |
msg_t msg, reply; | |
reply.type = NG_NETAPI_MSG_TYPE_ACK; /* Prepare reply type */ | |
while (1) { |
This file contains 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
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright ©2014 Martine Lenders <mail@martine-lenders.eu> | |
# | |
# Distributed under terms of the MIT license. | |
from __future__ import print_function |
This file contains 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
import RIOT.thread as thread | |
import RIOT.msg as msg | |
import RIOT.drivers.periph.gpio as gpio | |
class ReceiveThread(thread.Thread): | |
def run(): | |
while True: | |
m = msg.receive() | |
print "Received message: {:s}".format(m.content) |
This file contains 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 Ball extends Throwable {} | |
class P { | |
P target; | |
P(P target) { | |
this.target = target; | |
} | |
void aim(Ball ball) { |
This file contains 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
#!/bin/bash | |
if [[ "$#" -ne 1 ]]; then | |
echo "Usage: $0 <host>" 1>&2 | |
exit 1 | |
fi | |
HOST="$1" | |
declare -A HOSTS |
This file contains 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
#!/bin/bash | |
# copy this file to /usr/local/sbin (or any other $PATH location) | |
# add to daily.cron | |
# ensure exits | |
VAR_FILE="/var/lib/pacicron/sha" | |
MAIL_TO="root" | |
HOST=$(uname -n) | |
PKGMGR=$(which yaourt || which pacman) | |
AURFLAG=$(which yaourt &> /dev/null && echo -en "a") |
NewerOlder