Skip to content

Instantly share code, notes, and snippets.

@dirkarnez
dirkarnez / build.gradle
Last active May 16, 2024 00:16
Java Gradle Fat Jar (Build jar with dependencies, support Javafx)
// see https://www.mkyong.com/gradle/gradle-create-a-jar-file-with-dependencies/
import org.gradle.plugins.ide.eclipse.model.AccessRule
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'eclipse'
apply plugin: 'javafx-gradle-plugin'
buildscript {
@endolith
endolith / Has weird right-to-left characters.txt
Last active May 16, 2024 00:12
Unicode kaomoji smileys emoticons emoji
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶
@dbrentley
dbrentley / beltmatic.py
Last active May 16, 2024 00:12
Beltmatic Optimizer
from collections import deque
# User inputs
# Maximum (highest) number you have unlocked
max_number = 3
# Target number you want to find
target = 3660
@codigoconjuan
codigoconjuan / db.json
Last active May 16, 2024 00:10
Gist Platillos JSON-Server
{
"platillos": [
{
"id": 1,
"nombre": "Pizza a la Leña Chica",
"precio": 30,
"categoria": 1
},
{
"id": 2,
import { prefixStorage } from "unstorage";
import type { Storage } from "unstorage";
type Session = {
id: string
userId: string
expiredAt: Date
}
@butageek
butageek / windows_activation.md
Last active May 16, 2024 00:06
Activate Windows for free

For Windows 10

Step 1 - Open PowerShell or Command Prompt as administrator

Step 2 - Install KMS client key

slmgr /ipk your_license_key

Replace your_license_key with following volumn license keys according to Windows Edition:

@wchargin
wchargin / words
Created February 11, 2014 01:14
/usr/share/dict/words
This file has been truncated, but you can view the full file.
A
A's
AA's
AB's
ABM's
AC's
ACTH's
AI's
AIDS's
@tomschr
tomschr / pathlib_and_json.py
Created May 1, 2021 15:11
Read and write JSON files with pathlib.Path
# Source
# Mastering Object-Oriented Python - Second Edition by Steven F. Lott Published by Packt Publishing, 2019
# https://learning.oreilly.com/library/view/mastering-object-oriented-python/9781789531367/c34be237-5ccd-4775-a0b0-ec1f7652f7bc.xhtml
#
from pathlib import Path
# write JSON files:
with Path("temp.json").open("w", encoding="UTF-8") as target:
json.dump(travel3, target, default=blog_j2_encode)
<?xml version="1.0" encoding="UTF-8"?>
<tag>
<Version>18.2</Version>
<Download_URL>https://imgurl.ir/download.php?file=s56398_IDM_6.4x_Crack_v18.2.zip</Download_URL>
</tag>
rm -rf ~/.config/autostart/jetbrains-toolbox.desktop \
rm -rf ~/.local/share/JetBrains/Toolbox \
rm -rf ~/.local/share/applications/jetbrains-toolbox.desktop