Skip to content

Instantly share code, notes, and snippets.

View manaskarekar's full-sized avatar
🐊
Ataraxia

Manas Karekar manaskarekar

🐊
Ataraxia
View GitHub Profile
@manaskarekar
manaskarekar / keychron_linux.md
Created May 27, 2024 01:03 — forked from andrebrait/keychron_linux.md
Keychron keyboards on Linux + Bluetooth fixes

Here is the best setup (I think so :D) for K-series Keychron keyboards on Linux.

Note: many newer Keychron keyboards use QMK as firmware and most tips here do not apply to them. Maybe the ones related to Bluetooth can be useful, but everything related to Apple's keyboard module (hid_apple) on Linux, won't work. As far as I know, all QMK-based boards use the hid_generic module instead. Examples of QMK-based boards are: Q, Q-Pro, V, K-Pro, etc.

Most of these commands have been tested on Ubuntu 20.04 and should also work on most Debian-based distributions. If a command happens not to work for you, take a look in the comment section.

Make Fn + F-keys work (NOT FOR QMK-BASED BOARDS)

Older Keychron keyboards (those not based on QMK) use the hid_apple driver on Linux, even in the Windows/Android mode, both in Bluetooth and Wired modes.

VIM KEYBOARD SHORTCUTS

MOVEMENT

h        -   Move left
j        -   Move down
k        -   Move up
l        -   Move right
$        -   Move to end of line
0        -   Move to beginning of line (including whitespace)
@manaskarekar
manaskarekar / richhickey.md
Created April 18, 2018 11:32 — forked from prakhar1989/richhickey.md
richhickey.md

Rich Hickey on becoming a better developer

Rich Hickey • 3 years ago

Sorry, I have to disagree with the entire premise here.

A wide variety of experiences might lead to well-roundedness, but not to greatness, nor even goodness. By constantly switching from one thing to another you are always reaching above your comfort zone, yes, but doing so by resetting your skill and knowledge level to zero.

Mastery comes from a combination of at least several of the following:

@manaskarekar
manaskarekar / maplemini.md
Last active January 26, 2018 13:45
Maple mini setup instructions
@manaskarekar
manaskarekar / esp8266.md
Last active January 26, 2018 13:14
Easy steps for programming ESP8266

Note: These instructions were written in mid 2017.

ESP8266

Lots of options exist for programming these. See https://en.wikipedia.org/wiki/ESP8266

Wemos D1 Mini

Program using Arduino IDE

@manaskarekar
manaskarekar / raspbian_installation.md
Last active January 26, 2018 13:16
Raspbian Installation Raspberry Pi

Simple Raspberry Pi setup using *ubuntu.

Raspbian and remote access using ssh.

Hardware needed:

  • Raspberry Pi.
  • Power Supply.
  • Micro SD card.
  • For initial setup:
@manaskarekar
manaskarekar / STM32F4Discovery_QuickStart.md
Last active March 26, 2016 16:51
STM32 F4 Discovery Examples Quick Start

After going through a confusing amount of resources, I finally found a workflow to load up an example on the STM32 F4 Discovery board. (And likely, other boards)

Simple way to get Examples to show up in STM32F4, and possibly others.

  • Install STM32CubeMX.
  • Create a New Project and select the correct hardware. You can click on the ">>" button to see a photo of the hardware.
  • Click 'Generate Code'.
  • It will prompt you to download the correct Firmware. Go ahead.
  • It will install STM32Cube.
  • In the STM32Cube folder, go to Repository > STM32Cube_FW_ > Projects > .
@manaskarekar
manaskarekar / about.md
Created August 19, 2012 21:25 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
@manaskarekar
manaskarekar / postone.c
Created April 26, 2012 13:52
Post one.
//Let's try this again.
#include <stdio.h>
int main(int argc, int **argv){
printf("Hello Blogging World\n");
return 0;
}