This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# automatically add existing sub directories to SUBDIRS | |
TEMPLATE = subdirs | |
SUBDIRS = $$system("ls -d */ | cut -f1 -d'/'") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
XINPUT="xinput" | |
TP_KEYWORD="Touchpad" | |
TP_CMD= | |
TP_ID=`$XINPUT | grep $TP_KEYWORD | awk -F '=' '{ print $2; }' | awk '{ print $1; }'` | |
if [ -z "$TP_ID" ]; then | |
echo "Unable to find touchpad" 1>&2 | |
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"----------------------------------------------------------- | |
" GENERAL | |
"---------------------------------------------------------- | |
" history | |
set history=700 | |
" enable filetype plugins | |
filetype plugin on | |
filetype indent on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <regex.h> | |
#include <errno.h> | |
#include <vector> | |
#include <unistd.h> | |
#include <unordered_map> | |
#define LINEBUFMAX 1024 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile template for small project | |
# Yunsik Jang <doomsday@kldp.org> | |
SYSROOT=/ | |
# If you use custom toolchain specify it | |
TOOLCHAIN_PATH := | |
TOOLCHAIN_PREFIX := | |
ifneq ($(strip $(TOOLCHAIN_PATH)),) |
NewerOlder