Who | Cherry MX Blue | Cherry MX Brown | Cherry MX Clear | Ruberdome crap |
---|---|---|---|---|
@to1ne | Ergodox 2 v7T12 | Truly Ergonomic 207 | ||
@LennyDonnez | DAS Keyboard | |||
@lewisfidlers | POK3R (white) | |||
@nathan_de_witte | [[https://www.microsoft.com/hard |
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
diff --git a/parse.h b/parse.h | |
index b65ad8f..174e702 100644 | |
--- a/parse.h | |
+++ b/parse.h | |
@@ -49,7 +49,10 @@ extern int yydebug; | |
# define YYTOKENTYPE | |
enum yytokentype | |
{ | |
+ YYEMPTY = -2, | |
END_OF_INPUT = 0, |
C/C++
void* a = NULL; // not sure about all compiler
C++11
void* a = nullptr;
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
;; negativ-faces | |
;; give all faces their negative color. | |
;; | |
;; Works great on the default theme: | |
;; * Just remove all `(load-theme xzy)' from your .emacs.d | |
;; * Restart emacs | |
;; * Run `(negativ-negative-all-faces)' | |
;; * To undo, run `(negativ-negative-all-faces)' again | |
;; | |
;; based on http://www.emacswiki.org/emacs/AngryFruitSalad |
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 | |
err="not enough RAM to write swap back, nothing done" | |
mem=`free|grep Mem:|awk '{print $4}'` | |
swap=`free|grep Swap:|awk '{print $3}'` | |
test $mem -lt $swap && echo -e $err && exit 1 | |
swapoff -a && swapon -a && | |
exit 0 |
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
# | |
# A little function to add html markup around emacs commands found in text. | |
# | |
def markup_emacs(text) | |
# defuns are put between () # TODO nested defuns | |
text.gsub!(/(\([^\)]+\))/, '<code>\1</code>') | |
# keyboard strokes | |
# -> M-x some-defun | |
# -> and other combo's | |
key = '(?:<[^&]+>|\w\b|[^\s\w])' |
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
diff --git a/src/Makefile.in b/src/Makefile.in | |
index 3489d6f..6e982a8 100644 | |
--- a/src/Makefile.in | |
+++ b/src/Makefile.in | |
@@ -60,7 +60,7 @@ am__mv = mv -f | |
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | |
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
CCLD = $(CC) | |
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
+LINK = $(CCLD) $(subst -export-dynamic,--export-dynamic, $(AM_CFLAGS)) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
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
==> Build Environment | |
PATH: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin | |
CFLAGS: -O4 -march=core2 -mmmx -msse4.1 -w -pipe | |
MAKEFLAGS: -j2 | |
CC: /Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 | |
CXX: /Developer/usr/llvm-gcc-4.2/bin/llvm-g++-4.2 | |
==> Downloading http://downloads.sourceforge.net/project/klavaro/klavaro-1.4.0.tar.bz2 | |
File already downloaded and cached to /Users/toine/Library/Caches/Homebrew | |
/usr/bin/tar xf /Users/toine/Library/Caches/Homebrew/klavaro-1.4.0.tar.bz2 | |
==> ./configure --prefix=/usr/local/Cellar/klavaro/1.4.0 --disable-debug --disable-dependency-tracking |
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
» brew install klavaro | |
==> Downloading http://ftp.gnu.org/pub/gnu/gettext/gettext-0.17.tar.gz | |
######################################################################## 100.0% | |
==> Patching | |
######################################################################## 100.0% | |
patching file gettext-runtime/gnulib-lib/setenv.c | |
patching file gettext-tools/gnulib-lib/execute.c | |
patching file gettext-tools/gnulib-lib/pipe.c | |
patching file gettext-tools/gnulib-lib/setenv.c | |
patching file gettext-tools/gnulib-lib/unsetenv.c |
NewerOlder