Skip to content

Instantly share code, notes, and snippets.

View marethyu's full-sized avatar
🙈
Playing hide and seek

Jimmy Yang marethyu

🙈
Playing hide and seek
  • UBC
  • Canada
View GitHub Profile
@Rudo2204
Rudo2204 / moeway_handlebars.md
Last active December 16, 2023 12:57
Selecting specific dictionary's entry from yomichan for making cards.

Download:

https://gist.github.com/Rudo2204/7327a5bd25a60aefee963fd65327a9b7

How to:

  • Add it to your yomichan.
  • It supports 8 dictionaries (the "recommended for first time monolingual users" from the guide).
glossary-jmdict
glossary-jmdict-compact : same as above, it only replaces linebreak with one single space to make it more compact. Could be useful.
glossary-kenkyusha
glossary-kensyusha-ne : ne stands for no-example. This basically removes all the example sentences from the entry.
#include <iostream>
#define XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#define X ;
#define Y class
#define Z {
#define R : public A {
#define X十 public:
#define Xー private:
#define HXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX };
@MattPD
MattPD / analysis.draft.md
Last active July 18, 2024 21:09
Program Analysis Resources (WIP draft)
@pugwonk
pugwonk / FIRE1-11.PAS
Created May 4, 2019 17:30
FIRE1-11.PAS
{ 旼컴컴컴컴컴컴커
? FIRE.PAS ?
旼컴컴컴컴컨컴컴컴컴컴컴컴좔컴컴컴컴컴?
?갚꾼 Version 1.11 (C) 22/6/94 昉굅 ?
쳐컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴?
?My puny attempt at a fire effect. ?
?Yes, I know... it'll all end in ?
?tears. Well, it was just about the ?
?only thing in the PCGPE that didn't ?
?involve incredible amounts of trig. ?
@jeremypruitt
jeremypruitt / CheatSheet-Pentesting.md
Last active June 1, 2024 14:49
Pentesting Cheatsheet

Reminders

Remember to log all the things!

  • Metasploit - spool /home//.msf3/logs/console.log
  • Save contents from each terminal!
  • Linux - script myoutput.txt # Type exit to stop

Setup

@chshersh
chshersh / parser-combinators-vs-parser-generators.md
Last active June 4, 2024 13:27
Per criterion comparison of Parser Generators and Parser Combinators

Legend:

  • ➖ poor (impossible or very hard to achieve)
  • ➕ good (possible but requires some dancing)
  • ✔️ excellent (very easy to achieve/have)

PC stands for parser combinators and PGparser generators.

Property Generators Combinators Description
Power ✔️ LALR ➕ LL(∞) PC can't handle left-recursive grammars (though, there's some article¹...).
@jhaddix
jhaddix / Testing_Checklist.md
Last active July 9, 2024 19:44 — forked from amotmot/WAHH_Task_Checklist.md
Fast Simple Appsec Testing Checklist
@steven2358
steven2358 / ffmpeg.md
Last active July 22, 2024 08:40
FFmpeg cheat sheet
@maaatts
maaatts / Screenshot.cpp
Created August 4, 2016 12:50
win32 stinks
#include "Screenshot.hpp"
Screenshot::Screenshot(int x, int y, int w, int h) : x(x), y(y), width(w), height(h)
{
HBITMAP hBitmap;
hdcSys = GetDC(NULL);
hdcMem = CreateCompatibleDC(hdcSys);
void *ptrBitmapPixels;