Skip to content

Instantly share code, notes, and snippets.

View unoexperto's full-sized avatar

unoexperto

View GitHub Profile
@unoexperto
unoexperto / things-i-believe.md
Created June 20, 2022 15:07 — forked from stettix/things-i-believe.md
Things I believe

Things I believe

This is a collection of the things I believe about software development. I have worked for years building backend and data processing systems, so read the below within that context.

Agree? Disagree? Feel free to let me know at @JanStette. See also my blog at www.janvsmachine.net.

Fundamentals

Keep it simple, stupid. You ain't gonna need it.

Goal

Create simple url shortener. In first version it will be unauthenticated service which means that anyone can use API to shorted URL without registration.

Requirements

API endpoints

/url/shorten

#!/usr/bin/bash
# REMOVES ibus from Zoom installer.
curl -L 'https://us05web.zoom.us/client/latest/zoom_amd64.deb' > zoom_amd64.deb
rm -r ./zoom/
mkdir zoom
cd zoom
pwd
#ls -ls ./../
ar xf ./../zoom_amd64.deb
mkdir control
@unoexperto
unoexperto / run.tpl
Created September 2, 2023 09:49 — forked from efrecon/run.tpl
`docker inspect` template to regenerate the `docker run` command that created a container
docker run \
--name {{printf "%q" .Name}} \
{{- with .HostConfig}}
{{- if .Privileged}}
--privileged \
{{- end}}
{{- if .AutoRemove}}
--rm \
{{- end}}
{{- if .Runtime}}
@unoexperto
unoexperto / patch_apk_for_sniffing.md
Last active March 28, 2024 08:49
How to patch Android app to sniff its HTTPS traffic with self-signed certificate

How to patch Android app to sniff its HTTPS traffic with self-signed certificate

  • Download apktool from https://ibotpeaches.github.io/Apktool/
  • Unpack apk file: java -jar /home/expert/work/tools/apktool.jar d net.flixster.android-9.1.3@APK4Fun.com.apk
  • Modify AndroidManifest.xml by adding android:networkSecurityConfig="@xml/network_security_config" attribute to application element.
  • Create file /res/xml/network_security_config.xml with following content:
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
    <base-config>