Skip to content

Instantly share code, notes, and snippets.

View vzool's full-sized avatar
🎯
Focusing

Abdelaziz Elrashed vzool

🎯
Focusing
View GitHub Profile
@vzool
vzool / android-backup-apk-and-datas.md
Created March 4, 2025 08:01 — forked from AnatomicJC/android-backup-apk-and-datas.md
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

<?php
//--------------------- Copyright Block ----------------------
/*
PrayTime.php: Prayer Times Calculator (ver 1.2.2)
Copyright (C) 2007-2010 PrayTimes.org
Developer: Hamid Zarrabi-Zadeh
License: GNU LGPL v3.0
@vzool
vzool / a2hosting.sh
Last active August 4, 2024 05:35
check for domain hosted at A2Hosting
#!/bin/bash
# check for domain hosted at A2Hosting - made by Abdelaziz Elrashed (vzool)
if [ -z $1 ]; then
echo "Usage $0 <domain>"
exit 1
fi
ip=$(curl https://ipfinder.us)
echo "================================================================"
@vzool
vzool / build.yml
Created August 1, 2024 07:10 — forked from youhide/build.yml
GitHub Actions - Build for Windows, MacOS, Linux and release on tag.
name: Node CI
on:
push:
tags:
- 'v*'
jobs:
upload-release:
# Add Repository to your system (ondrej/php PPA)
sudo apt install apt-transport-https lsb-release ca-certificates
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
sudo sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
sudo apt update
# Install PHP 7.1
sudo apt install php7.1
@vzool
vzool / ssl.sh
Last active January 2, 2024 03:37
Cloudflare and Let's Encrypt Wildcard Certificate for Bind9
#!/bin/bash
# apt install certbot python3-certbot-dns-cloudflare
chmod 400 /root/.cloudflare
certbot certonly --dry-run --dns-cloudflare --dns-cloudflare-credentials /root/.cloudflare -d *.example.me && date >> ssl.log
chown bind:bind /etc/letsencrypt/live -R
# .cloudflare file
# Cloudflare API credentials used by Certbot
# dns_cloudflare_email = [email protected]
# dns_cloudflare_api_key = xxxxxxxxxxxxxxxxxxxxx
@vzool
vzool / ddclient.conf
Created January 1, 2024 12:13
DDClient with Cloudflare
ssl=yes
use=if if=eth0
protocol=cloudflare, \
zone=example.com, \
[email protected] \
password='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
test.example.com
netdom query fsmo
regsvr32 schmmgmt.dll
@vzool
vzool / 2023_11_01_025054_create_http_logs_table.php
Created November 2, 2023 02:46 — forked from aniket-magadum/2023_11_01_025054_create_http_logs_table.php
Laravel Logging Http Client Request and Response
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
@vzool
vzool / _bitbucket-git-downloader.sh
Created August 30, 2023 02:13 — forked from davidegironi/_bitbucket-git-downloader.sh
Script to download all repositories from a Bitbucket account
# Bitbucket Git Downloader
# Copyright (c) Davide Gironi, 2021
# Released under GPLv3
# Downloads all the repository from a Bitbucket account