Skip to content

Instantly share code, notes, and snippets.

@noteeeeee
noteeeeee / JetBrainsActivation.md
Last active May 11, 2024 11:19
Webstorm/JetBrains products activation 2024 (Windows/MacOS)

Webstorm/JetBrains products activation 2024 (Windows/MacOS)

1.Proxy Settings

  1. Step 1: Navigate to Proxy settings.
  2. Step 2: Select "Manual proxy settings - HTTP".
    • Hostname: localhost
    • Port: 80

Set no proxy for:

@PurpleBooth
PurpleBooth / README-Template.md
Last active May 11, 2024 11:19
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@taylorhughes
taylorhughes / upload_api.py
Last active May 11, 2024 11:18
Use a pre-signed S3 URL with a modern web uploader
import uuid
from datetime import datetime
import boto3
from django.conf import settings
from mypy_boto3_s3 import S3Client
from rest_framework import serializers
from rest_framework.response import Response
from myproject.models import ProfilePhoto
@ritog
ritog / alacritty.toml
Created October 6, 2023 10:58
Example configuration file for Alacritty and simple guide
# $HOME/.config/alacritty/alacritty.toml
# by Rito Ghosh 2023-10-06
# Alacritty now uses TOML formatting for its config files.
# This is a simple example.
# There are the specification here: https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd
# It is not obvious how it translates to TOML. But it is extremely straightforward.
# example: WINDOW, COLORS, etc. are tables, and should be represented as [window], [colors], respectively.
@bmaupin
bmaupin / free-backend-hosting.md
Last active May 11, 2024 11:17
Free backend hosting
@squarism
squarism / iterm2.md
Last active May 11, 2024 11:17
An iTerm2 Cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
@phil-blain
phil-blain / debugging-git.md
Last active May 11, 2024 11:17
Debugging Git for Git developers on Linux and macOS

Debugging Git

Some tips about debugging Git with GDB and LLDB.

Compiling Git for debugging

By default, Git's Makefile compiles Git with debug symbols (-g), but with optimization level -O2, which can lead to some variable being optimized out and thus making the executable harder to debug.

To compile with -O0, you can tweak CFLAGS using config.mak:

$ cat config.mak
@el2zay
el2zay / toipa.sh
Last active May 11, 2024 11:15
Converting an .app to an .ipa
#!/bin/sh
if [ "$#" -lt 1 ]; then
echo "Please enter a file name."
exit 1
fi
file="$1"
if [ "${file: -4}" != ".app" ]; then
@ELLIOTTCABLE
ELLIOTTCABLE / es2016-jxa.js
Created May 2, 2017 09:20
ECMAScript 2017 `async` in macOS Sierra JavaScriptCore
#!/usr/bin/env osascript -l JavaScript
// macOS Sierra uses a JavaScriptCore analagous to that in Safari 10.1. This supports all of
// ECMAScript 2015 (“ES6”), and even much of ECMAScript 2016! For instance, try `async` functions:
async function hello(){
return "Hello, world!"
}
function run(argv) {
var p = hello();

Introduction

The task of the project was about finding an obfuscated app on the play store, modifying it such that it would notify another app whenever it was opened.

I did not really have a quick way to check wheter an app on the play store was obfuscated or not, so I decided to choose an app that I knew for sure had at least some kind of obfuscation, and that app is Whatsapp Messenger.

The apk for "Whatsapp Messenger" I got is version 2.20.123, x86 architecture (because that's the architecture of the emulator I am currently running)

Finding an injection spot