Skip to content

Instantly share code, notes, and snippets.

View DavidNorena's full-sized avatar

David Noreña Perez DavidNorena

View GitHub Profile
@DavidNorena
DavidNorena / TOS.md
Created March 12, 2024 22:37
Temporary Terms and conditions

We are working on this

Since we are still developing the platform we will need to create the terms and conditions and replace this document for a real one.

Thanks !

@DavidNorena
DavidNorena / README.md
Last active August 8, 2018 20:32
run android emulator from terminal LINUX-MAC/WINDOWS
--- node_modules/antd-mobile-rn/lib/segmented-control/segmented.android.js 2018-06-15 01:30:43.000000000 -0500
+++ node_modules/antd-mobile-rn/lib/segmented-control/segmented.android.fix.js 2018-07-16 16:44:43.000000000 -0500
@@ -26,7 +26,7 @@
var _reactNative = require('react-native');
-var _normalizeColor = require('react-native/Libraries/StyleSheet/normalizeColor');
+var _normalizeColor = require('normalize-css-color');
var _normalizeColor2 = _interopRequireDefault(_normalizeColor);
@DavidNorena
DavidNorena / nethunterhuaweig760_defconfig
Created September 24, 2017 18:39
Kernel configuration Huawei G760 Nethunter Compatible
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.10.49 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_ARM_HAS_SG_CHAIN=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_HAVE_PROC_CPU=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile
index 581a5ae..6be0aa5 100644
--- a/drivers/usb/gadget/Makefile
+++ b/drivers/usb/gadget/Makefile
@@ -67,7 +67,7 @@
g_webcam-y := webcam.o
g_ncm-y := ncm.o
g_acm_ms-y := acm_ms.o
-g_android-y := android.o
+g_android-y := android.o f_hid.o
@DavidNorena
DavidNorena / compile.sh
Last active April 16, 2020 03:10
Compile HUAWEI G760 Kernel Nethunter Compatible (Using mparus lineageos rom)
Using ubuntu 16.04 x64
sudo apt-get update
sudo apt-get install build-essential kernel-package libncurses5-dev bzip2 gcc-arm-none-eabi python-pip -y
sudo pip install requests
echo "export CROSS_COMPILE=/usr/bin/arm-none-eabi-" >> ~/.bashrc
echo "export ARCH=arm" >> ~/.bashrc
source ~/.bashrc
mkdir kernel