See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
import java.util.*; | |
import java.io.*; | |
class | |
{ | |
/************************ SOLUTION STARTS HERE ************************/ | |
private static void solve(FastScanner s1, PrintWriter out){ | |
/* | |
This file is now hosted here: | |
https://github.com/victornpb/undiscord | |
*/ |
import java.util.function.Function; | |
import static java.lang.Math.*; | |
// https://easings.net/ | |
// https://gist.github.com/dev-hydrogen/21a66f83f0386123e0c0acf107254843 | |
public enum Easing { | |
easeInSine(x -> 1 - cos(x * PI) / 2), | |
easeOutSine(x -> sin(x * PI) / 2), | |
easeInOutSine(x -> -(cos(PI * x) - 1) / 2), |
The following characters have special behavior in Minecraft, and care should be taken when retexturing them in a custom font:
Unusable
\u0000
: NULL �
\u000a
: LINE FEED ⏎
\u0025
: PERCENT SIGN %
translate
and with
, so it could be unexpectedly replaced if used unintentionally.\u00a7
: SECTION SIGN §@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css"); | |
.emojione { | |
width: 30px; | |
padding-left: 6px; | |
display: inline-flex; | |
vertical-align: text-top; | |
} | |
.tabbed-set { |
/* | |
the twitter api is stupid. it is stupid and bad and expensive. hence, this. | |
Literally just paste this in the JS console on the bookmarks tab and the script will automatically scroll to the bottom of your bookmarks and keep a track of them as it goes. | |
When finished, it downloads a JSON file containing the raw text content of every bookmark. | |
for now it stores just the text inside the tweet itself, but if you're reading this why don't you go ahead and try to also store other information (author, tweetLink, pictures, everything). come on. do it. please? | |
*/ |
#!/bin/bash | |
# This script takes a video file as input and converts it into an HLS (HTTP Live Streaming) playlist with multiple resolutions and bitrates. It also generates a thumbnail image from the video. | |
# Check if an input filename is provided | |
if [ -z "$1" ]; then | |
echo "Usage: $0 input_filename (without extension) [-t]" | |
exit 1 | |
fi |