Skip to content

Instantly share code, notes, and snippets.

@Canorus
Canorus / New_Keyboard_Shield_KR.md
Last active September 15, 2025 02:08
ZMK의 새 키보드 쉴드 만들기 문서를 한글화 해보았습니다.

원본 문서

새 키보드 쉴드

개요

이 가이드에서는 (Pro Micro 호환) MCU 보드를 사용하는 키보드에 ZMK 지원을 추가하기 위한 과정을 안내합니다. 큰 틀에서의 단계는:

  • 새 쉴드 디렉터리를 생성
  • 기본 Kconfig 파일들을 추가
@roipeker
roipeker / main.dart
Created September 3, 2020 00:27
Getx Subnavigators Colors
/// roipeker - 2020
/// Based on
/// https://medium.com/coding-with-flutter/flutter-case-study-multiple-navigators-with-bottomnavigationbar-90eb6caa6dbf
import 'package:flutter/material.dart';
import 'package:get/get.dart';
class SampleMultiNavColors extends StatelessWidget {
@override
@raveenb
raveenb / ssh_into_android.md
Last active August 27, 2025 02:29
SSH into Android

Connecting to an Android device over SSH

Initial Setup

Install Android App Termux from APKPure or AppStore. If the app exists, just delete and re-install it to get the latest version, The APK can be downloaded from https://apkpure.com/termux/com.termux/ Install the APK using by running

adb install ~/Downloads/Termux_v0.73_apkpure.com.apk
#include <BLEDevice.h>
#include <BLEUtils.h>
#include <BLEServer.h>
#include "BLE2902.h"
#include "BLEHIDDevice.h"
#include "HIDTypes.h"
#include "HIDKeyboardTypes.h"
// See the following for generating UUIDs:
// https://www.uuidgenerator.net/
@kelvinc1024
kelvinc1024 / NestedScrollCoordinatorLayout.java
Last active April 22, 2025 22:37
Nested Scrolling Layout
import android.content.Context;
import android.support.annotation.Nullable;
import android.support.design.widget.CoordinatorLayout;
import android.support.v4.view.NestedScrollingChild2;
import android.support.v4.view.NestedScrollingChildHelper;
import android.support.v4.view.ViewCompat;
import android.util.AttributeSet;
import android.view.View;
@sabas1080
sabas1080 / ESP32_HID.ino
Last active November 25, 2024 08:30
Example of HID Keyboard BLE with ESP32
/*
Copyright (c) 2014-2020 Electronic Cats SAPI de CV. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@taking
taking / Brewfile
Last active February 6, 2021 15:25
2018-10-14 Updated
# Taps
tap "homebrew/core"
tap "homebrew/cask"
tap "homebrew/bundle"
# Application Path
cask_args appdir: "/Applications"
# Binaries/Libraries
brew "coreutils" # Install GNU Core Utilities
@samehmikhail
samehmikhail / ViewOnClickListener2.kt
Last active June 21, 2019 01:55
Android kotlin view extension that adds protection period that prevent firing onClick event within defined window. Which is helping to filter click events that may come from monkey testing
import android.view.View
fun View.setOnClickListener2(listener : View.OnClickListener) {
setOnClickListener(ClickListenerWrapper(listener))
}
fun View.setOnClickListener2(listener : (v: View)->Unit) {
setOnClickListener(ClickListenerWrapper(listener))
}