Skip to content

Instantly share code, notes, and snippets.

@Lord-Giganticus
Lord-Giganticus / Setup Spcomp on github actions.md
Created July 14, 2021 03:32
Various ways to setup the Sourcepawn compiler

To install wget for UNIX (mac and ubuntu) sudo apt-get update && sudo apt-get install -y wget should work and for windows use choco install wget --acceptlicense --confirm --verbose

- name: Get lowercase of os
  id: string
        uses: ASzc/change-string-case-action@v1
        with:
          string: ${{ runner.os }}
- run: mkdir sp
- name: Setup Spcomp
 shell: bash
@Lord-Giganticus
Lord-Giganticus / README.md
Last active January 8, 2021 16:49
A small python function to handle exceptions.

error.py by @Lord-Giganticus.

Usage: from error import error and:

except:
  error.problem(interger, interger)

if it's a input error, instead do:

except: