Skip to content

Instantly share code, notes, and snippets.

package main
import (
"io"
"log"
"time"
"github.com/tarm/serial"
)
module.exports = [{
entry: './src/xxx.scss',
output: {
filename: './tmp/style-bundle.js'
},
module: {
rules: [{
test: /\.scss$/,
use: [{
loader: 'file-loader',
static unsigned mark_counter, mark_counter2;
#define MARK do { \
fprintf(stderr, "%s:%u: -- %u --\n", __func__, __LINE__, ++mark_counter); \
mark_counter2 = 0; \
} while(0);
#define MARK2 do { \
fprintf(stderr, "%s:%u: -- %u.%u --\n", __func__, __LINE__, \
mark_counter, ++mark_counter2); \

Keybase proof

I hereby claim:

  • I am amery on github.
  • I am amery (https://keybase.io/amery) on keybase.
  • I have a public key whose fingerprint is F8D4 0E71 8FDD 1386 6D0C 011C 6D27 3E5D 3B93 DD30

To claim this, I am signing this object:

From 0a1e4e50023066f4a0615a4c9bdec248e06ba9f5 Mon Sep 17 00:00:00 2001
From: Jari Helaakoski <tekkuli@gmail.com>
Date: Sun, 19 Aug 2012 20:02:59 +0300
Subject: [PATCH] sun4i: disp: initial Fbcon support
---
arch/arm/configs/sun4i_defconfig | 13 ++-
drivers/video/Kconfig | 3 +
drivers/video/sun4i/disp/dev_disp.h | 1 +
drivers/video/sun4i/disp/dev_fb.c | 152 ++++++++++++++++++++---------------
@amery
amery / gist:3093889
Created July 11, 2012 21:57
[PATCH] [HACK] Implement missing symbol for GT801NI touchscreen
From 8e1968f86e15e442a9ae5944535ac8000356d2e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Emilio=20L=C3=B3pez?= <turl@tuxfamily.org>
Date: Sat, 26 May 2012 01:36:48 +0000
Subject: [PATCH] [HACK] Implement missing symbol for GT801NI touchscreen
This lets us load a binary only module, after editing it to
match vermagic and disabling MODVERSIONS on the kernel.
---
drivers/input/touchscreen/Kconfig | 8 ++++++++
drivers/input/touchscreen/Makefile | 1 +
@amery
amery / gist:3091730
Created July 11, 2012 16:58
[PATCH] arm: sun4i: rtl8192cu wifi enabler
From 3b18c169fab56165763b7ccdb265650a6379b546 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Emilio=20L=C3=B3pez?= <turl@tuxfamily.org>
Date: Wed, 6 Jun 2012 22:48:07 +0000
Subject: [PATCH] arm: sun4i: rtl8192cu wifi enabler
The sun4i-rtl8192cu will power and enable the rtl8192cu wifi chip
on the sun4i platform, so you can use the rtl8192cu mainline driver.
Choosing y will enable it on boot, choosing m will give you a
loadable module to turn it on/off.
---
--- djbdns-1.05/query.c.orig 2012-07-10 09:24:23.000000000 +0200
+++ djbdns-1.05/query.c 2012-07-10 09:24:26.000000000 +0200
@@ -578,6 +578,7 @@
}
if (!dns_domain_suffix(t1,control)) { i = j; continue; }
+ if (byte_equal(type,2,DNS_T_NS) && dns_domain_equal(t1,control)) { i = j; continue; }
if (!roots_same(t1,control)) { i = j; continue; }
if (byte_equal(type,2,DNS_T_ANY))
<5>Registering SWP/SWPB emulation handler
[ 3.380000] Registering SWP/SWPB emulation handler
<4>axp20_buck2: Failed to create debugfs directory
[ 3.390000] axp20_buck2: Failed to create debugfs directory
<6>registered taskstats version 1
[ 3.400000] registered taskstats version 1
<4>axp20_buck3: incomplete constraints, leaving on
[ 3.410000] axp20_buck3: incomplete constraints, leaving on
<4>axp20_buck2: incomplete constraints, leaving on
[ 3.420000] axp20_buck2: incomplete constraints, leaving on
[product]
version = "1.0"
machine = "A10-EVB-V1.1"
[target]
boot_clock = 1008
dcdc2_vol = 1400
dcdc3_vol = 1250
ldo2_vol = 3000
ldo3_vol = 2800
ldo4_vol = 2800