Skip to content

Instantly share code, notes, and snippets.

View 0xPr0xy's full-sized avatar
🎯
Focusing

Peter IJlst 0xPr0xy

🎯
Focusing
View GitHub Profile
@0xPr0xy
0xPr0xy / BoundCode.swift
Created July 3, 2018 11:51
composition over inheritance with viewcontroller lifecycle awareness
class UIViewControllerLifecycleBound: UIViewController {
public let lifecycleBindings = LifecycleBound()
init() {
super.init(nibName: nil, bundle: nil)
}
required init?(coder aDecoder: NSCoder) {
fatalError("init(coder:) has not been implemented")
Detecting chip type... ESP32
BLOCK0 ( ) [0 ] read_regs: 00000080 a3c75990 0033c9c9 0000a001 00000732 00200000 00000004
BLOCK1 (flash_encryption) [1 ] read_regs: 08001000 00000000 00000000 00000000 00000040 00000040 00008000 40000820
BLOCK2 (secure_boot_v1 s) [2 ] read_regs: 00400000 00000000 00000000 00000000 00000000 00000001 00000000 00000001
BLOCK3 ( ) [3 ] read_regs: 00000000 00000010 10008000 00000000 00000000 00020000 00000000 40000000
EFUSE_REG_DEC_STATUS 0x00000000
espefuse.py v3.3-dev
@0xPr0xy
0xPr0xy / torrent_cli.py
Created April 25, 2014 09:04
torrent cli
#!/usr/bin/env python
from BeautifulSoup import BeautifulSoup
import click
import requests
@click.group()
def cli():
pass
@click.command()
q --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs
2020-12-28_16:39:56.10716 avdevice configuration: --prefix=/usr --extra-version='1~deb10u1+rpt1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopen
@0xPr0xy
0xPr0xy / proxyscraper.py
Created July 29, 2012 17:15
scrapes proxy ip and ports
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import requests as request
import sys
from bs4 import BeautifulSoup
class Requester:
var express = require('express');
var app = express();
var port = process.env.PORT || 5000;
var request = require('request');
var zlib = require('zlib');
//
// CertificatePinner.swift
// BenuApp
//
// Created by Peter IJlst | The Mobile Company on 02/10/2018.
// Copyright © 2018 The Mobile Company. All rights reserved.
//
import WebKit
import Alamofire
@0xPr0xy
0xPr0xy / Package.swift
Created December 20, 2017 14:30
Package swift
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "VaporBlog",
products: [
.library(name: "App", targets: ["App"]),
.executable(name: "Run", targets: ["Run"])
],
@0xPr0xy
0xPr0xy / android-gdx-3d.java
Created April 2, 2014 15:42
android gdx 3d
package com.example.game.game;
import android.util.Log;
import com.badlogic.gdx.ApplicationListener;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.FPSLogger;
import com.badlogic.gdx.graphics.OrthographicCamera;

Keybase proof

I hereby claim:

  • I am 0xpr0xy on github.
  • I am 0xpr0xy (https://keybase.io/0xpr0xy) on keybase.
  • I have a public key ASCxVDxwL81Orq161jRIWV8-fD2hfdSVCjImsxFIcAVVcAo

To claim this, I am signing this object: