Skip to content

Instantly share code, notes, and snippets.

View moalex's full-sized avatar
๐Ÿซ›
Farting

moalex moalex

๐Ÿซ›
Farting
View GitHub Profile

Clean Youtube Watch Later

22.11.2022

setInterval(function () {
    video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];
@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

@sivinnguyen
sivinnguyen / ubuntu_touch_redmi_9a.md
Last active May 22, 2026 14:20
How to install Ubuntu Touch on Xiaomi Redmi 9A/9C (Draft)
@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 / 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 June 23, 2026 12:35
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
@OrionUnix
OrionUnix / Sublime Text 3.2.2 Build 3211 key licence
Last active June 11, 2026 06:31
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
@gchingon
gchingon / 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
@atomicbird
atomicbird / logMilestone.swift
Last active August 22, 2023 03:41
Sometimes you just want to print a message that tells you a line of code was executed. Inspired by a tweet from Paige Sun: https://twitter.com/_PaigeSun/status/1161132108875796480
/// Log the current filename and function, with an optional extra message. Call this with no arguments to simply print the current file and function. Log messages will include an Emoji selected from a list in the function, based on the hash of the filename, to make it easier to see which file a message comes from.
/// - Parameter message: Optional message to include
/// - file: Don't use; Swift will fill in the file name
/// - function: Don't use, Swift will fill in the function name
/// - line: Don't use, Swift will fill in the line number
func logMilestone(_ message: String? = nil, file: String = #file, function: String = #function, line: Int = #line) -> Void {
#if DEBUG
// Feel free to change the list of Emojis, but don't make it shorter, because a longer list is better.
let logEmojis = ["๐Ÿ˜€","๐Ÿ˜Ž","๐Ÿ˜ฑ","๐Ÿ˜ˆ","๐Ÿ‘บ","๐Ÿ‘ฝ","๐Ÿ‘พ","๐Ÿค–","๐ŸŽƒ","๐Ÿ‘","๐Ÿ‘","๐Ÿง ","๐ŸŽ’","๐Ÿงค","๐Ÿถ","๐Ÿฑ","๐Ÿญ","๐Ÿน","๐ŸฆŠ","๐Ÿป","๐Ÿจ","๐Ÿต","๐Ÿฆ„","๐Ÿฆ‹","๐ŸŒˆ","๐Ÿ”ฅ","๐Ÿ’ฅ","โญ๏ธ","๐Ÿ‰","๐Ÿฅ","๐ŸŒฝ","๐Ÿ”","๐Ÿฟ","๐ŸŽน","๐ŸŽ","โค๏ธ","๐Ÿงก","๐Ÿ’›","๐Ÿ’š","๐Ÿ’™","๐Ÿ’œ","๐Ÿ””"]
let logEmoji = logEmojis[abs(