Skip to content

Instantly share code, notes, and snippets.

@fengor
fengor / Skyrim - Export Ingredients.pas
Created March 22, 2022 07:51
Export script for ingredients to use with SSEEdit (used to generalte alchemical compendium for CACO)
{
Export and import weapons stats from *.csv files.
Right click and apply script to selected weapons, weapon group,
plugin or several selected plugins.
}
unit UserScript;
var
slIngredients, slValues, slLookup: TStringList;
DoExport: boolean;
@fengor
fengor / ignite.sh
Last active February 4, 2020 13:36
#!/bin/bash
regex="id=([0-9]+)"
if [[ $(xinput list | grep "AT Translated") =~ $regex ]]; then master_id=${BASH_REMATCH[1]}; fi
if [[ $(xinput list | grep "master keyboard") =~ $regex ]]; then keyboard_id=${BASH_REMATCH[1]}; fi
xinput float $keyboard_id &&
impressive -a 15 $1 &&
xinput reattach $keyboard_id $master_id
@echo off
set _Output=d:\tmp\_output
set _SteamPath=D:\SteamLibrary\SteamApps\common\Skyrim
set _Profile=profiles\S.T.E.P
echo Deleting old dir...
rem RD /S /Q "%_Output%"
cls
echo Ready to start.
pause
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . +-----------+. . . .
. . .|. . . . . .|. . . . .
. . . | . . . . . | . . .
. . .|. . . . . .|. . . . .
. . . +-----------+ . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
@echo off
chcp 850
echo "äö®"
chcp 65001
echo "äö®"
16:08:33 [EnvInject] - Loading node environment variables.
16:08:33 Building remotely on Build in workspace E:\Jenkins\Build\workspace\CarCert\car-cert
16:08:33 Cloning the remote Git repository
16:08:33 Cloning repository ssh://ggnma01@repos.arvatoinfoscore.de/GIT/APCPNMAGIT01/carcert/carcert.git
16:08:33 > C:\Program Files\Git\bin\git.exe init E:\Jenkins\Build\workspace\CarCert\car-cert # timeout=10
16:08:34 Fetching upstream changes from ssh://*redacted*
16:08:34 > C:\Program Files\Git\bin\git.exe --version # timeout=10
16:08:34 using GIT_SSH to set credentials
16:08:34 > C:\Program Files\Git\bin\git.exe -c core.askpass=true fetch --tags --progress ssh://*redacted* +refs/heads/*:refs/remotes/origin/*
16:08:34 ERROR: Error cloning remote repo 'origin'
try:
import simplejson
except ImportError as ie:
print json.dumps({
"failed" : True,
"msg" : "Could not import simplejson. Please install simplejson module.",
"error" : ie
})
sys.exit(1)
vagrant@ansible-dev:~/coding/ansible-module-acme/web_infrastructure$ ~/coding/ansible/hacking/test-module -m letsencrypt.py -a "action=\"create_csr\" directory=\"$DIRECTORY_URL\" keyfile=\"/home/vagrant/private.pem\" keyfile_pass=asdf domain='fengors-realm.de'"
* including generated source, if any, saving to: /home/vagrant/.ansible_module_generated
* this may offset any line numbers in tracebacks/debuggers!
***********************************
RAW OUTPUT
{"msg": "value argument must be a text type.", "failed": true, "invocation": {"module_args": {"domain": "fengors-realm.de", "keyfile_pass": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "keyfile": "/home/vagrant/private.pem", "agree_to_tos": false, "action": "create_csr", "directory": "https://acme-staging.api.letsencrypt.org/directory", "subjectAlternates": []}}}
***********************************
PARSED OUTPUT

Keybase proof

I hereby claim:

  • I am fengor on github.
  • I am fengor (https://keybase.io/fengor) on keybase.
  • I have a public key whose fingerprint is D3CC 57D0 1127 EA07 4979 5F9C B900 3304 34C6 5AD3

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am fengor on github.
* I am fengor (https://keybase.io/fengor) on keybase.
* I have a public key whose fingerprint is 2BD5 CF7E 3133 39C0 1C79 1B5F FFC1 6936 390B C112
To claim this, I am signing this object: