Skip to content

Instantly share code, notes, and snippets.

View elgiano's full-sized avatar

gianlucaelia elgiano

View GitHub Profile
@elgiano
elgiano / android.patch
Last active August 8, 2020 11:02
supercollider CMakeLists patch for Android
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8c8ad17de..9a9c6f019 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,11 +3,15 @@ include(SCVersion.txt)
# CMake versions can only consist of digits and periods, so don't use _TWEAK
project(SuperCollider VERSION ${SC_VERSION_MAJOR}.${SC_VERSION_MINOR}.${SC_VERSION_PATCH})
-if (CMAKE_SYSTEM_NAME MATCHES "Linux")
+if (CMAKE_SYSTEM_NAME MATCHES "Linux|Android")
@elgiano
elgiano / fb
Created April 30, 2015 15:23
fb event
while((x = document.getElementsByClassName("_1pu4")).length>0){for(i=0;i<x.length;i++){x[i].click()}}