Skip to content

Instantly share code, notes, and snippets.

@doniks
doniks / covidmap.R
Created October 24, 2020 19:50 — forked from mschnetzer/covidmap.R
Entwicklung der Covid-Pandemie in Österreichs Bezirken (https://twitter.com/matschnetzer/status/1319904508386942976)
library(tidyverse)
library(sf)
library(gganimate)
library(transformr)
library(lubridate)
library(msthemes) # https://github.com/mschnetzer/msthemes
# Import online map
bezirke <- st_read("https://raw.githubusercontent.com/ginseng666/GeoJSON-TopoJSON-Austria/master/2017/simplified-99.9/bezirke_999_geo.json") %>%
mutate(iso = as.numeric(iso))
diff --git a/deb/deb-vendor.mk b/deb/deb-vendor.mk
index 782d9ed..231543a 100644
--- a/deb/deb-vendor.mk
+++ b/deb/deb-vendor.mk
@@ -22,10 +22,6 @@ PRODUCT_PACKAGES := \
VisualizationWallpapers \
librs_jni
-# Publish that we support the live wallpaper feature.
-PRODUCT_COPY_FILES := \
git diff
diff --git a/arch/arm/configs/cyanogen_flo_defconfig b/arch/arm/configs/cyanogen_flo_defconfig
index eaf95c6..c5a999d 100644
--- a/arch/arm/configs/cyanogen_flo_defconfig
+++ b/arch/arm/configs/cyanogen_flo_defconfig
@@ -44,16 +44,18 @@ CONFIG_IRQ_WORK=y
CONFIG_EXPERIMENTAL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
-CONFIG_LOCALVERSION="-cyanogenmod"
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project
path="device/asus/deb"
name="ubports/android_device_asus_deb"
remote="ubp" />
<project
path="device/asus/flo"
name="ubports/android_device_asus_flo"
phablet@ubuntu-phablet:~$ sudo test_sensors
library "/system/lib/hw/sensors.oem.so" not found
libsensor_add_waiting_client adding cb 0
Hardware module ID: sensors
Hardware module Name: Qualcomm Sensors Module
Hardware module Author: Qualcomm Inc.
Hardware module API version: 0x1
Hardware HAL API version: 0x100
Poll device version: 0x1000001
API VERSION 0.1 (legacy): 0x1
@doniks
doniks / ice
Created December 10, 2018 20:48
grep --color=always -C 20 ICE $( find security/ drivers/mmc drivers/scsi/ drivers/dma -name Kconfig ) | less -R
MMC_SDHCI_MSM_ICE
SCSI_UFS_QCOM_ICE
# CONFIG_ARM_PATCH_PHYS_VIRT is not set
CONFIG_EXPERIMENTAL=y
CONFIG_LOCALVERSION="-doniks-002"
CONFIG_FANOTIFY=y
CONFIG_SYSFS=y
CONFIG_PROC_FS=y
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_SIGNALFD=y
@doniks
doniks / sony_amami.xml
Last active November 4, 2018 11:29
halium amami
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="doniks"
fetch="https://github.com/doniks"
revision="halium-7.1" />
<remote name="sony"
fetch="https://github.com/sonyxperiadev"
revision="n-mr1" />
#!/bin/bash
arecord -f cd -t wav -r 16000 -d 5 | flac -f - -o sample.flac
wget -q -U "Mozilla/5.0" --post-file sample.flac --header="Content-Type: audio/x-flac; rate=16000" -O - \
"http://www.google.com/speech-api/v1/recognize?lang=en-us&client=chromium"
@doniks
doniks / oxide.qml
Created June 9, 2018 08:46 — forked from penk/oxide.qml
Example of Using Oxide with User Script
import QtQuick 2.0
import com.canonical.Oxide 0.1
WebView {
width: 800
height: 600
url: 'http://google.com'
context: WebContext {
userAgent: "Mozilla/5.0 (Ubuntu; Tablet) WebKit/537.21"