Skip to content

Instantly share code, notes, and snippets.

@soullivaneuh
soullivaneuh / mods.md
Last active March 1, 2025 16:24
Mods list - Cities: Skylines II
@soullivaneuh
soullivaneuh / IG_UI_FR.txt
Created January 13, 2025 01:50
Project Zomboid - organizedCategories: Core - FR translations
IGUI_FR = {
IGUI_ItemCat_weaponAxe = "Arme - Hache",
IGUI_ItemCat_weaponAxe_crafted = "Arme - Hache - Fabriqué",
IGUI_ItemCat_weaponAxe_improvised = "Arme - Hache - Improvisé",
IGUI_ItemCat_weaponBlade = "Arme - Lame",
IGUI_ItemCat_weaponBlade_crafted = "Arme - Lame - Fabriqué",
IGUI_ItemCat_weaponBlade_improvised = "Arme - Lame - Improvisé",
IGUI_ItemCat_weaponBlunt = "Arme - Émoussé",
IGUI_ItemCat_weaponBlunt_crafted = "Arme - Émoussé - Fabriqué",
IGUI_ItemCat_weaponBlunt_improvised = "Arme - Émoussé - Improvisé",
@soullivaneuh
soullivaneuh / modelist.xml
Created October 23, 2024 23:59
RimWorld modelist
<li>zetrith.prepatcher</li>
<li>brrainz.harmony</li>
<li>bs.fishery</li>
<li>ludeon.rimworld</li>
<li>bs.performance</li>
<li>ludeon.rimworld.royalty</li>
<li>ludeon.rimworld.ideology</li>
<li>ludeon.rimworld.biotech</li>
<li>ludeon.rimworld.anomaly</li>
<li>vanillaexpanded.backgrounds</li>
@soullivaneuh
soullivaneuh / result.json
Created June 28, 2024 09:06
mmdbinspect result sample
[
{
"Database": "./GeoLite2-City.mmdb",
"Records": [
{
"Network": "172.217.20.206/19",
"Record": {
"continent": {
"code": "NA",
"geoname_id": 6255149,
@soullivaneuh
soullivaneuh / Deathly_Famous.cfg
Created March 18, 2024 07:29
Deathly Famous Challenge - Koester - Game Configuration
Version=4
Map.AllowMiniMap=false
Map.AllowWorldMap=true
Map.MapAllKnown=false
# Controls the zombie movement rate.\nDefault=Fast Shamblers
ZombieLore.Speed=2
@soullivaneuh
soullivaneuh / extensions.list
Created July 25, 2023 15:44
VSCode legacy extensions list
# Result of `code --list-extensions`
aaron-bond.better-comments
alefragnani.project-manager
bmewburn.vscode-intelephense-client
bradlc.vscode-tailwindcss
bungcip.better-toml
byCedric.vscode-expo
dcortes92.FreeMarker
eamodio.gitlens
ecmel.vscode-html-css
@soullivaneuh
soullivaneuh / setup.sh
Created October 12, 2019 18:35
Gitlab runner deploy auto-setup and register
#!/usr/bin/env bash
set -e
# Usage: bash setup.sh
# This script is supposed to be ran with root user.
# @see https://dockerswarm.rocks/gitlab-ci/
# GitLab runner setup
register_token=${GITLAB_TOKEN:?}
register_host=${GITLAB_HOST:-https://gitlab.com}
runner_image='gitlab/gitlab-runner:latest'

Keybase proof

I hereby claim:

  • I am soullivaneuh on github.
  • I am soullivaneuh (https://keybase.io/soullivaneuh) on keybase.
  • I have a public key whose fingerprint is 0446 0CD2 28DF 9E0D 42F0 7643 992E B6FA FD4E 6361

To claim this, I am signing this object:

@soullivaneuh
soullivaneuh / index.js
Created September 28, 2018 12:47
Prevent PageUp and PageDown press in textarea moving website out of the window
// @see http://www.competa.com/blog/chrome-bug-pageup-pagedown-textarea-moves-website-window/
// @see https://bugs.chromium.org/p/chromium/issues/detail?id=890248
document.querySelector('textarea').addEventListener('keydown', event => {
if (event.key === 'PageUp' || event.key === 'PageDown') {
const cursorPosition = event.key === 'PageUp' ? 0 : event.target.textLength;
event.preventDefault();
event.target.setSelectionRange(cursorPosition, cursorPosition);
}
});
/**
* @Route("/for", name="for")
*/
public function forAction(Request $request)
{
return $this->render(
$request->query->has('embed')
? 'default/for_embed.html.twig'
: 'default/for_include.html.twig'
);