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
| <# | |
| .SYNOPSIS | |
| Registers one or more user‐level applications to launch automatically at logon. | |
| .DESCRIPTION | |
| ScheduleAutoStart.ps1 creates Scheduled Tasks under “\ScheduleAutoStart\” for each | |
| entry defined in the `$apps` array. By default it installs a task to launch Crafty | |
| at the current user’s interactive logon. It can optionally be extended (uncomment | |
| the Duplicati line) to auto‑launch additional utilities. |
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
| <# | |
| .SYNOPSIS | |
| Installs (or uninstalls) a headless RDP‐at‐startup scheduled task and optional per‑user logon tasks. | |
| .DESCRIPTION | |
| When run without -Disable, this script: | |
| • Ensures it’s elevated to Administrator. | |
| • Stores (or reuses) RDP credentials in Windows Credential Manager. | |
| • Downloads the FreeRDP client (if not already present) to .\bin\sdl3‑freerdp.exe. | |
| • Registers a “HeadlessRdp_Bootstrap” task under \ScheduleAutoLogon\ that, at system startup, |
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
| <?php | |
| /* | |
| Backup script for trakt.tv (API v2). | |
| Live demo: https://darekkay.com/blog/trakt-tv-backup/ | |
| */ | |
| // create a Trakt app to get a client API key: http://docs.trakt.apiary.io/#introduction/create-an-app | |
| $apikey = "CLIENT_API_KEY"; |
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
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteRule ^index\.php$ - [L] | |
| RewriteRule (.*) ./index.php?id=$1 [L] | |
| </IfModule> |
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
| import unittest | |
| import pytest | |
| from unittest import TestCase | |
| # http://stackoverflow.com/questions/1323455/python-unit-test-with-base-and-sub-class | |
| class BaseTestCases: |
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.Collections.Generic; | |
| using System.Linq; | |
| using System.Runtime.InteropServices; | |
| using System.Runtime.InteropServices.ComTypes; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| using EnvDTE80; | |
| using EnvDTE90a; |
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.Collections.Generic; | |
| using System.Linq; | |
| using Funq; | |
| using ServiceStack; | |
| using Xunit; | |
| namespace Bug { | |
| public class EmptyArrayDtoTest { | |
| public class AppHost : AppHostHttpListenerBase { |
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
| ; The official HD AI | |
| ; An Artificial Intelligence Script written by Archon and Promiskuitiv | |
| ; Get in contact with Promiskuitiv by sending a mail to neuernamae@web.de | |
| ; List of taunts it reacts to: | |
| ; Standard taunts. | |
| ; 33 - Stop slinging resources. If slinging is requested early and is immediately canceled it may mess up the strategy. | |
| ; 38 - Sling Resources. Human player only, stops any unit production except for civilian units. |
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
| Verifying that +mayerwin is my openname (Bitcoin username). https://onename.io/mayerwin |
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.CodeDom; | |
| using System.Collections.Generic; | |
| using System.Collections.ObjectModel; | |
| using System.Linq; | |
| using System.Reflection; | |
| using System.Runtime.Serialization; | |
| using System.ServiceModel; | |
| using System.ServiceModel.Description; | |
| using System.Text.RegularExpressions; |
NewerOlder