Skip to content

Instantly share code, notes, and snippets.

View psilore's full-sized avatar

Erik Emmerfors psilore

View GitHub Profile
@psilore
psilore / act.md
Last active September 14, 2025 19:00
Run GitHub workflow locally with neKtos/act for faster testing

nektos/act

Run your GitHub workflows locally, for lightspeed testing your workflow script and jobs.

Example: You have created a script that checks for changes and then
creates a branch and push changes to you main branch and creates a pull request.
For some extra creme, you have created a bot that comments the PR with information
about the automated changes.

Issue: It will take time to test this in a workflow in your CI setup, since there could be

Debian, Ubuntu
sudo apt update && sudo apt install wine winetricks mono-complete
#Wine bottle / prefix
export WINEPREFIX="/home/$USER/.config/projectascension/WoW" && export WINEARCH=win32
#Make directory
@psilore
psilore / seeds
Last active December 10, 2023 14:35
Noita seeds
1184028501 - Good wand in 1:st holy mountain
1357563678 - Healing wand in Mines
1869706528 - Healing of vigor in coal pits
1655911669 - Circle of Vigoe in Mines
647116897 - Healthium flask in Mines
493841825 - Overall good seed, lotsa wands
845843593 - Mediocre
1529567648 - Two chests at entrance to mines, good wand in mines
99986 - Wierd start
1434875163 - Good overall, energy orbs and fast wands, circle of vigor in 2:nd holy mountain
@psilore
psilore / install-script-steps.md
Last active June 25, 2022 12:59
Install script for repository with submodules and test for Git and Node

Install cmd with bash

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/<reponame>/install/HEAD/install.sh)"

install.sh

EdgeRouter 4 initial setup

Edgerouter is running a fork of Vyatta, VyOS docs

Connect to console

Find serial interface

Note! If you cant find any usb to serial interface, look for mounted interface with dmesg in roder to find mounted interface

ls -ltr /dev/*usb*
@psilore
psilore / index.html
Created June 11, 2021 10:10 — forked from gaearon/index.html
Add React in One Minute
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Add React in One Minute</title>
</head>
<body>
<h2>Add React in One Minute</h2>
<p>This page demonstrates using React with no build tooling.</p>