Skip to content

Instantly share code, notes, and snippets.

View FlorianWendelborn's full-sized avatar
🇺🇦

Florian Wendelborn FlorianWendelborn

🇺🇦
View GitHub Profile
@tslmy
tslmy / scrollbar_example.css
Last active January 6, 2022 12:45 — forked from tpitale/scrollbar_example.css
Supports horizontal scrollbar now. I removed the scrollbar buttons.
::-webkit-scrollbar {
width: 5px;
height:5px;
}
::-webkit-scrollbar-thumb {
background-color: #999;
border-radius: 5px;
}
@19h
19h / reset.js
Created February 19, 2013 22:51
Node.js — Clear Terminal / Console. Reset to initial state.
console.reset = function () {
return process.stdout.write('\033c');
}
@towfiqpiash
towfiqpiash / html2plainText.js
Last active October 12, 2022 10:54
Javascript function to convert HTML to plain text
// converts HTML to text using Javascript
function html2text(html) {
var tag = document.createElement('div');
tag.innerHTML = html;
return tag.innerText;
}
// Convert Any copied text to plain text in TinyMCE (strip all tags)
paste_preprocess: function(plugin, args) {
@LeaPhant
LeaPhant / - hypixel skyblock stuff
Last active March 5, 2023 03:50
Hypixel SkyBlock stuff
collecting some data about skyblock here
import math
from moviepy.editor import concatenate, ImageClip
import os
import platform
import subprocess
import random
import torch
# pip install pytorch-pretrained-biggan
from pytorch_pretrained_biggan import (BigGAN, truncated_noise_sample, convert_to_images)
import numpy as np

This for loop:

for (let i = 0, getI = () => i; i < 3; i++)
  console.log(getI());

unrolls to:

@namuol
namuol / INSTALL.md
Last active July 24, 2023 11:53
rage-quit support for bash

rage-quit support for bash

HOW TO INSTALL

Put flip somewhere in your $PATH and chmod a+x it.

Copy fuck into ~/.bashrc.

@robere2
robere2 / hypixel-tag-calculator.js
Last active November 29, 2023 03:18
Calculates the currently displayed player tag on the Hypixel Network, given a response from the API
const ranks = {
"ADMIN": [
[
'c',
"[ADMIN]"
]
],
"MODERATOR": [
[
'2',
@jed
jed / LICENSE.txt
Created May 20, 2011 13:27 — forked from 140bytes/LICENSE.txt
generate random UUIDs
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Jed Schmidt <http://jed.is>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@Nitroholic
Nitroholic / mappings.json
Last active January 2, 2024 15:21
Profile Mappings
{
"achievement_spawned_island_types" : "player_data.achievement_spawned_island_types",
"active_effects" : "player_data.active_effects",
"autopet" : "pets_data.autopet",
"backpack_contents" : "inventory.backpack_contents",
"backpack_icons" : "inventory.backpack_icons",
"bank_account" : "profile.bank_account",
"bank_history" : "profile.bank_history",
"candy_inventory_contents" : "shared_inventory.candy_inventory_contents",
"coin_purse" : "currencies.coin_purse",