Skip to content

Instantly share code, notes, and snippets.

View hjJunior's full-sized avatar

Helio S. Junior hjJunior

View GitHub Profile
@andreroggeri
andreroggeri / frida.js
Created August 24, 2020 21:56
Frida simple bypass cert pinning
Java.perform(function () {
const ArrayList = Java.use("java.util.ArrayList");
const TrustManager = Java.use("com.android.org.conscrypt.TrustManagerImpl");
TrustManager.checkTrustedRecursive.implementation = function () {
console.log("Bypassing Cert Pinning");
return ArrayList.$new();
}
}, 0);
@dieggofaustino
dieggofaustino / software-engineer-internship.md
Last active May 20, 2021 13:35
Codeminer Anápolis Software Engineer Intern

Software Engineer Internship

Codeminer Anápolis office is hiring (Yay!) Are you a student in Computer Science, Software Engineering, Information Systems or similar? We are looking for you.

Codeminer42

Codeminer42 is one of the best software boutiques in Brazil. We are neither a publicity agency nor a traditional consulting/software factory company. Since 2011 in the startup and new technologies market, we grew to about 80 people in 13 different cities: São Paulo (HQ), Campinas, Ribeirão Preto, Batatais, Sorocaba, Novo Hamburgo, Santa Maria, Poços de Caldas, Natal, Teresina, Anápolis, Goiânia, Guarapuava. See more

The program

@akitaonrails
akitaonrails / BACKEND.md
Last active April 3, 2024 19:49
Codeminer 42 - BACKEND Test

TRZ (The Resident Zombie) - Backend

Problem Description

The world, as we know it, has fallen into an apocalyptic scenario. The "Influenzer T-Virus" (a.k.a. Twiter Virus) is transforming human beings into stupid beasts (a.k.a. Zombies), hungry to cancel humans and eat their limbs.

You, the last survivor who knows how to code, will help the resistance by deploying a system to connect the remaining humans. This system will be essential to detect new infections and share resources between the members.

Requirements

@nepsilon
nepsilon / how-to-git-patch-diff.md
Last active July 22, 2024 07:11
How to generate and apply patches with git? — First published in fullweb.io issue #33

How to generate and apply patches with git?

It sometimes happen you need change code on a machine from which you cannot push to the repo. You’re ready to copy/paste what diff outputs to your local working copy.

You think there must be a better way to proceed and you’re right. It’s a simple 2 steps process:

1. Generate the patch:

git diff > some-changes.patch
@renanferrari
renanferrari / two_line_item_layout.xml
Last active July 7, 2020 17:03
Android Material Design List Item Layouts (based on http://stackoverflow.com/a/27661786/518179)
<!-- Clickable and selectableItemBackground are optional -->
<RelativeLayout
android:id="@+id/two_line_item"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?selectableItemBackground"
android:clickable="true"
android:minHeight="72dp"
android:paddingEnd="?listPreferredItemPaddingRight"
android:paddingLeft="?listPreferredItemPaddingLeft"
function ValidateGooglePlaySignature( $responseData, $signature, $publicKey, &$status, &$response )
{
$responseData = trim( $responseData );
$signature = trim( $signature );
$response = json_decode( $responseData );
// Create an RSA key compatible with openssl_verify from our Google Play sig
$key = "-----BEGIN PUBLIC KEY-----\n".
chunk_split($publicKey, 64,"\n").
'-----END PUBLIC KEY-----';