Skip to content

Instantly share code, notes, and snippets.

View kenanb's full-sized avatar

Kenan Bölükbaşı kenanb

View GitHub Profile
@kenanb
kenanb / contextl-documentation-method.lisp
Last active February 22, 2016 16:23
ContextL documentation methods for Layered Classes
;; DOCUMENTATION
;; With the following method definitions on generic function DOCUMENTATION,
;; "documentation (x symbol) (doc-type (eql 'type))" form works flawlessly in
;; CCL, ECL and CLISP while it doesn't work on SBCL and CMUCL because they do
;; not implement documentation methods that specialize on symbols in terms of
;; their class counterparts. Nothing to do about it except fixing
;; implementations.
(defmethod documentation ((x contextl:layered-class) (doc-type (eql 't)))
(documentation
@kenanb
kenanb / CMakeLists.diff
Created March 13, 2015 04:48
Cocos2d-x Template File Revisions
diff --git a/frameworks/CMakeLists.txt b/frameworks/CMakeLists.txt
index 07a5c6a..2e90a7d 100644
--- a/frameworks/CMakeLists.txt
+++ b/frameworks/CMakeLists.txt
@@ -50,7 +50,7 @@ add_subdirectory(${COCOS2D_ROOT})
# Some macro definitions
-if(WINDOWS)
+if(COCOS_TARGET_SYSTEM_WINDOWS)
@kenanb
kenanb / keybase.md
Last active August 29, 2015 14:01
keybase.md

Keybase proof

I hereby claim:

  • I am kenanb on github.
  • I am kenanb (https://keybase.io/kenanb) on keybase.
  • I have a public key whose fingerprint is C298 8996 6CAC DFF4 C176 A646 3BA3 FC66 C96C AC18

To claim this, I am signing this object: