This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### SCRIPT PARA AUTOMATIZAR DIGITAÇÃO DE PROCEDIMENTOS | |
| ### EM QUE APENAS IDADE E QUANTIDADE SÃO ALTERADOS | |
| ### CONTÉM VALIDAÇÃO DO TOTAL ESPERADO NA SOMA FINAL | |
| import pyautogui as bot | |
| import time | |
| procedure = '0301010048' | |
| cbo = '223505' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.tb24.fn.network; | |
| import com.google.gson.JsonObject; | |
| import com.tb24.fn.model.account.*; | |
| import retrofit2.Call; | |
| import retrofit2.http.*; | |
| import java.util.List; | |
| import java.util.Map; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Function to set an environment variable if it doesn't exist | |
| function Set-EnvironmentVariableIfNotExists { | |
| param ( | |
| [string]$name, | |
| [string]$value, | |
| [string]$target = "User" # By default, set for current user | |
| ) | |
| # Check if the environment variable exists | |
| $currentValue = [System.Environment]::GetEnvironmentVariable($name, $target) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| import md5 | |
| import zlib | |
| import json | |
| import socket | |
| import urllib2 | |
| import subprocess | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| REM Screenshots will be saved to save directory | |
| REM where your script is running. | |
| REM Generate filename as timestamp | |
| set FILENAME=%DATE:/=-%@%TIME::=-% | |
| set FILENAME=%FILENAME: =% | |
| set FILENAME=%FILENAME:,=.%.png |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Intercept XMLHttpRequests */ | |
| (function(open) { | |
| XMLHttpRequest.prototype.open = function() { | |
| this.addEventListener("readystatechange", function() { | |
| console.log("readyState: "+this.readyState); | |
| }, false); | |
| open.apply(this, arguments); | |
| }; | |
| })(XMLHttpRequest.prototype.open); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name CADSUS Web - Sessão Ilimitada | |
| // @namespace cadsusweb#[email protected] | |
| // @version 1.0 | |
| // @description Mantém sessão cadsusweb ativada até que o navegador seja fechado. | |
| // @author [email protected] | |
| // @match https://cadastro.saude.gov.br/novocartao/restrito/usuarioConsulta.jsp* | |
| // @match https://cadastro.saude.gov.br/novocartao/restrito/usuarioCadastro.jsp* | |
| // @downloadURL https://gist.github.com/fellypsantos/c10515c430a8e1ac6ad7c19c17ed93e4/raw/68ad0c130b195aeedddfa674f8252214e67997aa/CadSUSWebNoExpire.user.js | |
| // @updateURL https://gist.github.com/fellypsantos/c10515c430a8e1ac6ad7c19c17ed93e4/raw/68ad0c130b195aeedddfa674f8252214e67997aa/CadSUSWebNoExpire.user.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function validaCPF($cpf) { | |
| // Extrai somente os números | |
| $cpf = preg_replace( '/[^0-9]/is', '', $cpf ); | |
| // Verifica se foi informado todos os digitos corretamente | |
| if (strlen($cpf) != 11) { | |
| return false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| Author: [email protected] | |
| Description: C# script to run as a macro inside Macro Recorder program. | |
| It receives a code like "FL" and converts to full address | |
| like "Francisco Lima" house number as default and neighborhood. | |
| */ | |
| using System.Runtime.InteropServices; | |
| using System.Threading; | |
| using System.Windows.Forms; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <application | |
| android:allowBackup="true" | |
| android:icon="@mipmap/ic_launcher" | |
| android:label="@string/app_name" | |
| android:roundIcon="@mipmap/ic_launcher_round" | |
| android:supportsRtl="true" | |
| android:theme="@style/AppTheme" | |
| android:networkSecurityConfig="@xml/network_security_config"> |
NewerOlder