Skip to content

Instantly share code, notes, and snippets.

View rafalohaki's full-sized avatar
💻
LookingForPeace

rafalohaki

💻
LookingForPeace
View GitHub Profile
This is a packet system that can be used with the RedisAPI in my gist located at:
https://gist.github.com/PedroMPagani/b6fb2a5d54dd2912f98126fff4126051
@rafalohaki
rafalohaki / RedisAPI.java
Created March 24, 2025 14:01 — forked from PedroMPagani/RedisAPI.java
Redis util class - clean - fast - reliable - high volume of traffic
import com.github.luben.zstd.Zstd;
import io.lettuce.core.RedisClient;
import io.lettuce.core.RedisURI;
import io.lettuce.core.api.StatefulRedisConnection;
import io.lettuce.core.codec.ByteArrayCodec;
import io.lettuce.core.pubsub.RedisPubSubAdapter;
import io.lettuce.core.pubsub.StatefulRedisPubSubConnection;
import io.lettuce.core.pubsub.api.async.RedisPubSubAsyncCommands;
import io.netty.util.concurrent.DefaultThreadFactory;
import org.bukkit.Bukkit;
@rafalohaki
rafalohaki / Dockerfile
Created March 9, 2022 23:23 — forked from awesomebytes/Dockerfile
Dockerfile to build 32 bit Docker container, for 32 bit docker daemon dev
# This file describes the standard way to build Docker, using docker
#
# Usage:
#
# # Assemble the full dev environment. This is slow the first time.
# docker build -t docker .
#
# # Mount your source in an interactive container for quick testing:
# docker run -v `pwd`:/go/src/github.com/docker/docker --privileged -i -t docker bash
#
@rafalohaki
rafalohaki / css-clown-and-scary-clown.markdown
Created October 4, 2021 18:02
CSS Clown (and SCARY clown)

Visitors

@rafalohaki
rafalohaki / index.html
Created July 13, 2020 00:38
Simple Navigation With Inline-Block & Flexbox
<nav>
<div>
<a href="#">Home</a>
<a href="#">Products</a>
<a href="#">About</a>
</div>
<a href="#">Help</a>
</nav>

Fancy Slider

Based on dribbble shot by Kreativa Studio - https://dribbble.com/shots/2375246-Fashion-Butique-slider-animation

Fullscreen please. Looks best in Webkit browsers, because clip-path not working in FF/IE without SVG fallbacks, which I don't want to use in this demo. Not responsive atm, I will figure out something soon.

Features:

  1. Clip-path for image masking rectangle border (webkit only).