Skip to content

Instantly share code, notes, and snippets.

View asmwarrior's full-sized avatar

ollydbg asmwarrior

  • 09:41 (UTC +08:00)
View GitHub Profile
@asmwarrior
asmwarrior / phrases.ini
Created February 20, 2022 09:51 — forked from tualatrix/phrases.ini
搜狗拼音输入法--自定义短语配置文件 for Mac,放在 /Library/Input Methods/SogouInput.app/Contents/Resources/phrases.ini 下即可
; 搜狗拼音输入法--自定义短语配置文件
;
; 说明:
; 1、自定义短语支持多行、空格、指定位置。
; 2、每条自定义短语最多支持30000个汉字,总共支持100000行内容。
; 3、自定义短语的格式如下:
;
; 单行的格式:
; 字符串+英文逗号+数字(指定排序位置)=短语
;
@asmwarrior
asmwarrior / lwarp-tips.md
Created February 16, 2022 14:58 — forked from DominikPeters/lwarp-tips.md
Some tips for using lwarp for Latex to HTML conversion

Replace natbib by biblatex to get citation links

\usepackage[backend=bibtex, style=authoryear-comp, natbib=true, sortcites=false]{biblatex}
\addbibresource{main.bib}

% optional if you want (Smith 1776) instead of (Smith, 1776)
\renewcommand*{\nameyeardelim}{\addspace}

\begin{document}
@asmwarrior
asmwarrior / libsig.h
Created February 10, 2022 08:08 — forked from codebrainz/libsig.h
Trivial C++ signal/callback mechanism
/*
* libsig.h - Trivial signal/callback library.
*
* Copyright (c) 2015 Matthew Brush <[email protected]>
* You can use this code under the MIT license as described here:
* https://opensource.org/licenses/MIT
*
* To create a signal, declare member variables of type
* `libsig::signal<...>` in your class. The template parameter is the
* argument types that will be passed to the callback functions.
@asmwarrior
asmwarrior / test.cpp
Created January 22, 2016 13:29
minimal sample code for wxListbook issue
#include <wx/wx.h>
#include <wx/listbook.h>
#include <wx/artprov.h>
class MyDialog1 : public wxDialog
{
public:
wxListbook* m_listbook1;