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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Policies\Microsoft\OneDrive] | |
"DisablePersonalSync"=dword:00000001 |
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
#!/bin/bash | |
# This script can be used to create simple chroot environment | |
# Written by LinuxConfig.org | |
# (c) 2020 LinuxConfig under GNU GPL v3.0+ | |
#!/bin/bash | |
CHROOT='/var/chroot' | |
mkdir -p $CHROOT |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
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
void Main() | |
{ | |
var options = new PasswordOptions | |
{ | |
Length = 13, | |
MinLowercase = 2, | |
MinNumbers = 2, | |
MinSpecial = 1, | |
MinUppercase = 2, | |
UseLowercase = true, |
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: Robust Office Inventory Scan - Version 1.9.1 | |
' Author: Microsoft Customer Support Services | |
' Copyright (c) Microsoft Corporation. All rights reserved. | |
' Script to create an inventory scan of installed Office applications | |
' Supported Office Families: 2000, 2002, 2003, 2007 | |
' 2010, 2013, 2016, O365 | |
Option Explicit | |
On Error Resume Next | |
Const SCRIPTBUILD = "1.9.1" |
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.IO; | |
using System.Net; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
namespace TestConsole | |
{ | |
// From https://stackoverflow.com/a/41392145/4213397 |
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
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{ | |
default: Turndown | |
}, { | |
default: Readability | |
}]) => { | |
/* Optional vault name */ | |
const vault = ""; | |
/* Optional folder name such as "Clippings/" */ |
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
```csharp | |
using System; | |
using System.Text; | |
namespace AzureMaps | |
{ | |
/// <summary> | |
/// Tile System math for the Spherical Mercator projection coordinate system (EPSG:3857) | |
/// </summary> | |
public static class TileMath |
NewerOlder