This file contains hidden or 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
# UpdateDDNS.ps1 | |
# Update Dynamic DNS on Namecheap.com via HTTP GET request. | |
Param( | |
[parameter(Mandatory=$true)] | |
[alias("c")] | |
$ConfigFile) | |
# Parse the content of an INI file, return a hash with values. | |
# Source: Artem Tikhomirov. http://stackoverflow.com/a/422529 | |
Function Parse-IniFile ($file) { |
This file contains hidden or 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
using System; | |
using System.Diagnostics; | |
using System.Drawing; | |
using System.IO; | |
using System.Threading.Tasks; | |
namespace Thumbinate | |
{ | |
class Program | |
{ |
This file contains hidden or 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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
<!-- | |
Designed by | |
_|_|_| _|_| _|_|_|_| _|_| _| _|_| | |
_| _| _|_|_|_| _| _|_|_|_| _|_| | |
_| _| _| _| _| _| | |
_|_|_| _|_|_| _|_| _|_|_| _| |
This file contains hidden or 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
REM HGCOPY: Copy the files added and modified since the last | |
REM commit from a mercurial repository to the target directory. | |
REM Syntax: hgcopy [dest_path] | |
@echo off | |
if [%1]==[] goto:Syntax | |
REM Only copy added and modified files. | |
for /F "" %%I in ('hg st -man') do call :Copyfile %%I %1\%%I |