Skip to content

Instantly share code, notes, and snippets.

Vitaly Osipov agelastic

Block or report user

Report or block agelastic

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@agelastic
agelastic / back.html
Created Nov 20, 2017
Anki back template for Chinese cards
View back.html
<div class=tags> {{#Tags}}{{Tags}} -- {{/Tags}}{{Deck}}</div>
<br>
{{#Russian}}{{Russian}}<p/>{{/Russian}}
{{English}}<p/>
<br>
<div class=chinese>{{Hanzi}}</div></p>
{{Pinyin}}
</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
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
agelastic / AnkiFront.htm
Created Nov 20, 2017
Anki front template for Chinese cards
View AnkiFront.htm
<div class=tags> {{#Tags}}{{Tags}} -- {{/Tags}}{{Deck}}</div>
<br>
<br><br><br>
<div class=chinese>{{Hanzi}}</div>
<div id="text"></div>
<span style="display:none;" id="Tags">{{Tags}}</span>
<script>
var d = document;
@agelastic
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
-dontobfuscate
-dontpreverify
-printusage
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
@agelastic
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
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/build_binary_dist.py b/build_binary_dist.py
old mode 100644
new mode 100755
index 77ca6e7..b12c178
--- a/build_binary_dist.py
+++ b/build_binary_dist.py
@@ -34,11 +34,11 @@ from distutils.spawn import find_executable
def get_build_cmd(platform):
You can’t perform that action at this time.