Skip to content

Instantly share code, notes, and snippets.

View robsonpiere's full-sized avatar
💻
Coding, cycling, swimming, running...

Robson Piere robsonpiere

💻
Coding, cycling, swimming, running...
View GitHub Profile
@robsonpiere
robsonpiere / test-01.MD
Last active August 28, 2024 18:51
Testing Mermaid support on github
flowchart TD
%% Nodes
    A("fab:fa-youtube <a rel="noopener" href="https://www.youtube.com/watch?v=T5Zthq-QR2A&amp" target="_blank">Starter Guide</a>")
    B("fab:fa-youtube <a rel="noopener" href="https://www.youtube.com/watch?v=rfQ_yGJ8QAQ&amp" target="_blank">Make Flowchart</a>")
    C("fa:fa-book-open <a rel="noopener" href="https://mermaid.js.org/syntax/flowchart.html" target="_blank">Learn More</a>")
    D{"Use the editor"}
    E(fa:fa-shapes Visual Editor)
    F("fa:fa-chevron-up Add node in toolbar")
    G("fa:fa-comment-dots AI chat")
@robsonpiere
robsonpiere / flow.MD
Created January 11, 2024 14:35
Release Pelase Flow
---
title: Release flow
---
flowchart LR
    classDef default fill:#5C307F,color:#FFF,stroke:#000000;
    classDef begin  fill:#BEC100,color:#000,stroke:#000000;
 classDef finish fill:#FF8100,color:#FFF,stroke:#000000;
@robsonpiere
robsonpiere / code.ipynb
Created November 14, 2023 22:35
Compression challenge
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@robsonpiere
robsonpiere / highlight-blockquote.md
Last active December 26, 2023 21:13
Testing An option to highlight a "Note" and "Warning" using blockquote

Note

Highlights information that users should take into account, even when skimming.

Tip

Optional information to help a user be more successful.

Important

Crucial information necessary for users to succeed.

[!WARNING]

@robsonpiere
robsonpiere / index.html
Last active May 8, 2023 21:04
Exemplo simples da API de validação do javascript
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script src="script.js" defer></script>
</head>
@robsonpiere
robsonpiere / reinicia_servico.bat
Created December 7, 2018 10:24
Scripts Utéis para Windows Server
@Echo Off
Set ServiceName=MySQL57
SC queryex "%ServiceName%"|Find "STATE"|Find /v "RUNNING">Nul&&(
echo %ServiceName% Fora do AR
echo Start %ServiceName%
Net start "%ServiceName%">nul||(
Echo "%ServiceName%" não pode ser iniciado
exit /b 1
)
@robsonpiere
robsonpiere / launch.json
Last active November 29, 2018 16:47
Debug ionic in vsCode
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Executar o Chrome contra localhost",
"url": "http://localhost:8100",
"sourceMaps": true,
"webRoot": "${workspaceFolder}/www"
@robsonpiere
robsonpiere / MY_Model.php
Last active August 16, 2018 19:26
Execute Stored Procedure - MSSQL - Codeignaiter 3
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class MY_Model extends CI_Model
{
public function __construct()
{
parent::__construct();
}
https://scotch.io/tutorials/angularjs-multi-step-form-using-ui-router
@robsonpiere
robsonpiere / prints.py
Last active June 24, 2017 15:10
Printscreen em python
import pyscreenshot as ImageGrab
def main():
imagens = []
# captura todas as imagens primeiro e deixa na memória
for i in range(10):
imagens.append(ImageGrab.grab())
print("captura:" + str(i))