This file contains 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
$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) |
This file contains 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
$fileEntries = [IO.Directory]::GetFiles("C:\foo"); | |
foreach($fileName in $fileEntries) { | |
[Console]::WriteLine($fileName); | |
} |
This file contains 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
{ | |
"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": [ |