I hereby claim:
- I am tsundokul on github.
- I am tim17d (https://keybase.io/tim17d) on keybase.
- I have a public key whose fingerprint is 5CC8 327E E74D 0D3D 3AD8 4B96 A3A2 C1C2 5760 4FB5
To claim this, I am signing this object:
| #!/usr/bin/env ruby | |
| # initial_indent: the offset after the equals sign for the first line of string | |
| # add_indent: the offset used for the rest of the lines (say you have the string within an indented method) | |
| def code_split(orig_s, initial_indent=0, add_indent=0, max_len=80) | |
| # Simple chech before getting the work done | |
| if (add_indent + 5) > max_len | |
| raise "Not enough space left for lines." | |
| end |
| #!/usr/bin/env python3 | |
| import requests | |
| from lxml import html | |
| # Make sure you have a directory named wp_plugins/ in the cwd | |
| def get_links(url): | |
| page = requests.get(url) |
| #!/usr/bin/env python3 | |
| # First install the required modules (Python 3) | |
| # pip3 install paramiko eml-parser | |
| import base64 | |
| import email | |
| import getpass | |
| import imaplib | |
| import os | |
| import paramiko | |
| import re |
| typedef struct Node Node; | |
| struct Node { | |
| int val; | |
| Node* prev; | |
| Node* next; | |
| }; | |
| typedef struct { |
I hereby claim:
To claim this, I am signing this object:
| t a a bt | |
| call (void) close(1) | |
| call (void) close(2) | |
| shell tty | |
| call (int) open("/dev/pts/0", 2, 0) | |
| call (int) open("/dev/pts/0", 2, 0) | |
| call (void) rb_backtrace() |
| # See https://github.com/quentinhardy/odat | |
| # Download Oracle rpms from https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html | |
| FROM debian:stretch | |
| SHELL ["/bin/bash", "-cl"] | |
| # Reduce output from debconf | |
| env DEBIAN_FRONTEND noninteractive | |
| # Install python-dev, alien and libaio1 package (for sqlplus) and some python libraries | |
| RUN apt-get update && apt-get install -y --no-install-recommends apt-utils git wget libaio1 alien build-essential dpkg-dev python3-dev python3-setuptools python3-pip ca-certificates |
| #!/usr/bin/env python3 | |
| # Usage python ./ajp.py <include_path> | |
| import struct | |
| from pwn import * | |
| from sys import argv | |
| context.log_level = logging.DEBUG |
| OPENSSL_1.0.0 { | |
| global: | |
| BIO_f_ssl; | |
| BIO_new_buffer_ssl_connect; | |
| BIO_new_ssl; | |
| BIO_new_ssl_connect; | |
| BIO_proxy_ssl_copy_session_id; | |
| BIO_ssl_copy_session_id; | |
| BIO_ssl_shutdown; | |
| d2i_SSL_SESSION; |
| #!/bin/bash | |
| . $HOME/.bashrc | |
| # Check if second monitor is connected and set | |
| # $_SCR1 and $_SCR2 variables | |
| . $HOME/scripts/setscreen.sh | |
| ## BSPWM configuration | |
| # Set desktop names |