View Dockerfile
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
FROM ubuntu:focal AS builder | |
RUN apt-get update && apt-get -y install build-essential curl git python libglib2.0-dev | |
RUN git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git /depot_tools | |
# export PATH=`pwd`/depot_tools:"$PATH" | |
ARG V8VER_FULL | |
RUN test "$V8VER_FULL" != "" | |
WORKDIR /tmp |
View HeatmapEnricher.java
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
package btools.mapcreator; | |
import btools.expressions.BExpressionContextWay; | |
import btools.expressions.BExpressionMetaData; | |
import btools.util.DenseLongMap; | |
import btools.util.TinyDenseLongMap; | |
import com.mongodb.MongoClient; | |
import com.mongodb.client.MongoCollection; | |
import org.bson.Document; |
View batman-adv-2013-on-ubuntu.diff
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
Index: batman-adv-2013.4.0/bridge_loop_avoidance.c | |
=================================================================== | |
--- batman-adv-2013.4.0.orig/bridge_loop_avoidance.c | |
+++ batman-adv-2013.4.0/bridge_loop_avoidance.c | |
@@ -351,7 +351,6 @@ static void batadv_bla_send_claim(struct | |
batadv_inc_counter(bat_priv, BATADV_CNT_RX); | |
batadv_add_counter(bat_priv, BATADV_CNT_RX_BYTES, | |
skb->len + ETH_HLEN); | |
- soft_iface->last_rx = jiffies; | |
View raspi-base.nix
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
{ config, lib, pkgs, ... }: | |
let | |
extlinux-conf-builder = | |
import <nixpkgs/nixos/modules/system/boot/loader/generic-extlinux-compatible/extlinux-conf-builder.nix> { | |
pkgs = pkgs.buildPackages; | |
}; | |
in | |
{ | |
imports = [ |
View serverless-azure-functions-auth.patch
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 a/node_modules/serverless-azure-functions/provider/azureProvider.js b/node_modules/serverless-azure-functions/provider/azureProvider.js | |
--- a/node_modules/serverless-azure-functions/provider/azureProvider.js 2018-10-09 11:53:42.151689784 +0200 | |
+++ b/node_modules/serverless-azure-functions/provider/azureProvider.js 2018-10-09 13:18:20.771792944 +0200 | |
@@ -5,6 +5,8 @@ | |
const resourceManagement = require('azure-arm-resource'); | |
const path = require('path'); | |
const fs = require('fs'); | |
+const os = require('os'); | |
+const msRestAzure = require('ms-rest-azure'); | |
const request = require('request'); |
View scan2pdf+ocr.sh
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 bash | |
set -e | |
## SCAN settings | |
FORMAT="-l 0 -t 0 -x 210 -y 297" | |
MODE=color | |
RESOLUTION=300 | |
LANG=deu | |
postprocess_scan() { |
View index.html
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>AWS IoT Pub/Sub Demo</title> | |
</head> | |
<body> | |
<h1>AWS IoT Pub/Sub Demo</h1> | |
<form> | |
<button type="button" id="connect">connect!</button> |
View V8JsNodeModuleLoader.php
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
<?php | |
require_once __DIR__.'/V8JsNodeModuleLoader_FileAccessInterface.php'; | |
require_once __DIR__.'/V8JsNodeModuleLoader_NormalisePath.php'; | |
/** | |
* Simple Node.js module loader for use with V8Js PHP extension | |
* | |
* This class understands Node.js' node_modules/ directory structure | |
* and can require modules/files from there. | |
* |
View config.m4
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
PHP_ARG_ENABLE(hello, whether to enable Hello | |
World support, | |
[ --enable-hello Enable Hello World support]) | |
if test "$PHP_HELLO" = "yes"; then | |
AC_DEFINE(HAVE_HELLO, 1, [Whether you have Hello World]) | |
PHP_NEW_EXTENSION(hello, hello.c, $ext_shared) | |
fi |
View karma-compile.el
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
(require 'ansi-color) | |
(defvar karma-buffer | |
"*karma-node-specs-buffer*") | |
(defun karma-compile () | |
"Run Karma" | |
(interactive) | |
(shell-command "karma run" (get-buffer-create karma-buffer)) | |
(display-buffer karma-buffer) | |
(with-current-buffer karma-buffer |
NewerOlder