ssh root@IP_ADDRESSnano /etc/nginx/sites-enabled/default- add this at the bottom of the file:
server {
listen 80;
listen [::]:80;
server_name YOUR_DOMAIN_NAME_HERE;
| cd fonts | |
| mv *.ttf /usr/share/fonts/truetype | |
| cd /usr/share/fonts/truetype | |
| mkfontscale | |
| mkfontdir | |
| fc-cache | |
| xset fp rehash |
ssh root@IP_ADDRESSnano /etc/nginx/sites-enabled/defaultserver {
listen 80;
listen [::]:80;
server_name YOUR_DOMAIN_NAME_HERE;
| @ECHO OFF | |
| cd /nginx | |
| taskkill /f /IM nginx.exe | |
| start nginx | |
| EXIT |
Note: This is written for those using Python 3 and discord.py, so if you're using something else please reference the relevant documentation for your language or library if you choose to use this as a general reference.
On Discord, there are two different emoji types:
Each needs to be handled differently, as while unicode emoji are just simple unicode characters, Discord custom emoji are special objects available only in Discord, belonging to a specific Discord guild and having their own snowflake ID.
| #! /usr/bin/env sh | |
| T0=$(date +%s) | |
| while [ $(( `date +%s` - T0 )) -lt 10 ]; do | |
| [ -z "$(xdotool $@ 2>&1)" ] && break | |
| sleep 0.1 | |
| done |
| // 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
| // You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
| (() => { | |
| const SHOW_SIDES = false; // color sides of DOM nodes? | |
| const COLOR_SURFACE = true; // color tops of DOM nodes? | |
| const COLOR_RANDOM = false; // randomise color? | |
| const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
| const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
| const THICKNESS = 20; // thickness of layers | |
| const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
Here is a guide for automatically bruteforcing 4-digit passcodes on iPhone 5 using only a computer and a USB cable (without an MFC Dongle). My device is iPhone5,2 (iPhone 5 Global) iOS 9.2 (FMI OFF), the steps below may work on other 32-bit devices or other iOS versions (see below for tested working devices and iOS versions), but shall not work on any 64-bit devices.
See https://www.reddit.com/r/setupapp/comments/1ha2arg/bruteforce_4digit_passcode_on_iphone_5_ios_9_via/ for discussions.
Updated 10 Jan. 2025:
A more powerful guide for bruteforcing 32-bit devices was released by a reddit user: https://www.reddit.com/r/setupapp/comments/1hw5bfa/bruteforcing_32bit_iphones_ondevice_4_digit_pin/
I chose to compare PhotoPrism, LibrePhotos, and Damselfly, because they seemed like the strongest freely available candidates for a large library of photographs.
I am mostly interested in face clustering (DBSCAN) and other "AI" capabilities like auto-categorization. Import speed is not as important to me as "playback" speed. I don't mind if it takes a few days but once everything is indexed and processed then it should be fast to explore everything.
The dataset that I used for this comparison was under 22GiB but over 750,000 images. Mostly AVIF files but some PNG and some JPEG.