Skip to content

Instantly share code, notes, and snippets.

@0xdevalias
0xdevalias / bypassing-cloudflare-akamai-etc.md
Last active April 30, 2025 14:57
Some notes/resources for bypassing anti-bot/scraping features on Cloudflare, Akamai, etc.

Download .ipa files removed from purchased tab.

As of around March 20th, 2025, the volumeStoreDownloadProduct endpoint (required to download removed apps) has changed and now has a tendancy to not work sometimes. There is not any noticable pattern as to what apps work or not but note that there is a high likelyhood this tutorial may not work.

Due to various reasons (such as Apple developer account termination), apps you had previously purchased can no longer be downloaded from the App Store or iTunes. However, it turns out these applications can still be accessed. Third party .ipa downloading tools such as iMazing, ipatool, and ipatool-py use a special endpoint that allows downloading removed apps.

This app must have been purchased on your Apple ID beforehand. You cannot download any app ever made. Apple only lets you download apps you had bought or downloaded in the past.

I reccomend using the ipatool-py method, because it is easier. However, if you are unable to use it, I have left the original

@moyix
moyix / killbutmakeitlooklikeanaccident.sh
Created February 5, 2022 22:51
Script to inject an exit(0) syscall into a running process. NB: only x86_64 for now!
#!/bin/bash
gdb -p "$1" -batch -ex 'set {short}$rip = 0x050f' -ex 'set $rax=231' -ex 'set $rdi=0' -ex 'cont'
@abobija
abobija / esp-idf-on-wsl2.md
Last active May 5, 2025 03:25
ESP-IDF on WSL2 - Build, Flash and Monitor

ESP-IDF on WSL2 - Build, Flash and Monitor ⚡

Demo

How to setup ESP-IDF on WSL2 Ubuntu 20.04 - Config, Build and Flash

Intro

WSL2 still does not support USB devices, but with a little effort we can make possible to flash and monitor ESP device from WSL2.

@bergmannjg
bergmannjg / rearct-native-app-in-wsl2.md
Last active May 4, 2025 13:20
Building a react native app in WSL2
@Hopobcn
Hopobcn / README.md
Last active September 16, 2020 21:47
gitlab-runner configuration file with docker runner for using NVIDIA GPUs (nvidia-docker)

Use Gitlab-CI with GPU support

Since gitlab-runner cannot be forced to use nvidia-docker wrapper, follow this steps:

  1. Install all required software: docker, nvidia-docker, gitlab-ci-multi-runner
  2. Execute: curl -s http://localhost:3476/docker/cli
  3. Use that data to fill devices/volumes/volume_driver fields in /etc/gitlab-runner/config.toml
runonce = RunOnceBranchOperator(
dag=dag,
task_id='runonce_example',
run_once_task_id='downstream_task_id_to_run_once',
skip_task_id='dummy_task_id_used_to_skip_other_task',
)
runonce.set_downstream(downstream_to_run_once)
runonce.set_downstream(dummy_task_used_to_skip_other_task)
@plieningerweb
plieningerweb / runoncebranchoperator.py
Last active December 28, 2018 14:18
Airflow RunOnceBranchOperator
from airflow.operators.python_operator import PythonOperator
from airflow.utils.db import provide_session
class RunOnceBranchOperator(PythonOperator, SkipMixin):
def __init__(
self,
run_once_task_id=None,
skip_task_id=None,
*args, **kwargs):
kwargs['python_callable'] = lambda x: x

WORK IN PROGRESS

PyTorch Internals Part II - The Build System

In the first post I explained how we generate a torch.Tensor object that you can use in your Python interpreter. Next, I will explore the build system for PyTorch. The PyTorch codebase has a variety of components:

  • The core Torch libraries: TH, THC, THNN, THCUNN
  • Vendor libraries: CuDNN, NCCL
  • Python Extension libraries
  • Additional third-party libraries: NumPy, MKL, LAPACK