swee / Original fastfile code (without templates)
0 gustos
0 bifurcaciones
1 archivos
Última actividad 3 weeks ago
Ripped out from my original PythonAnywhere Flask code
1 | from flask import Flask, send_file, request, redirect, abort, render_template, Response |
2 | import pyotp |
3 | import uuid |
4 | fastfile = """<body class="container text-white bg-dark"> |
5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
6 | <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"> |
7 | <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script> |
8 | <script src="https://kit.fontawesome.com/30bde606c1.js" crossorigin="anonymous"></script> |
9 | <style> |
10 | center { |
swee / gist:0d3f1f59332a4ae790b9cde76ee8e7af
0 gustos
0 bifurcaciones
1 archivos
Última actividad 4 months ago
1 | $ mkdir fastfile |
2 | $ cd fastfile |
3 | $ nano docker-compose.yml |
4 | copy paste, ctrl-s, ctrl-x |
5 | $ nano .env |
6 | copy paste, edit, ctrl-s, ctrl-x |
7 | $ docker compose up -d |
swee / MS Comic chat backtrace on Wine
0 gustos
0 bifurcaciones
1 archivos
Última actividad 4 months ago
1 | Unhandled exception: page fault on read access to 0x00000000 in wow64 32-bit code (0x0048cde0). |
2 | Register dump: |
3 | CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:002b |
4 | EIP:0048cde0 ESP:0012f144 EBP:0012f150 EFLAGS:00010286( R- -- I S - -P- ) |
5 | EAX:00504aff EBX:00000000 ECX:00000000 EDX:00000000 |
6 | ESI:00000000 EDI:004fb33c |
7 | Stack dump: |
8 | 0x0012f144: 00000000 00a27994 00a291f0 0012f188 |
9 | 0x0012f154: 00440e5f 004fb33c 00000000 0012f270 |
10 | 0x0012f164: 0012f26c 0046c2aa 00000000 0012f270 |
swee / Update forgejo script
0 gustos
0 bifurcaciones
1 archivos
Última actividad 4 months ago
Simple script to update Forgejo Server.
1 | # HOW TO USE THIS SCRIPT |
2 | # download this file and run |
3 | # python3 forgejoupdate.py |
4 | # |
5 | # If you aren't root, use sudo or doas. |
6 | # |
7 | # If you use an init system to run Forgejo, you can let this script automatically restart Forgejo for you |
8 | # (Assuming Forgejo's service name is `forgejo`) |
9 | # By passsing the arguments `systemd` or `openrc` |
10 | # |