View covidmap.R
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
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)) |
View patch vendor-asus for ubp-5.1
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 --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 := \ |
View ubp-5.1 deb defconfig 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
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" |
View ubp-5.1 deb
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
<?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" |
View test_sensors
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
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 |
View ice
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
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 |
View lineageos_rhine_amami_row_defconfig
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_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 |
View sony_amami.xml
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
<?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" /> |
View google-voice.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
#!/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" |
View oxide.qml
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 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" |
NewerOlder