Skip to content

Instantly share code, notes, and snippets.

View OzakIOne's full-sized avatar
🏠
Working from home

ozaki OzakIOne

🏠
Working from home
View GitHub Profile
@mskian
mskian / termux-style.md
Last active May 4, 2020 09:12
Steps to Customize the Termux Terminal Emulator
  • Update the packages
pkg up
  • Install curl
pkg install curl
@mskian
mskian / install.sh
Created October 2, 2018 07:53
Customize Termux Terminal Emulator
#!/data/data/com.termux/files/usr/bin/bash
termux-setup-storage
pkg up
pkg install -y git zsh
git clone https://github.com/Cabbagec/termux-ohmyzsh.git "$HOME/termux-ohmyzsh" --depth 1
mv "$HOME/.termux" "$HOME/.termux.bak.$(date +%Y.%m.%d-%H:%M:%S)"
cp -R "$HOME/termux-ohmyzsh/.termux" "$HOME/.termux"
@mskian
mskian / youtube-dl.sh
Last active January 6, 2021 14:03
Bash Shell Script - youtube-dl Downloader for Termux Terminal Emulator
#!/bin/bash
# -----------------------------------------------------------------------------
# Info:
# author: Santhosh veer
# file: youtube-dl.sh
# created: 18.09.2018
# revision: 18.09.2018
# version: 0.3
# -----------------------------------------------------------------------------
@baradhiren
baradhiren / Termux_Youtube_Downloader.sh
Last active September 10, 2022 16:51
This script will automatically create necessary environment to download videos using Termux+YoutubeDL.
#!/bin/bash
###############################################################################################################
######
###### Author : Hiren Barad
###### Date : 22-Aug-2018
###### Version : 1.0
###### FileName : Termux_Youtube_Downloader.sh
###### Description : This script will create a folder with name as Youtube in your Phone's main memory,
# Fortement inspiré de cet article: http://rabexc.org/posts/docker-networking
# Tester les performances réseaux de ses conteneurs docker
# avec docker-proxy
docker run -it --rm --name=iperf3-server -p 10000:5201 networkstatic/iperf3 -s
docker inspect --format "{{ .NetworkSettings.IPAddress }}" iperf3-server
iperf3 -c 172.17.0.2 ⇒ 37gbs
iperf3 -c localhost -p 10000
# désactiver docker-proxy
vi /etc/docker/daemon.json
@mrkwatz
mrkwatz / Firefox_Scrollbars-W10style.md
Last active August 5, 2023 03:18
Firefox 57 Windows 10 UWP Style Overlay Scrollbars

As far as I am aware the time has come and as of Firefox 72 XUL has been stripped from firefox and so the method used to inject this scrollbar theme is no longer supported -- reference the following for future scroll themes:

Mozilla is currently working to phase out the APIs used to make this theme work. I will try to maintain each version until that time but eventually there will be no workaround. When that time comes there is a new, but more limited api for applying simple themes to scrollbars. In nightly I am currently using the following userContent.css

:root{
	scrollbar-width: thin;
	scrollbar-color: rgb(82, 82, 82) rgb(31, 31, 31);
}
@m14t
m14t / fix_github_https_repo.sh
Created July 5, 2012 21:57
Convert HTTPS github clones to use SSH
#/bin/bash
#-- Script to automate https://help.github.com/articles/why-is-git-always-asking-for-my-password
REPO_URL=`git remote -v | grep -m1 '^origin' | sed -Ene's#.*(https://[^[:space:]]*).*#\1#p'`
if [ -z "$REPO_URL" ]; then
echo "-- ERROR: Could not identify Repo url."
echo " It is possible this repo is already using SSH instead of HTTPS."
exit
fi
void inject_trusts(int pathc, const char *paths[])
{
printf("[+] injecting into trust cache...\n");
extern uint64_t g_kern_base;
static uint64_t tc = 0;
if (tc == 0) {
/* loaded_trust_caches
iPhone11,2-4-6: 0xFFFFFFF008F702C8
@Snipees
Snipees / discord_webhook_for_dealabs.md
Last active November 18, 2023 17:56
Discord Webhook pour Dealabs.com (french)

Discord Webhook pour Dealabs.com

La fonction Webhooks intégrée à Discord est une façon simple de recevoir des messages automatisés et des mises à jour directement dans un salon textuel de votre serveur. Voyez cela comme un de ces tubes pneumatiques qui sont parfois utilisés pour envoyer de l'argent à l'intérieur d'une banque et que vous pouvez regarder disparaître, mais au lieu de ne jamais revoir votre argent, vous verrez effectivement des messages partagés dans Discord à partir d'une autre plateforme. -- référence: principes des Webhooks.

Exemple
Exemple de rendu, avec le flux RSS

Il y a 2 possibilités pour récupérer les bons plans de Dealabs, soit par ses flux RSS, soit par son compte Twitter. Il est possible de cumuler les deux, le flux Twitter servant al

@IntergalacticApps
IntergalacticApps / make_windows10_great_again.bat
Last active December 28, 2023 08:16
Make Windows 10 Great Again - stop Windows 10 spying!
@echo off
setlocal EnableDelayedExpansion
ver | find "10." > nul
if errorlevel 1 (
echo Your Windows version is not Windows 10... yet. Brace yourself, Windows 10 is coming^^!
pause
exit
)