In global gitconfig -- on windows in Program Files/Git/etc
# xxxxxxx Projects
[includeIf "gitdir:<path to dir you're interested in>/**"]
path = path to specific gitconfig created for this project| // ==UserScript== | |
| // @name SVG Favicon test | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Update the favicon on a site | |
| // @author You | |
| // @match https://elliz.github.io/svg-favicon/ | |
| // @grant none | |
| // ==/UserScript== |
| // Bookmarklet for Azure DevOps work items | |
| // Select a number, click bookmarklet and open workitem with that id in new window | |
| // Can edit using tools such as http://subsimple.com/bookmarklets/jsbuilder.htm | |
| // based on code found at https://stackoverflow.com/questions/26261323 | |
| javascript: | |
| (function(){ | |
| const path = 'your/path-here'; // usually Domain/projectId | |
| s=document.selection?document.selection.createRange().text:window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection():''; | |
| if(s==''){ | |
| s=prompt('Enter%20ID%20of%20workitem%20:',''); |
| git config --global core.editor "'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin" |
| # From Admin PS Shell: | |
| Install-Module -Name AzureAD | |
| Connect-AzureAD | |
| Get-AzureADUser -ObjectId "your email address" |
| // ==UserScript== | |
| // @name Optus - Domain Name Filter | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.2 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match http://192.168.8.1/html/urlfilter.html | |
| // @grant GM_addStyle | |
| // ==/UserScript== |
| // Testing code via Stack Overflow answer at: | |
| // https://stackoverflow.com/a/16281192/581414 | |
| void Main() | |
| { | |
| var square = new List<Point>{ | |
| new Point(1, 1), | |
| new Point(1, 10), | |
| new Point(10,10), | |
| new Point(10,1), |
| using Microsoft.Azure.Cosmos; | |
| using Microsoft.Azure.Cosmos.Scripts; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Threading.Tasks; | |
| namespace GoesHere | |
| { |