devel/avr-gcc
devel/avr-binutils
devel/avrdude
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
/* | |
Derived from Android Source Code | |
Source: platform_frameworks_base/core/java/android/content/UriMatcher.java | |
(see for example: https://android.googlesource.com/platform/frameworks/base/+/android-7.0.0_r33/core/java/android/content/UriMatcher.java ) | |
Original License: Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0) | |
Original Copyright: Copyright (C) 2006 The Android Open Source Project | |
Modifications made: | |
To be useable outside the Android Framework android.net.Uri has been changed to | |
java.net.URL, reordered constant definitions towards the top of the class, no |
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
#ifndef __is_included__F0CBD5F3_AC0B_4F2F_9137_1D3A922083A7 | |
#define __is_included__F0CBD5F3_AC0B_4F2F_9137_1D3A922083A7 1 | |
/* | |
Requires stdint.h and math.h | |
*/ | |
/* | |
IEEE 754 Floats (Single): | |
All Bits 1+r+p 32 Bit |
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/sh | |
# === BEGIN CONFIGURATION === | |
# Capture source | |
url="https://www.wien.gv.at/webcam-inselcam/inselcam.jpeg" | |
# Capture destination and timestamp format | |
currentdate=`date +"%Y%m%d-%H%M%S"` |
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
/* | |
Simply command line tool to calculate CRC | |
of device ROM IDs for dallas 1-wire devices | |
(or compatible) | |
*/ | |
#include <stdio.h> | |
#include <stdint.h> | |
static uint8_t crcUpdate8(uint8_t crc, uint8_t data) { | |
uint8_t j; |
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/sh | |
# Startup script for unfs3 (http://unfs3.sourceforge.net) - inofficial script | |
# | |
# Use in rc.conf: | |
# unfs3d_enable="YES" | |
# | |
# One can override the location of the exports file via | |
# unfs3d_exports="/etc/exports" | |
# |
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/sh | |
# PROVIDE: usbmodeswitch | |
# REQUIRE: FILESYSTEMS | |
# BEFORE: ppp | |
# usb modeswitch script for huawei modem | |
# with sysutils/usb_modeswitch | |
. /etc/rc.subr |
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/sh | |
# This script automatically renews renewable tickets | |
# of all users on a given machine (to prevent timeout | |
# for long running tasks of logged in users). | |
# It also removes expires tickets from cache files | |
: ${RENEWAL_THREASHOLD:=3600} | |
: ${VERBOSE:=0} | |
: ${LOGFILE:=/var/log/krb5renew.log} |
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
main: main.c filter_greyscale.c imagefile.c simple_imageio.h | |
clang -DDEBUG -o main -Wall -ansi -std=c99 -pedantic -Werror main.c filter_greyscale.c imagefile.c -ljpeg |
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
/* | |
Simple test program for 3D printer piezo | |
bed leveling adapter board described at | |
https://www.tspi.at/2019/09/11/piezobedlevel.html | |
(using Arduino IDE and libraries). | |
This does not provide any I2C connectivity, etc. | |
and just periodically reads analog samples, dumps | |
them to the serial port and does some moving average | |
filtering (as well as using a inductive probe as |
OlderNewer