Skip to content

Instantly share code, notes, and snippets.

View ilgityildirim's full-sized avatar
👽
working...

Ilgıt Yıldırım ilgityildirim

👽
working...
View GitHub Profile
@ilgityildirim
ilgityildirim / keychron_linux.md
Created January 18, 2022 11:58 — forked from andrebrait/keychron_linux.md
Keychron keyboards on Linux (+ Bluetooth fixes)

Here is the best setup (I think so :D) for Keychron + Linux

Make Fn + F-keys work

Keychron Keyboards on Linux use the hid_apple driver (even in Windows/Android mode), both in Bluetooth and Wired modes. By default, this driver uses the F-keys as multimedia shortcuts and you have to press Fn + the key to get the usual F1 through F12 keys.

In order to change this, you need to change the fnmode parameter for the hid_apple kernel module. Here's some documentation on it, but a quick summary can be found below:

@ilgityildirim
ilgityildirim / ss.go
Created October 9, 2021 06:13 — forked from rgl/ss.go
take a screenshot of a specific Windows application window in pure Go
// +build windows
package screen
import (
"fmt"
"image"
"reflect"
"syscall"
"unsafe"
@ilgityildirim
ilgityildirim / _aws.graphql
Created July 22, 2021 09:50 — forked from sc0ttdav3y/_aws.graphql
AWS AppSync GraphQL scalars and directives to support type completion and error checking in Webstorm IDEs
# These are here to help the IDE recognise AWS types.
#
# Place this file outside the 'schema' directory so are not pushed to AWS,
# but are still picked up by PhpStorm's GraphQL plugin to help
# validate schemas.
#
# https://docs.aws.amazon.com/appsync/latest/devguide/scalars.html
#
scalar AWSDateTime
scalar AWSDate
@ilgityildirim
ilgityildirim / remove-all-from-docker.sh
Created October 30, 2019 07:35 — forked from beeman/remove-all-from-docker.sh
Remove all from Docker
# Stop all containers
docker stop `docker ps -qa`
# Remove all containers
docker rm `docker ps -qa`
# Remove all images
docker rmi -f `docker images -qa `
# Remove all volumes

Keybase proof

I hereby claim:

  • I am ilgityildirim on github.
  • I am ilgityildirim (https://keybase.io/ilgityildirim) on keybase.
  • I have a public key whose fingerprint is 522B 94A0 EF7D C034 C4B3 1191 9BB2 8627 086F DDBB

To claim this, I am signing this object:

@ilgityildirim
ilgityildirim / ngrok.md
Created January 13, 2018 19:36
Tunnel your local work to the internet using Ngrok
  • Download Ngrok first & unzip it & enter its directory
$ chmod +x ngrok
$ cp ngrok /usr/local/bin
  • Now try if everything is OK (in a directory where ngrok file doesn't exist). If you see Ngrok help, it means everything is OK.
$ ngrok -help