This file contains hidden or 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
| /* ==================================================================== | |
| * | |
| * Copyright (c) 2018 Juerge Liegner All rights reserved. | |
| * | |
| * Redistribution and use in source and binary forms, with or without | |
| * modification, are permitted provided that the following conditions | |
| * are met: | |
| * | |
| * 1. Redistributions of source code must retain the above copyright | |
| * notice, this list of conditions and the following disclaimer. |
This file contains hidden or 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 | |
| # Based on a test script from avsm/ocaml repo https://github.com/avsm/ocaml | |
| CHROOT_DIR=/tmp/arm-chroot | |
| MIRROR=http://archive.raspbian.org/raspbian | |
| VERSION=wheezy | |
| CHROOT_ARCH=armhf | |
| # Debian package dependencies for the host | |
| HOST_DEPENDENCIES="debootstrap qemu-user-static binfmt-support sbuild" |
This file contains hidden or 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 <avr/boot.h> | |
| void print_val(char *msg, uint8_t val) | |
| { | |
| Serial.print(msg); | |
| Serial.println(val, HEX); | |
| } | |
| void setup(void) | |
| { |
This file contains hidden or 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
| -startup | |
| plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar | |
| --launcher.library | |
| plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.401.v20161122-1740 | |
| -product | |
| org.eclipse.epp.package.cpp.product | |
| --launcher.defaultAction | |
| openFile | |
| -showsplash | |
| org.eclipse.platform |
This file contains hidden or 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
| DPDtables.sql: | |
| xsltproc xsdtosql.xsl ~/tmp/vitosoft/DPDefinitions.xsd | sed -e '/^\s*$$/d;s/^\s*CREATE/CREATE/g' > $@ | |
| all: clean DPDtables.sql | |
| clean: | |
| rm -f DPDtables.sql |
This file contains hidden or 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 | |
| VITODIR="${HOME}/tmp/vitosoft/" | |
| VITOSOFTISO_FILE="${VITODIR}/Vitosoft300WithoutDocs.iso" # ${HOME}/Downloads/Vitosoft300WithoutDocs.iso" | |
| ### | |
| VITOSOFTISO_URL="https://update-vitosoft.viessmann.com/CurrentVersion/Vitosoft300WithoutDocs.iso" | |
| VITOSOFTISO_FILELEN=2818441216 | |
| VITOSOFTISO_LASTMODIFIED="Tue, 15 Dec 2015 15:54:01 GMT" |
This file contains hidden or 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/python | |
| bitstringlen = 8 | |
| import sys, re | |
| regex = re.compile('(.*)0b([01]{2,8}),(.*)$'); | |
| for line in sys.stdin: | |
| if regex.match(line) is not None: | |
| bitstring = regex.match(line).group(2) |
This file contains hidden or 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 | |
| SUFFIX="-6" | |
| if ([ "$1" = "-f" ]) ; then | |
| NOP='' | |
| else | |
| NOP='echo' | |
| fi |