🏳️🌈
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 WhatsApp Web Dark | |
// @namespace https://mattjeanes.com | |
// @version 1.0 | |
// @description Enables the beta WhatsApp dark theme | |
// @author Matt Jeanes | |
// @match https://web.whatsapp.com/ | |
// @grant none | |
// ==/UserScript== |
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
$publishingUsername = '$xxx' | |
$publishingPassword = 'xxx' | |
$scmUri = 'https://xxx.scm.azurewebsites.net' | |
$zipFile = "xxx.zip" | |
$deployUrl = "$scmUri/api/zipdeploy?isAsync=true" | |
$deployStatusUrl = "$scmUri/api/deployments/latest" | |
$byteArray = [System.Text.Encoding]::ASCII.GetBytes($publishingUsername + ":" + $publishingPassword) | |
$authHeader = "Basic $([Convert]::ToBase64String($byteArray))" |
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
@name TARDIS | |
@inputs | |
@outputs XYZ:vector | |
@persist Target:entity TARDIS:entity Visible SavePos:vector SaveAng:angle | |
runOnChat(1) | |
if (first()|dupefinished()){ | |
TARDIS=entity():isConstrainedTo():tardisGet() | |
TARDIS:createWire(entity(),"XYZ", "XYZ") | |
Target=owner() | |
entity():setAlpha(0) |
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
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
}, | |
"variables": { | |
"appServicePlanName": "myapp-swaptest-asp", | |
"site_name": "myapp-swaptest-app", | |
"functionapp_name": "myapp-swaptest-func", | |
"stagingslot_name": "staging" |
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
$commaNumberRegex = [regex]'([0-9][0-9\,]+[0-9])' | |
$decimalNumberRegex = [regex]'([0-9]+\.[0-9]+)' | |
$poundsRegex = [regex]'£([0-9\,]*[0-9]+)' | |
$dollarsRegex = [regex]'\$([0-9\.\,]*[0-9]+)' | |
$ordinalRegex = [regex]'([0-9]+)(st|nd|rd|th)' | |
$numberRegex = [regex]'[0-9]+' | |
if (-not (Get-Module -ListAvailable -Name "PSUnidecode")) { | |
Install-Module "PSUnidecode" -Force | |
} |
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
Set-Location $PSScriptRoot | |
if (-not (Get-Module -ListAvailable -Name "Newtonsoft.Json")) { | |
Install-Module "Newtonsoft.Json" -Force | |
} | |
Import-Module "Newtonsoft.Json" | |
. $PSScriptRoot/normalize.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
const fetch = require("node-fetch"); | |
const oauthClientUrl = "https://pastebin.com/raw/pS7Z6yyP" | |
const baseUrl = "https://owner-api.teslamotors.com"; | |
function wait(ms) { | |
return new Promise(resolve => setTimeout(resolve, ms)); | |
} | |
async function getHeaders() { |
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 Microsoft.Extensions.Logging; | |
using Microsoft.Extensions.Options; | |
using Microsoft.TeamFoundation.SourceControl.WebApi; | |
using Microsoft.TeamFoundation.WorkItemTracking.WebApi; | |
using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models; | |
using Microsoft.VisualStudio.Services.WebApi; | |
using Microsoft.VisualStudio.Services.WebApi.Patch; | |
using Microsoft.VisualStudio.Services.WebApi.Patch.Json; | |
using Newtonsoft.Json; | |
using System; |
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 MongoDB.Bson.Serialization.Attributes; | |
using MongoDB.Driver; | |
using StackExchange.Exceptional.Internal; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
namespace StackExchange.Exceptional.Stores | |
{ |
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 Nightmare = require('nightmare') | |
const request = require('request-promise') | |
const fs = require('fs'); | |
const email = "xxxxx"; | |
const encodedPassword = "xxxxx"; | |
const expectedFile = "./expected.json"; | |
const expected = require(expectedFile); | |
const pushoverToken = "xxxxx"; | |
const pushoverUser = "xxxxx"; |