An open API service indexing awesome lists of open source software.

https://github.com/iron-wolf/script

Script and stuff
https://github.com/iron-wolf/script

perl-script personal powershell-script script shell-script

Last synced: 9 months ago
JSON representation

Script and stuff

Awesome Lists containing this project

README

          

![Top Language](https://img.shields.io/github/languages/top/Iron-Wolf/script)
![GitHub language count](https://img.shields.io/github/languages/count/Iron-Wolf/script?color=blueviolet)

# Table of contents
- [Description](#description)
- [Markdown Documentation](#markdown-documentation)
- [Writting Conventions](#writting-conventions)

# Description

Contains scripts and notes on various software (games, tools, linux, ...).
Serves as a back-up and centralization for all my tuning/tweaking needs.

# Markdown Documentation
I don't know where to put this, so here it is.

## Highlighting box
Highlights a text by framing it in an element with an icon.
Useful for writing a Wiki.
This was inspired by some cool documentation, like [Spring Boot](https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using.devtools).

> [â„šī¸](# "Note") Note
> Add details or a context to something

> [✅](# "Tips") Tips
> Add another way of doing things or give details on how to use.
> This box can be expanded with several lines.

> [👉](# "Important") Important
> Extra warning to prevent major issues

> [âš ī¸](# "Warning") Warning
> Warns or prevent potential consequences

> [â›”ī¸](# "Caution") Caution
> Indicate that something is impossible or not advised

To add this box, you can use this notation :
```markdown
current page
add anchor ─────┐ │ ┌────── tooltip
> [â„šī¸](# "Info")
> Text here
```

## Highlight in GitHub
> [!NOTE]
> Useful information that users should know, even when skimming content.

> [!TIP]
> Helpful advice for doing things better or more easily.

> [!IMPORTANT]
> Key information users need to know to achieve their goal.

> [!WARNING]
> Urgent info that needs immediate user attention to avoid problems.

> [!CAUTION]
> Advises about risks or negative outcomes of certain actions.

# Writting Conventions

## Command/code synopsis
### Description
Convention used to describe command usage or code snippets.
Usefull for text friendly manual or usage tips in documentations.

| Usage | [Manual (Unix)](https://man7.org/linux/man-pages/man1/man.1.html#DESCRIPTION) | [PostgreSQL](https://www.postgresql.org/docs/current/notation.html) | regex
|---|---|---|---|
| used for as-is text | **bold** format (no format in cli) | no format | |
| indicate replaceable arguments | _italic_ format (underlined uppercase in cli) | _**italic and bold**_ | `\w+` |
| choices delimiter | not supported (braces `{}` in GNU style) | braces `{}` | `()` |
| choices separator | vertical bars `\|` | vertical bars `\|` | `\|` |
| surround optional parts or arguments | brackets `[]` | brackets `[]` | `()?` |
| the preceding element can be repeated | ellipses `...` | ellipses `...` | `( \g<-2>)*` |

All other symbols, including parentheses, should be taken literally

### Exemple
> **ftp** [-**pinegvd**] [_host_]
> `ftp (-[pinegvd]+)?( \g<-2>)* [a-zA-Z0-9_.]+`
- ftp -p sample.host
- ftp -i other.host

> GRANT { { CREATE | CONNECT | TEMPORARY | TEMP } [, ...] | ALL [ PRIVILEGES ] } ON DATABASE database_name [, ...] TO role_specification [, ...] [ WITH GRANT OPTION ][ GRANTED BY role_specification ]
> `GRANT (((CREATE|CONNECT|TEMPORARY|TEMP)(,\g<2>)*)|(ALL( PRIVILEGES)?)) ON DATABASE (\w+)(,\g<-2>)* TO (\w+)(,\g<-2>)*( WITH GRANT OPTION)?( GRANTED BY (\w+)(,\g<-2>)*)?`
- GRANT CREATE, CONNECT ON DATABASE db-sample TO db-user
- GRANT ALL ON DATABASE db-sample TO db-user