# | Date | Opponent | Type | Time | NBA | Box Score | National TV |
---|---|---|---|---|---|---|---|
1 | Tue, Oct 16 | Philadelphia 76ers | Home | 8 p.m. | https://watch.nba.com/game/20181016/PHIBOS | https://www.basketball-reference.com/boxscores/201810160BOS.html | TNT |
2 | Fri, Oct 19 | Toronto Raptors | Away | 8 p.m. | https://watch.nba.com/game/20181019/BOSTOR | https://www.basketball-reference.com/boxscores/201810190TOR.html | |
3 | Sat, Oct 20 | New York Knicks | Away | 7:30 p.m. | https://watch.nba.com/game/20181020/BOSNYK | https://www.basketball-reference.com/boxscores/201810200NYK.html | |
4 | Mon, Oct 22 | Orlando Magic | Hom |
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
<?xml version="1.0"?> | |
<scpd | |
xmlns="urn:schemas-upnp-org:service-1-0"> | |
<specVersion> | |
<major>1</major> | |
<minor>0</minor> | |
</specVersion> | |
<actionList> | |
<action> | |
<name>GetSearchCapabilities</name> |
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
<# | |
Sync-WindowsTime.ps1 | |
#> | |
# Requires administrator rights | |
$empty_line = "" | |
# Check if the PowerShell session is elevated (has been run as an administrator) |
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
<# | |
Download-NikonAGPSUpdateFile.ps1 | |
#> | |
# Set the common parameters | |
# Note: Will overwrite the existing NMT_14A.ee file | |
$ErrorActionPreference = "Stop" | |
$start_time = Get-Date | |
$path = $env:temp |
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
<# | |
Convert-JsonToCsv.ps1 | |
#> | |
# Establish common parameters | |
$ErrorActionPreference = "Stop" | |
$path = $env:temp | |
$enumeration = @() | |
$counter = 0 |
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
<# | |
Replace-String.ps1 | |
#> | |
# Description: A code snippet, which replaces every occurrence of a string in a file with PowerShell | |
# Credit: rominator007: "How can I replace every occurrence of a String in a file with PowerShell?" | |
# Source: https://stackoverflow.com/questions/17144355/how-can-i-replace-every-occurrence-of-a-string-in-a-file-with-powershell?rq=1 | |
$content = [System.IO.File]::ReadAllText("C:\Temp\example.txt").Replace("OldString","NewValue") | |
[System.IO.File]::WriteAllText("C:\Temp\example.txt", $content) |
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
<# | |
Get-MapUsage.ps1 | |
#> | |
# Description: Tries to retrieve a "number of views" -number from a Google My Maps map and write it to a log file (map_log.csv at $env:temp). | |
# Example URL: https://www.google.com/maps/d/viewer?mid=QuiteAFewRandomLettersAndNumbers | |
# Note: Please replace the string below (between the single quotation marks) with a correct Google My Maps mid, which could be | |
# either (A) the string after = symbol in the original URL |
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
<# | |
Append-Csv.ps1 | |
#> | |
# The directory name contains at least one underscore in its name, and the first part | |
# is used in the outputted filename as a denominator ($directory = "denominator"). | |
# Note: UTF8 encoding in source files, perhaps? (for special characters et al.) | |
$path = "$env:USERPROFILE\Documents\denominator_split_files" | |
$directory = (Split-Path $path -Leaf).Split("_")[0] | |
$csv_file = "$path\merged_csvfile_$directory.csv" |
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
<# | |
Remove-EmptyFoldersLite.ps1 | |
#> | |
# $path = "." | |
$path = "C:\Temp" | |
$filename = "deleted_folders.txt" | |
$txt_file = "$env:temp\$filename" | |
$separator = "---------------------" | |
$empty_line = "" |
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
<# | |
Disable-Defrag.ps1 | |
#> | |
# Requires administrator rights | |
# Note: This script is mainly intended to use with systems with SSD drives, and is not particularly well suitable for systems with "traditional" HDD drives (with rotating disks). | |
# Note: The computer will be automatically rebooted at the end of this script (the first Step 5) | |
$path = $env:temp | |
$empty_line = "" |
NewerOlder