Skip to content

Instantly share code, notes, and snippets.


Ryan Lahfa RaitoBezarius

View GitHub Profile
williballenthin /
Last active Aug 30, 2021
automatically resolve shellcode hashes into symbolic names using emulation, example:
import os
import sys
import logging
import pefile
import ucutils
import unicorn
import capstone
import argparse
ugiacoman /
Last active Jan 6, 2021
SSR + CSR using next.js

Whether your component relies on client-side features or you are using 3rd party components that are not designed for server-side rendering, sometimes you'll want to defer rendering until on the client. For our example, we'll be using react-chart-2 to load a Doughnut chart.


You'll need a next project and to install chart.js + react-chartjs-2.

$ npm install --save chart.js react-chartjs-2  
bishboria /
Last active Aug 27, 2021
Springer made a bunch of books available for free, these were the direct links
kristopolous / hn_seach.js
Last active Jul 22, 2021
hn job query search
View hn_seach.js
function query() {
// HN is done with very unsemantic classes.
job_list ='.c5a,.cae,.c00,.c9c,.cdd,.c73,.c88')),
query_list =,
shown = 0, total = job_list.length;
// Traverses up the dom stack trying to find a match of a specific class
function up_to(node, klass) {
if (node.classList.contains(klass)) {