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
advidsdesign.cc | |
chinadesels.com | |
crazycybertech.info | |
fleek.co | |
joviasevilla.com | |
veganliftz.com | |
webpronews.com |
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
# Trevor Sullivan | |
# trevor@trevorsullivan.net | |
# I want to install Ultimaker Cura on ChromeOS, under the Crostini container environment. | |
# Cura is distributed officially as the Linux AppImage format, not a Debian package. | |
# Crostini doesn't support AppImage as of December 2018, due to dependency on FUSE, which isn't supported. | |
# Crostini is compatible with Debian packages. | |
# There is an Ubuntu Personal Package Archive (PPA) with Debian packages for Cura. | |
# However, Crostini starts as a Debian Stretch environment. | |
# The Cura package is only available for Debian Buster. |
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
$ErrorActionPreference = 'stop' | |
function Get-YouTubeChannel { | |
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory = $true)] | |
[string] $Username, | |
[Parameter(Mandatory = $true)] | |
[string] $AccessToken | |
) |
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
# Create an empty Byte array, with a length of 1 byte | |
$Data = [System.Byte[]]::new(1) | |
# Open a FileStream to the specified file path | |
$Stream = [System.IO.File]::Open("$HOME/wav1.wav", [System.IO.FileMode]::Open) | |
# Seek to Byte 35 | |
$null = $Stream.Seek(34, [System.IO.SeekOrigin]::Begin) | |
# Read a single byte, from the current position, into the specified Byte array |
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
$ErrorActionPreference = 'Stop' | |
Install-Module -Name AWS.Tools.DirectoryService, AWS.Tools.EC2, AWS.Tools.WorkSpaces -Scope CurrentUser -Force | |
Update-AWSToolsModule | |
$VPC = New-EC2Vpc -CidrBlock 10.5.0.0/16 | |
$VPC |
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
body { | |
color: blue; | |
} |
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
{ | |
"StartAt": "HelloWorld", | |
"States": { | |
"HelloWorld": { | |
"Type": "Pass", | |
"Result": "Hello World!", | |
"Next": "ITSupport" | |
}, | |
"ITSupport": { | |
"Type": "Parallel", |
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
<# | |
.Description | |
This PowerShell script will create and register a new launchd job that keeps the AWSPowerShell.NetCore module | |
up-to-date on your MacOS system. | |
If you receive an error upon registration, it's probably just because the service doesn't already exist. | |
This script tries to unload and reload the service, whether or not it exists, hence the error on initial run. | |
#> | |
$PListFile = @' |
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
############################################################################### | |
# Author: Trevor Sullivan | |
# | |
# Date: October 28, 2009 | |
# | |
# Lessons learned: | |
# | |
# 1. ADSI property names are lower case using DirectorySearcher or DirectoryEntry | |
# 2. Must explicitly cast 64-bit integers from AD | |
# 3. The Excel API is terrible (already knew that) # |
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 microsoft/windowsservercore | |
MAINTAINER Trevor Sullivan <tsulli@amazon.com> | |
SHELL ["powershell", "-Command"] | |
ENV PYTHON_DOWNLOAD https://www.python.org/ftp/python/3.6.3/python-3.6.3-amd64.exe | |
ENV PYTHON_FILE python-3.6.3-amd64.exe | |
COPY Install-Boto3.py c:/Amazon/ |