Skip to content

Instantly share code, notes, and snippets.

@gempir
gempir / readme.md
Last active March 30, 2024 19:59
Constellations Installation Hints

https://next.nexusmods.com/skyrimspecialedition/collections/9zfscf?tab=about

Installing Skyrim Anniversary Upgrade

  • When you don't have the 148 cc files go into Creation in Skyrim press O and download all owned.
  • If you still don't have 148 files (like me 140) verify game integrity and start the game again and check creation club again.
  • If then still not 148, try looking through the creations store for Bethesda Creations that are not installed
@gempir
gempir / bingo.md
Last active January 16, 2024 19:02
NymN League Bingo

Rules:

  • Nymn plays League until Bingo, breaks allowed but within 2 stream days there must always be at least one league game played
  • Only Summoners Rift, no custom games (except 1vs1)
  • only queue solo
  • Snipers disqualify the game for points
  • Remakes don’t count
  • Coaches in Discord allowed

Points:

@gempir
gempir / gist:adabced53888fcf100ba30ab07773dfb
Last active December 18, 2023 07:18
Bitbucket Cloud PR Shortcuts
// ==UserScript==
// @name Bitbucket Shortcuts advanced
// @namespace https://bitbucket.org
// @version 0.2
// @description Shortcuts
// @author Marco, Denes, Daniel
// @match https://bitbucket.org/*/*/pull-requests/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=bitbucket.org
// @grant none
// ==/UserScript==

/etc/systemd/system/myservice@.service

EnvironmentFile=-/etc/env.%i
ExecStart=/bin/sh -c "$SOME_ARGUMENT xD" 

/etc/env.123

@gempir
gempir / filters.md
Last active April 26, 2024 13:32
Chatterino Filter Collection
Filter out every user without color (greynames) 2.0
(!(author.no_color) || flags.system_message || flags.whisper || flags.highlighted || flags.points_redeemed || flags.sub_message)
Filter out every user without color (greynames)
!(author.no_color)
export default class Collection {
[Symbol.iterator]() {
return Object.values(this.items)[Symbol.iterator]();
}
}
@gempir
gempir / PageCollection.php
Last active July 24, 2020 14:10
Type Safe PHP Collection
<?php declare(strict_types=1);
use ArrayIterator;
use IteratorAggregate;
use Traversable;
class PageCollection implements IteratorAggregate
{
/** @var Page[] */
private $items;
queue = [];
rl.on("line", (link) => {
queue.push(link);
});
while(true) {
if (queue.length === 0) {
continue
@gempir
gempir / Rekursion Aufgabe 1.cs
Created September 14, 2016 14:06
Rekursion Aufgabe 1.cs
using System;
using System.Collections.Generic;
namespace a
{
class Program
{
public static void Main(string[] args)
{
Console.WriteLine(getSumUpTo(2));
using System;
using System.Collections.Generic;
namespace a
{
class Program
{
public static void Main(string[] args)
{
GenericCache cache = new GenericCache();