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
param ( | |
$GitDir = @("C:\git"), | |
$RepoNames = @( | |
"repo1", | |
"repo2" | |
), | |
$Branched = $true | |
) | |
$ErrorActionPreference = "Stop" |
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
// ==UserScript== | |
// @name Gallerix Scraper | |
// @namespace http://andrewkidd.co.uk/ | |
// @version 0.1 | |
// @description Batch grab gallerix images | |
// @author You | |
// @match https://gallerix.org/storeroom/* | |
// @match https://gallerix.org/pic/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=gallerix.org | |
// @grant GM_openInTab |
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
' takes in a text value and returns an image of the barcode on Code-128 | |
' Exceptions are caught and written out as an image in arial | |
' | |
' USAGE: | |
' =Code.Code128(Fields!BarCode.Value) | |
Public Function Code128(ByVal stringText As String) As Byte() | |
Dim result As Byte() = Nothing | |
Dim image = Nothing |
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
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"adminUsername": { | |
"type": "string", | |
"defaultValue": "admin" | |
}, | |
"adminPassword": { | |
"type": "securestring" |
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
// ==UserScript== | |
// @name TaoBao Currency Converter (GBP) | |
// @namespace http://andrewiankidd.co.uk/ | |
// @version 0.1 | |
// @description taobao inline currency converter | |
// @author You | |
// @match *item.taobao.com/* | |
// @grant none | |
// @require http://code.jquery.com/jquery-latest.js | |
// ==/UserScript== |
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
(Invoke-RestMethod -ContentType "application/octet-stream" https://pastebin.com/raw/3AXTMQFk) -split "`r`n"|%{$_;$v=(Invoke-RestMethod -ContentType "application/octet-stream" $_|%{[regex]::Match($_,'"(http).+(video.noco.tv).+"')}).value;if($v){Add-Content $v -Path "vidlinks.txt";$v}} |
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
/* | |
* Do not remove the @namespace line -- it's required for correct functioning | |
*/ | |
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */ | |
#nav-bar{ | |
margin-top: -32px; | |
visibility: hidden; | |
transition:0s all 2s; | |
} |
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
Write-Host "addStartupItems.ps1" | |
$cd = Get-Location; | |
$zipPath = "$cd\startupItems.zip" | |
$startupPath = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp" | |
$unzipPath = "$cd\startupUnzip" | |
if (Test-Path($unzipPath)){ | |
Remove-Item -path $unzipPath -force -recurse | |
} |
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
param ($fqdn) | |
if ($fqdn -eq $null){ | |
#lots of assuming going on here | |
$zone = ".westeurope.cloudapp.azure.com" | |
$fqdn = "$env:computername$zone" | |
} | |
##enable winrm |
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
// ==UserScript== | |
// @name VSTS Helper | |
// @namespace http://andrewiankidd.co.uk/ | |
// @version 0.2 | |
// @description Adds a button to set latest versions of all artifacts, adds a button to set all environments to manual deployment, autofills name in kanban board | |
// @author Andrew Kidd | |
// @match http://*/tfs/* | |
// @grant none | |
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js | |
// @require https://cdnjs.cloudflare.com/ajax/libs/jQuery-linkify/2.1.6/linkify.min.js |
NewerOlder