Skip to content

Instantly share code, notes, and snippets.

View jasperan's full-sized avatar
:octocat:

Nacho Martinez jasperan

:octocat:
View GitHub Profile
@jasperan
jasperan / gist:dab4fa6fc28b5f7fce7a838bd36aab39
Created September 1, 2019 17:52 — forked from tracend/gist:912308
DirectInput keyboard scan codes
/****************************************************************************
*
* DirectInput keyboard scan codes
*
****************************************************************************/
#define DIK_ESCAPE 0x01
#define DIK_1 0x02
#define DIK_2 0x03
#define DIK_3 0x04
#define DIK_4 0x05
@jasperan
jasperan / remove_carriage.sh
Created August 20, 2024 22:38 — forked from slavailn/remove_carriage.sh
Remove carriage returns from the windows file for the use in linux
#! /bin/bash
sed -i 's/\r//g' file.txt