Skip to content

Instantly share code, notes, and snippets.

View joaodanil0's full-sized avatar
🎯
Focusing

João Danilo joaodanil0

🎯
Focusing
View GitHub Profile
@joaodanil0
joaodanil0 / gist:e1fd1d398f3303027502698d250f17b5
Created September 24, 2025 11:05
Dockerfile for appium
FROM ubuntu:24.04
LABEL maintainer="joaodanilo1992@gmail.com"
LABEL version="0.1"
LABEL description="Environmnet for appium tests"
WORKDIR "/workdir"
@joaodanil0
joaodanil0 / gist:34e5a0553b4cb5c7c405e2e066ad83c6
Created September 24, 2025 11:04
Android Virtual Device command line
FROM ubuntu:24.04
LABEL maintainer="joaodanilo1992@gmail.com"
LABEL version="0.1"
LABEL description="Environmnet for AVD"
WORKDIR "/workdir"
@joaodanil0
joaodanil0 / Dockerfile
Created May 25, 2025 11:05
Lazyvim container
FROM ubuntu:24.04
LABEL mainteiner="joaodanilo19922@gmail.com"
LABEL version="0.1"
LABEL description="Ambiente de programação para o curso de Go da rocketseat"
WORKDIR "/workspace"
RUN apt-get update
obj-m := snes_controller.o
PWD := $(CURDIR)
ARCH=arm64
CROSS_COMPILE=aarch64-none-linux-gnu-
KERNEL_DIR=/home/joao/android_kernel_brcm_rpi/out
all:
$(MAKE) -C $(KERNEL_DIR) M=$(PWD) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) modules
clean:
$(MAKE) -C $(KERNEL_DIR) M=$(PWD) clean
#include <linux/module.h>
#include <linux/cdev.h>
#include <linux/err.h>
#include <linux/gpio.h>
#include <linux/hrtimer.h>
#include <linux/jiffies.h>
#include <linux/delay.h>
#include <linux/input.h>
#include <linux/interrupt.h>
diff --git a/packages/SystemUI/res-keyguard/layout/keyguard_pattern_view.xml b/packages/SystemUI/res-keyguard/layout/keyguard_pattern_view.xml
index d9011c26..c8f40c0e 100644
--- a/packages/SystemUI/res-keyguard/layout/keyguard_pattern_view.xml
+++ b/packages/SystemUI/res-keyguard/layout/keyguard_pattern_view.xml
@@ -64,6 +64,17 @@
androidprv:layout_constraintDimensionRatio="1.0"
androidprv:layout_constraintVertical_bias="1.0"
/>
+
+ <TextView
@joaodanil0
joaodanil0 / .c
Created March 14, 2024 11:05
Mesh message
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#define sys_le24_to_cpu(val) (val)
#define __ASSERT_NO_MSG(test) { }
#define __packed __attribute__((__packed__))
#define UNALIGNED_GET(g) \
@joaodanil0
joaodanil0 / Raytrace
Created February 22, 2023 21:47
Enable Raytrace in steam proto AMD (rx 6600)
RADV_PERFTEST=rt VKD3D_CONFIG=dxr11 AMD_VULKAN_ICD=RADV VKD3D_FEATURE_LEVEL=12_2 %command%
@joaodanil0
joaodanil0 / Vrr amd
Created February 22, 2023 20:23
Enable vrr on linux
sudo nano /usr/share/X11/xorg.conf.d/10-amdgpu.conf
```
Section "OutputClass"
Identifier "AMDgpu"
MatchDriver "amdgpu"
Driver "amdgpu"
Option "DRI" "3"
Option "VariableRefresh" "true"
EndSection
# Hide Top Bar
- https://extensions.gnome.org/extension/545/hide-top-bar/
`