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
$locations = @( | |
@('3747','Plaza One'), | |
@('3743','Plaza Three') | |
) | |
$restaurants = @( | |
'Claddagh''s Irish Pub', | |
'Mikey''s Late Night Slice', | |
'Greek Street', | |
'Phy Pho Phom', |
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
# Note: the script below is to determine the SMB version of a standalone Windows system | |
# If you are checking a file server or other system with known active SMB connections, simply run Get-SmbConnection in admin shell, | |
# and observe the various negotiated SMB dialects of the individual sessions | |
$loopBack = dir \\localhost\c$ | |
$smbVer = Get-SmbConnection -ServerName localhost | Select Dialect | Sort-Object -Unique | |
$smbVer | |
<# | |
This will return something like: |
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
<# | |
.SYNOPSIS | |
deletes files on login by file age and a list of file name regular expressions | |
.DESCRIPTION | |
srsly man, that's all it does. | |
.EXAMPLE | |
.\dloadCleanup.ps1 | |
#> |
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
#!/usr/bin/env python | |
import xmlrpclib | |
import ssl | |
import logging | |
import os | |
import sys | |
import time | |
logging.basicConfig(level=logging.DEBUG) |
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
from sagemaker import get_execution_role | |
role = get_execution_role() | |
bucket='sagemaker-12272017t1706' |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer