Skip to content

Instantly share code, notes, and snippets.

View zhufengning's full-sized avatar
🌴
On Tree

Fengning Zhu zhufengning

🌴
On Tree
View GitHub Profile
@huj13k4n9
huj13k4n9 / terminals.py
Created May 10, 2023 07:21
context.terminal for different terminals in pwntools.
# Zellij
context.terminal = ["zellij", "action", "new-pane", "-d", "right", "-c", "--", "bash", "-c"]
# Alacritty
context.terminal = ["alacritty", "-e", "bash", "-c"]
# GNOME Terminal
context.terminal = ["gnome-terminal", "--", "bash", "-c"]
# GNOME Console
@MysteryDash
MysteryDash / unraid-tmux.plg
Last active March 19, 2024 15:13
A simple plugin to add tmux to unraid
<?xml version='1.0' standalone='yes'?>
<PLUGIN>
<!--
A simple plugin to add tmux to unraid
-->
<FILE Name="/boot/packages/libevent-2.1.12-x86_64-3.txz" Run="upgradepkg --install-new">
<URL>http://slackware.cs.utah.edu/pub/slackware/slackware64-15.0/slackware64/l/libevent-2.1.12-x86_64-3.txz</URL>
</FILE>
@bradtraversy
bradtraversy / mysql_cheat_sheet.md
Last active November 15, 2024 18:40
MySQL Cheat Sheet

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@esterTion
esterTion / 0_BiliComicWebReader
Last active November 12, 2024 15:58
BiliComicWebReader
shit title placeholder
@Arham4
Arham4 / data.yaml
Last active September 20, 2023 01:26
Easy Jackson YAML Parsing with Kotlin
username: "Test"
password: "123456"
@wagenet
wagenet / glibc.md
Last active September 12, 2024 14:58
glibc Versions

glibc Versions

List of oldest supported version of top 10 Linux Distros and their glibc version according to distrowatch.com.

Summary

Out of all versions with published EOLs, 2.12 is the oldest glibc still active, found in CentOS 6.8.

If CentOS 6 and 7 are eliminated, the oldest glibc is 2.23 in Ubuntu and Slackware.

anonymous
anonymous / API.md
Created August 27, 2016 16:56
@shello
shello / randomEmoji.py
Last active October 5, 2023 09:16
Random Emoji! (for Python 3)
#!/usr/bin/env python3
from itertools import accumulate
from bisect import bisect
from random import randrange
from unicodedata import name as unicode_name
# Set the unicode version.
# Your system may not support Unicode 7.0 charecters just yet! So hipster.
UNICODE_VERSION = 6