Skip to content

Instantly share code, notes, and snippets.

View jorool's full-sized avatar
🐞
WFH

Jonathan Oliveira jorool

🐞
WFH
View GitHub Profile
@jorool
jorool / gist:57714bcdc06953531749
Last active December 24, 2021 00:11
Powershell script to download images from multiple urls
$images = 'https://foo.jpg', 'https://bar.jpg'
$targetDir = 'C:\foo\bar'
function DownloadFile([Object[]] $sourceFiles,[string]$targetDirectory) {
$wc = New-Object System.Net.WebClient
foreach ($sourceFile in $sourceFiles){
$sourceFileName = $sourceFile.SubString($sourceFile.LastIndexOf('/')+1)
$targetFileName = $targetDirectory + $sourceFileName
$wc.DownloadFile($sourceFile, $targetFileName)
@jorool
jorool / gist:5938443979658bec4984
Created October 31, 2014 02:14
PowerShell Script to print file names of a directory
$fileEntries = [IO.Directory]::GetFiles("C:\foo");
foreach($fileName in $fileEntries) {
[Console]::WriteLine($fileName);
}
@jorool
jorool / resume.json
Last active June 30, 2021 01:27
Personal resume. View it at https://registry.jsonresume.org/jorool
{
"basics": {
"name": "Jonathan R. Oliveira",
"label": "Full-Stack Software Engineer",
"picture": "http://www.jonathanoliveira.com/img/team/jonathan.png",
"email": "contato@jonathanoliveira.com",
"phone": "+1 (778) 512-9903",
"website": "http://jonathanoliveira.com",
"summary": "Passionate Software Engineer with 10+ years of experience. Working professionally as full-stack developer focused on object-oriented languages. Fast learner, software craftsmanship believer, problem-solver with can-do attitude, willing to deliver high-quality software.",
"profiles": [