See the new site: https://postgresisenough.dev
masterpiece, best quality, 1girl, green hair, sweater, looking at viewer, upper body, beanie, outdoors, watercolor, night, turtleneck
- HuggingFace Diffusers: https://huggingface.co/hakurei/waifu-diffusion
- Pickled Models: https://huggingface.co/hakurei/waifu-diffusion-v1-4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| global | |
| lua-load /path/to/haproxy_minecraft.lua | |
| [...] | |
| defaults | |
| [...] | |
| frontend mc_listener | |
| bind *:25565 | |
| mode tcp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // this is faster than unity *.bounds.IntersectRay(ray) | |
| // original source https://gamedev.stackexchange.com/a/103714/73429 | |
| float RayBoxIntersect(Vector3 rpos, Vector3 rdir, Vector3 vmin, Vector3 vmax) | |
| { | |
| float t1 = (vmin.x - rpos.x) / rdir.x; | |
| float t2 = (vmax.x - rpos.x) / rdir.x; | |
| float t3 = (vmin.y - rpos.y) / rdir.y; | |
| float t4 = (vmax.y - rpos.y) / rdir.y; | |
| float t5 = (vmin.z - rpos.z) / rdir.z; |
running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
I hereby claim:
- I am hugo4715 on github.
- I am hugo4715 (https://keybase.io/hugo4715) on keybase.
- I have a public key whose fingerprint is 1578 491A 87A8 85CC 507F 5B09 E1C8 B51C D252 1ED0
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <artifactId>${artifactId}</artifactId> | |
| <groupId>${groupId}</groupId> | |
| <version>${version}</version> | |
| <!-- Repositories --> | |
| <repositories> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Migration_Create_Sessions extends CI_Migration { | |
| // The session table structure changed for CI 3.0 | |
| public function up() | |
| { | |
| $fields = array( | |
| 'id VARCHAR(40) DEFAULT \'0\' NOT NULL', | |
| 'ip_address VARCHAR(45) DEFAULT \'0\' NOT NULL', | |
| 'timestamp INT(10) unsigned DEFAULT 0 NOT NULL', | |
| 'data blob NOT NULL' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.bukkit.Bukkit; | |
| import org.bukkit.entity.LivingEntity; | |
| import java.lang.reflect.Field; | |
| import java.lang.reflect.InvocationTargetException; | |
| import java.lang.reflect.Method; | |
| public class AIUtils { | |
| private static Field fromMobSpawner; | |
| private static Method getHandle; |
This class allow you to use a scoreboard as a sign in which you can write any text. It is designed to be used with a CraftBukkit server (or any similar variant). It uses fake teams to allow lines that are longer than usernames.
- MC 1.10: https://gist.github.com/FraZren/a7348ff3d96026d17cc817148f4221f9
- MC 1.11: https://gist.github.com/MrZalTy/f8895d84979d49af946fbcc108b1bf2b
- ProtocolLib (version agnostic, but requires ProtocolLib plugin): https://gist.github.com/WeiiswurstDev/8e9a6fd0f8eaaa57c2c0fc2ed9fcd0fb
NewerOlder
