Esse é documento de orientação para a implementação de novas linguagens no repositório nexusedge/ai-nlp-tc
Durante o pré-processamento é feito, na seguinte ordem, os seguintes procedimentos:
| #!/usr/bin/env bash | |
| # | |
| # Bash Script | |
| # | |
| # Copyright © Manoel Vilela | |
| # | |
| # | |
| find . -iname .git -exec bash -c \ | |
| "cat '{}/config' | \ |
| #!/bin/bash | |
| # | |
| # Created by Manoel Vilela | |
| # | |
| ssh_setup() { | |
| eval "$(ssh-agent -s)" | |
| ssh-add ~/.ssh/id_rsa | |
| ssh -T git@github.com | |
| } |
| #!/usr/bin/env python | |
| # | |
| # Python Script | |
| # | |
| # Copyleft © Manoel Vilela | |
| # | |
| # | |
| # complexity time: O(n x m) |
| #!/usr/bin/env bash | |
| # | |
| # Bash Script | |
| # | |
| # Copyright © Manoel Vilela | |
| # | |
| # | |
| from requests import get | |
| from bs4 import BeautifulSoup |
| #!/usr/bin/env python | |
| # coding=utf-8 | |
| # Python Script | |
| # | |
| # Copyright © Manoel Vilela | |
| # | |
| # | |
| from queue import Queue | |
| import asyncio |
| import re | |
| import random | |
| def num_matcher(num, _len=6): | |
| pattern = re.compile(r"^[0-9]{{{_len}}}".format_map(locals())) | |
| return bool(pattern.match(num)) | |
| value = random.randint(0, 1000000) | |
| print(value) | |
| print(num_matcher(str(value))) |
| #!/bin/bash | |
| for f in ./*.mp3; do ffmpeg -i "$f" -c:a libvorbis -q:a 4 "${f/%mp3/ogg}"; done |
| [program:your-program-label] | |
| command=interpreter file.extension | |
| directory=/the/path/of/program | |
| user=root | |
| autostart=true | |
| autorestart=true | |
| redirect_stderr=true | |
| numprocs=1 | |
| numprocs_start=1 | |
| stdout_logfile=/tmp/your-program-label.log |
| find . -name .git -type d -execdir git pull ';' |