Skip to content

Instantly share code, notes, and snippets.

View dron247's full-sized avatar

dron247 dron247

View GitHub Profile
@dron247
dron247 / NuPhy_air75_macos_fixed_media_by_fn.json
Created November 6, 2024 02:39
Fixed Mac OS layout config for NuPhy Air 75 for VIA(refer to official web site for instructions). Layer 0(FN not pressed) has F1..F12 keys active, and Layer 1(FN pressed) you'll have an access to media keys, screen brightness keys are working, unlike the factory preset
{
"name": "NuPhy Air75 V2",
"vendorProductId": 435499590,
"macros": [
"{KC_SLCK}",
"{KC_PAUS}",
"",
"",
"",
"",
@luanmm
luanmm / AndroidManifest.xml
Last active December 1, 2023 20:01
Android WorkManager dependency injection (with Dagger)
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
...>
<application
...>
...
@lattner
lattner / TaskConcurrencyManifesto.md
Last active December 6, 2025 10:37
Swift Concurrency Manifesto
@nepsilon
nepsilon / git-change-commit-messages.md
Last active November 19, 2024 18:18
How to change your commit messages in Git? — First published in fullweb.io issue #55

How to change your commit messages in Git?

At some point you’ll find yourself in a situation where you need edit a commit message. That commit might already be pushed or not, be the most recent or burried below 10 other commits, but fear not, git has your back 🙂.

Not pushed + most recent commit:

git commit --amend

This will open your $EDITOR and let you change the message. Continue with your usual git push origin master.

@jacobmoncur
jacobmoncur / gist:8587185
Created January 23, 2014 21:28
Gradle file for getting maven dependencies hosted on private github repo
repositories {
mavenCentral()
maven {
url = 'https://github.com/github-username/github-project/raw/master'
credentials {
username 'my-username'
password 'my-password'
}
}
}