Skip to content

Instantly share code, notes, and snippets.

View secondfry's full-sized avatar
More Pylons are required...

Rustam @SecondFry Gubaydullin secondfry

More Pylons are required...
View GitHub Profile
mbinna /
Last active July 19, 2024 02:18
Effective Modern CMake

Effective Modern CMake

Getting Started

For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.

After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](

jdkanani / notepad.html
Last active June 16, 2024 13:44 — forked from jakeonrails/Ruby Notepad Bookmarklet
This bookmarklet gives you a code editor in your browser with a single click.
data:text/html, <style type="text/css">.e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div class="e" id="editor"></div><script src="" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("editor");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script>
For other language: Instead of `ace/mode/ruby`, Use
Markdown -> `ace/mode/markdown`
Python -> `ace/mode/python`
C/C++ -> `ace/mode/c_cpp`
Javscript -> `ace/mode/javascript`
Java -> `ace/mode/java`
Scala- -> `ace/mode/scala`
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
name,URL,supported platforms,GUI,CLI,supported hosts,add-on reconciliation,game detection,search,can install add-ons from URL,supports pre-releases,can install old versions of add-ons,supports ignoring and/or pinning add-ons,host swapping,can be configured to update add-ons without user input,can export and import list of installed add-ons,supports updating installed weakauras from,makes backups,self-updates,licence,user tracking,installed add-on database,configuration location,language,availability,approximate binary size,version as of writing
CurseBreaker,,all,no,TUI,"wowi, tukui, addons.wago (requires access token), github releases",optional,implicit; has to be placed in game folder,wago through their API,yes,curse and github only,no,pin,no,in headless mode,yes,yes,WTF folder on demand and every 24h,yes,gpl3,none,JSON file in WTF folder,WTF folder,Python,binaries,~10 mb,4.3.1
instawow,,all,yes (WebView),yes,"curse (requires ac
levensta /
Created March 30, 2022 03:49
GPG ключи для Git

GPG ключи для Git

GPG ключ может использоваться для подписи коммитов в Git. Подписанный коммит подтверждает, что он сделан именно текущим автором, а в GitHub, при должных настройках, коммиты отображаются с галочкой. Чуть более подробно про GPG тут.

GitHub поддерживает несколько алгоритмов шифрования GPG ключей:

  • RSA
  • ElGamal
  • DSA
  • ECDH