Skip to content

Instantly share code, notes, and snippets.

View moalex's full-sized avatar
🫛
Farting

moalex moalex

🫛
Farting
View GitHub Profile
@fernandoaleman
fernandoaleman / how-to-install-php-5.6-on-ubuntu-22.04.md
Last active May 5, 2025 15:50
How to install PHP 5.6 on Ubuntu 22.04

How To Install PHP 5.6 on Ubuntu 22.04

Add php apt repository

$ sudo add-apt-repository -y ppa:ondrej/php

Update repository index

@opastorello
opastorello / gist:05f02f902339ebc27ea7f20c1838b066
Created November 4, 2021 06:43
Cracking Sublime Text Build (4121)
# Cracking Sublime Text ( Build 4121 ) Tutorial Analysis
---
Two main changes to be made for best experience. This can be done with script.
### License Key
While it is possible to deduce the format of the license key, there is available ones online to show. Analyse and see that it is still that same format. The main part is the verification of the hash values from the license key that we want to always be "correct". This is also the key that this tutorial will use.
```
@moalex
moalex / atomicparsley-help.md
Last active February 22, 2022 13:57
AtomicParsley - Help page for setting iTunes-style metadata into MPEG-4 files

[AtomicParsley][@]

Help page for setting iTunes-style metadata into MPEG-4 files.


atomicparsley [mp4FILE]... [OPTION]... [ARGUMENT]... [ [OPTION2]...[ARGUMENT2]...] 
@moalex
moalex / string-is-empty.sh
Created October 12, 2021 11:58
bash :: Пустая ли строка
#!/bin/bash
val1="testing"
val2=''
### Не пустая ли строка
if [ -n $val1 ]; then
echo "Строка '$val1' не пустая"
else
echo "Строка '$val1' пустая"
@opastorello
opastorello / sublime text 4143 license key
Last active July 9, 2025 04:47
sublime text 4143 license key
> * Go to [hexed.it](https://hexed.it/)
> * Click "Open File" and choose your sublime_text.exe **(DON'T FORGET TO BACKUP YOUR EXE FILE)**
> * Go to Search and in "Search for" put: 80 78 05 00 0F 94 C1
> * In Search Type select "Enable replace" and put: 80 78 05 00 0F 94 C1
> * Click "Find next" then "Replace"
> * Do the same thing with: C6 40 05 01 48 85 C9 => C6 40 05 01 48 85 C9
> * Click "Save as" then name it: sublime_text
> * Copy your modified sublime_text.exe to directory Sublime Text
@moalex
moalex / aria2c.md
Last active January 22, 2024 18:09
@moalex
moalex / nnn-wiki.md
Created May 31, 2021 12:02
nnn-wiki

Dependencies

A curses library with wide char support (e.g. ncursesw), libc and libreadline (optional).

Utility deps Install? Operation
xdg-open (Linux), open(1) (macOS), cygstart (Cygwin), open (Haiku) base default opener
file, coreutils (cp, mv, rm), xargs, sed (gnu-sed on macOS) base file type, copy, (re)move
tar, (un)zip [atool/bsdtar for more formats] base create, list, extract bzip2, (g)zip, tar
archivemount, fusermount(3)/umount (macOS) optional (un)mount archives

[MediaInfo][h]

Usage

mediainfo [-Options...] FileName1 [Filename2...]"
@OrionUnix
OrionUnix / Sublime Text 3.2.2 Build 3211 key licence
Last active July 2, 2025 05:57
Sublime Text 3.2.2 Build 3211 key licence
----- BEGIN LICENSE -----
Member J2TeaM
Single User License
EA7E-1011316
D7DA350E 1B8B0760 972F8B60 F3E64036
B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD
FA0A2ABE 25F65BD8 D51458E5 3923CE80
87428428 79079A01 AA69F319 A1AF29A4
A684C2DC 0B1583D4 19CBD290 217618CD
@gallo-s-chingon
gallo-s-chingon / mediashot.sh
Created September 23, 2019 06:01
screenshot and mediainfo video files
#!/usr/local/bin/bash
#
# Written by ump721
# Based on and inspired by dsl420's original script
#
# Usage:
# mediashot video.mkv [destination_folder] [cap_name] [number_of_caps]
#
# Defaults:
# destination_folder same folder as input file