Skip to content

Instantly share code, notes, and snippets.

View giioohbernini's full-sized avatar
😎
Stay foolish, stay hungry.

Giovanni Bernini giioohbernini

😎
Stay foolish, stay hungry.
View GitHub Profile
@irazasyed
irazasyed / homebrew-permissions-issue.md
Last active November 13, 2024 00:27
Homebrew: Permissions Denied Issue Fix (OS X / macOS)

Homebrew Permissions Denied Issues Solution

sudo chown -R $(whoami) $(brew --prefix)/*

@ngpestelos
ngpestelos / remove-docker-containers.md
Last active August 20, 2024 19:34
How to remove unused Docker containers and images

May 8, 2018

I wrote this four years ago, so instead use this command:

$ docker rmi $(docker images -q -f dangling=true)
@ericdouglas
ericdouglas / linux-programs.md
Last active December 25, 2023 19:15
Linux Essential Programs

1. byzanz

Record gif screencast.

Usage

sudo apt-get install byzanz
@giioohbernini
giioohbernini / responsiveMenuWithGesture.js
Last active March 2, 2017 20:57
Responive Menu with swipe gesture
let body = document.querySelector("body");
let sidenav = document.querySelector(".side-nav");
function openNav() {
sidenav.style.transform = "translateX(250px)";
body.style.transform = "translateX(-250px)";
body.style.backgroundColor = "rgba(0,0,0,0.4)";
}
function closeNav() {
@callmeloureiro
callmeloureiro / comoSerChatoNoWhatsapp.js
Last active September 23, 2024 19:29
Como fazer alguém te responder no whatsapp
/*
Hoje iremos MUDAR a vida da pessoa que não te responde no whatsappp...
Que tal enviar mensagens pra ela até obter uma resposta?!
Sensacional não acha?! Mas, somos devs, correto?! Então vamos automatizar esse paranauê!
Para utilizar:
- Abra o web.whatsapp.com;
- Selecione a conversa que você quer;
- Abra o console e cole o código que está no gist;
@unoexperto
unoexperto / patch_apk_for_sniffing.md
Last active September 29, 2024 16:13
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 [email protected]
  • 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>