View azure-devops-board-show-more-in-new-column-fixer.js
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
// ==UserScript== | |
// @name Azure Devops Board - New items visibility fixer | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Sometimes the column "New" in the board doesn't show all work items, it's a bug but MS has no current plan to fix that https://developercommunity.visualstudio.com/idea/759643/in-boards-always-display-all-cards-ie-never-displa.html?childToView=1215466#comment-1215466 | |
// @author https://github.com/Golapadeog | |
// @match https://dev.azure.com/[ACCOUNT]/[PROJECT]/_boards/board/t/[TEAM]/Stories | |
// @grant none | |
// ==/UserScript== |
View signandverify.js
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
/// go to https://8gwifi.org/RSAFunctionality?rsasignverifyfunctions=rsasignverifyfunctions&keysize=2048 to generate a pair of key for testing | |
const rsa = require('node-rsa'); | |
const privateKey = '-----BEGIN RSA PRIVATE KEY-----\n' + ... + '-----END RSA PRIVATE KEY-----'; | |
const publicKey = '-----BEGIN PUBLIC KEY-----\n' + ... + '-----END PUBLIC KEY-----'; | |
const message = "hello.bonjour.여보세요"; | |
const messageBuffer = Buffer.from(message, 'utf8'); | |
// sign message with the private key |
View generate-app-android.yml
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
parameters: | |
- name: appFolder # ex : ./src/MyApp | |
type: string | |
- name: flutterVersion # ex : 1.17.5 | |
type: string | |
- name: appVersion # ex : 1.10.1 | |
type: string | |
- name: appBuildNumer # ex : 303 (/!\ the build number must be incremental when the package is published on the store) | |
type: string |
View AppleTokenValidator.cs
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
using System; | |
using System.Collections.Generic; | |
using System.IdentityModel.Tokens.Jwt; | |
using System.Linq; | |
using System.Net.Http; | |
using System.Text.Json; | |
using System.Threading.Tasks; | |
using Microsoft.IdentityModel.Tokens; | |
/// <summary> |
View postman-polling.js
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
const addFunction = (func) => { | |
pm.globals.set('sf-' + func.name, "" + func); | |
} | |
const getRetryKey = () => { | |
return 'retry_[' + request.name + '][' + request.id + ']'; | |
} | |
const retryClear = () => { | |
const retryKey = eval(pm.variables.get('sf-getRetryKey'))(); |
View add-inbound.ps1
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
$resourceGroupName = 'my-rg' | |
$nsgName = 'my-nsg' | |
$ruleName = 'AllowBuildServerInBound-temp' | |
$ports = '*' | |
$agentIp = Invoke-RestMethod http://ipinfo.io/json | Select -exp ip | |
az network nsg rule create --resource-group $resourceGroupName --nsg-name $nsgName --name $ruleName --priority 500 --access Allow --direction Inbound --source-address-prefix $agentIp --source-port-ranges '*' --destination-address-prefixes '*' --destination-port-ranges $ports |
View EnumerableExtensions.cs
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
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Threading; | |
using System.Threading.Tasks; | |
public static class EnumerableExtensions | |
{ | |
/// <summary> | |
/// Invokes an asynchronous action with delay on each item in the collection in parallel |