Skip to content

Instantly share code, notes, and snippets.

agelastic / back.html
Created Nov 20, 2017
Anki back template for Chinese cards
View back.html
<div class=tags> {{#Tags}}{{Tags}} -- {{/Tags}}{{Deck}}</div>
<div class=chinese>{{Hanzi}}</div></p>
{{#Measure Word}}<div class=chinese><span class=comment>MW:</span> {{Measure Word}}</div>{{/Measure Word}}
{{#Simplified}}<div class=chinese><span class=comment>S:</span> {{Simplified}}</div>{{/Simplified}}
agelastic / styling.css
Created Nov 20, 2017
Anki styling for Chinese cards
View styling.css
.card {
font-family: arial;
font-size: 20px;
text-align: center;
color: black;
background-color: white;
.card { word-wrap: break-word; }
.win .chinese { font-family: "MS Mincho", "MS 明朝"; }
.mac .chinese { font-family: "STFangsong"}
agelastic / AnkiFront.htm
Created Nov 20, 2017
Anki front template for Chinese cards
View AnkiFront.htm
<div class=tags> {{#Tags}}{{Tags}} -- {{/Tags}}{{Deck}}</div>
<div class=chinese>{{Hanzi}}</div>
<div id="text"></div>
<span style="display:none;" id="Tags">{{Tags}}</span>
var d = document;
agelastic / deob.conf
Created Mar 3, 2016
A config to partially deobfuscate proguarde-ed code
View deob.conf
-injars <obfuscated jar>
-outjars <result>
-libraryjars $HOME/Library/Android/sdk/platforms/android-19/android.jar ; or similar
-optimizationpasses 10
agelastic / diff.diff
Last active Feb 23, 2016
Compiling HexRaysCodeXplorer for 32-bit IDA 6.8 OSX
View diff.diff
diff --git a/src/HexRaysCodeXplorer/CodeXplorer.cpp b/src/HexRaysCodeXplorer/CodeXplorer.cpp
index 5be7ce9..6f4b1f1 100644
--- a/src/HexRaysCodeXplorer/CodeXplorer.cpp
+++ b/src/HexRaysCodeXplorer/CodeXplorer.cpp
@@ -23,6 +23,7 @@ along with this program. If not, see
+#include <stdlib.h>
#include "Common.h"
agelastic / gist:bfb3d8c3d00f7a93ea99
Last active Jan 25, 2016
quick changes to IDASkins build files to compile a 32-bit OSX plugin
View gist:bfb3d8c3d00f7a93ea99
diff --git a/ b/
old mode 100644
new mode 100755
index 77ca6e7..b12c178
--- a/
+++ b/
@@ -34,11 +34,11 @@ from distutils.spawn import find_executable
def get_build_cmd(platform):