<% await tp.user.date(tp) %>
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
(async () => { | |
debugger; | |
const mdFiles = app.vault.getMarkdownFiles().filter(f => f.path.startsWith('Programming/LeetCode/')); | |
const problemFiles = mdFiles.filter(f => f.path.startsWith('Programming/LeetCode/Problems/')); | |
const urlNoteMap = new Map(); | |
for (const problemFile of problemFiles) { |
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
@node "%~dp0\script.js" |
ApexSQL Refactor has setting Always use BEGIN and END in IF statements
It doesn't work well for ELSE IF statements and includes unnecessary nesting
Even worse, it includes semicolons after END on subsequent formatting which makes SQL invalid
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
powershell -NoExit -NoProfile -ExecutionPolicy Bypass -Command "Invoke-WebRequest -Uri https://gist.githubusercontent.com/mnaoumov/fe950c42fca4ad2482df2878b3bf9aaa/raw/Setup.ps1 -UseBasicParsing | Invoke-Expression" |
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
$ErrorActionPreference = "Stop" | |
Set-StrictMode -Version Latest | |
function Replace-ViewState([string] $content) | |
{ | |
if (-not ($content.Contains("ViewState["))) | |
{ | |
return $content | |
} |
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: MicrosoftAjaxWebForms.debug.js | |
// Assembly: System.Web.Extensions | |
// Version: 4.0.0.0 | |
// FileVersion: 4.0.30319.36278 | |
//----------------------------------------------------------------------- | |
// Copyright (C) Microsoft Corporation. All rights reserved. | |
//----------------------------------------------------------------------- | |
// MicrosoftAjaxWebForms.js | |
// Microsoft AJAX ASP.NET WebForms Framework. | |
Type._registerScript("MicrosoftAjaxWebForms.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
<!doctype html> | |
<html> | |
<head> | |
</head> | |
<body> | |
<script> | |
var iframe = document.createElement("iframe"); | |
iframe.src = "http://rawgit.com/mnaoumov/0e5ea2c57bdecf3603e6/raw/09bd76f62e474302d7a7fe6dafb20234acef9fbd/test.html"; | |
setTimeout(function removeIframe() { |
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
string testString = @" | |
FUNCTION ""Timer_€_OC"" : Void | |
... | |
END_FUNCTION"; | |
var functionRegex = new Regex(@"FUNCTION\s*\""(?<Name>[^\""]+)\""\s*\:\s*(?<Type>[\S]+)"); | |
var match = functionRegex.Match(testString); | |
Debug.Assert(match.Groups["Name"].Value == "Timer_€_OC"); |
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
C:\dev\1> $env:GIT_TRACE=1 | |
C:\dev\1> $env:GIT_CURL_VERBOSE=1 | |
C:\dev\1> git clone -v https://github.com/gitextensions/gitextensions.git | |
trace: built-in: git 'clone' '-v' 'https://github.com/gitextensions/gitextensions.git' | |
Cloning into 'gitextensions'... | |
trace: run_command: 'git-remote-https' 'origin' 'https://github.com/gitextensions/gitextensions.git' | |
* Couldn't find host github.com in the _netrc file; using defaults | |
* Adding handle: conn: 0x2150398 | |
* Adding handle: send: 0 | |
* Adding handle: recv: 0 |
NewerOlder