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
// Send 8 bit data to FPGA on Upduino via SPI | |
// See https://jpfau.org/blog/upduino-usb-spi/ for details and FPGA sample application. | |
// compile like this: g++ upduino_spi.cpp -o upduino_spi -lftdi1 `pkg-config libftdi1 --cflags` | |
#include <ftdi.h> | |
#include <unistd.h> | |
#include <stdexcept> | |
#include <string.h> | |
using std::string; |
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
blueprint: | |
name: Window Open, Notify HomeMatic CCU | |
description: > | |
An automation blueprint that reduces the set temperature of your climate | |
device or group if a window sensor is open for more than the preset wait time. | |
It uses the Homematic window sensor channel to set the temperature to the "Open-window | |
temperature" set in the device configuration. You should set the "Mode for temperature | |
fall detection" to Inactive to avoid conflicts. It waits until the window is closed | |
again in order to restore the climate entity temperature. It has an optional blocking | |
entity to prevent the automation running unnecessarily, for example during the |
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
blueprint: | |
name: Motion-activated Night Light | |
description: Turn on a light when motion is detected and it's night | |
domain: automation | |
input: | |
motion_entity: | |
name: Motion Sensor | |
selector: | |
entity: | |
domain: binary_sensor |
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 std.meta, std.traits; | |
version = DebugPrint; | |
version (DebugPrint) | |
{ | |
import std.experimental.logger; | |
alias log = infof; | |
extern(C) uint _currTime() | |
{ |
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 std.meta, std.traits; | |
version = DebugPrint; | |
version (DebugPrint) | |
{ | |
import std.experimental.logger; | |
alias log = infof; | |
extern(C) uint _currTime() | |
{ |
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
diff -ur gcc-8-20171210.old/gcc/config/aarch64/aarch64.c gcc-8-20171210.new/gcc/config/aarch64/aarch64.c | |
--- gcc-8-20171210.old/gcc/config/aarch64/aarch64.c 2017-12-07 19:43:40.000000000 +0100 | |
+++ gcc-8-20171210.new/gcc/config/aarch64/aarch64.c 2018-02-04 21:02:13.337405884 +0100 | |
@@ -132,8 +132,8 @@ | |
#define TARGET_HAVE_TLS 1 | |
#endif | |
-static bool aarch64_composite_type_p (const_tree, machine_mode); | |
-static bool aarch64_vfp_is_call_or_return_candidate (machine_mode, | |
+bool aarch64_composite_type_p (const_tree, machine_mode); |
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
// Run at https://dpaste.dzfl.pl/861b8e5dd07b | |
// https://intranet.kit.edu/gestaltungsrichtlinien.php | |
// https://intranet.kit.edu/downloads/2_Gestaltungsgrundlagen.pdf | |
import std.stdio, std.string, std.array, std.algorithm, std.conv, std.range, std.math; | |
string input = "KIT-Schwarz | |
0 C | |
0 R | |
0 M | |
0 G |
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 std.stdio, std.file, std.path, std.range, std.string, std.algorithm ; | |
string[] filterList = ["./Makefile.in", "./Makefile.am", "./index.d", "./unittest.d", | |
"./std/experimental/note.md"]; | |
struct Files | |
{ | |
string[] baseList; | |
string[][string] sysList; | |
} |
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 std.stdio, std.file, std.path, std.range, std.string, std.algorithm ; | |
string[] filterList = ["./test_runner.d", "./Makefile.in", "./gcc/config.d.in", "./gcc/libbacktrace.d.in", "./phobos-ver-syms.in", | |
"./Makefile.am", "./LICENSE_1_0.txt", "./README.txt", "./rt/dylib_fixes.c"]; | |
struct Files | |
{ | |
string[] baseList, gcList, gcStubList; | |
string[][string] sysList; | |
} |
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
echo "$GCC_VERSION" | grep -qP "gcc-[\d\.]+$" | |
# Standard release | |
if [ $? = 0 ] | |
then | |
GCC_TARBALL="releases/${GCC_VERSION}/${GCC_VERSION}.tar.bz2" | |
if [ $(echo "$GCC_VERSION" | cut -c5-5) -gt "4" ] | |
then | |
PATCH_VERSION=$(echo "$GCC_VERSION" | cut -c5-5) | |
# Max supported gcc version in semaphore ci | |
if [ $(echo "$GCC_VERSION" | cut -c5-5) -gt "5" ] |
NewerOlder