One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
const mp3Duration = require('mp3-duration') | |
const humanInterval = require('human-interval') | |
const path = require('path') | |
const fs = require('fs') | |
const { exec } = require("child_process") | |
const MYLIST = path.basename("mylist.txt") | |
var milliseconds, duration, source, destination |
[[source]] | |
url = "https://pypi.org/simple" | |
verify_ssl = true | |
name = "pypi" | |
[packages] | |
invoke = "*" | |
click = "*" |
const fs = require("fs"); | |
class Request { | |
constructor(event){ | |
this.setMethod(event.httpMethod); | |
this.setBody(event.body, event.isBase64Encoded); | |
this.setIP(event.requestContext); | |
this.setParams(event.queryStringParameters); | |
} |
const Sentry = require("@sentry/node"); | |
const SentryLambda = require("@sentry/serverless"); | |
var sentryDns = null; | |
var sentryHandler = null; | |
function captureError(error){ | |
console.log(error); | |
if(sentryHandler){ | |
sentryHandler.captureException(error); |
const axios = require('axios'); | |
class RecaptchaService{ | |
constructor(secret){ | |
this.secret = secret; | |
} | |
setResponse(response){ | |
this.response = response || ''; |
.error { | |
color: #e64e1d; | |
} | |
/**/ | |
:root{--blue:#25504f;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#e64e1d;--orange:#fd7e14;--yellow:#fcf14b;--green:#28a745;--teal:#20c997;--cyan:#e1f5df;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#25504f;--secondary:#6c757d;--success:#28a745;--info:#e1f5df;--warning:#fcf14b;--danger:#e64e1d;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display |
import pytesseract, cv2 | |
img_cv = cv2.imread(r'./miki1.png') | |
img_rgb = cv2.cvtColor(img_cv, cv2.COLOR_BGR2RGB) | |
print("IMG 1") | |
print(pytesseract.image_to_string(img_rgb).replace("\n", "")) |
<?php | |
App::uses('Component', 'Controller'); | |
App::uses('Folder', 'Utility'); | |
class UploadComponent extends Component{ | |
const MAX_FILES = 4; | |
const DIR = WWW_ROOT.'upload'.DS; | |
public $endereco_atual = null; |
<?php | |
App::uses('Component', 'Controller'); | |
#App::uses('Vendor','phpmailer/phpmailer/class.phpmailer'); | |
App::import('Vendor', 'phpmailer', array('file' => 'phpmailer'.DS.'phpmailer'.DS.'PHPMailerAutoload.php')); | |
class MailComponent extends Component { | |
public function send() { | |
$mail = new phpmailer(); | |
//$mail->SMTPDebug = 3; // Enable verbose debug output |