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
/* | |
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
/* | |
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
#!/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
#!/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
#!/bin/sh | |
# INTERFACE ... Is the public interface to the internet with assigned public IP | |
# GIFIF ....... The generic routing encapsulating interface | |
# POPIP ....... IP address of your assigned point of presence (tunnel endpoint) | |
# STATEFILE ... File that keeps the current "old" IP address | |
# LOGFILE ..... Logfile into which updates will be written | |
# TID ......... Tunnel ID (see tunnel configuration page) | |
# USERID ...... User ID (as registered) | |
# UPDATEKEY ... See advanced tab of tunnel configuration page |
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: nodered | |
# REQUIRE: LOGIN | |
# KEYWORD: shutdown | |
# Configuration variables: | |
# | |
# Variable Default Description | |
# ==================================================================================================== |
OlderNewer