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
Test file |
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
Test file |
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
Test file |
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
<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<fileSnapshot xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n <files>\r\n <file path=\"C:\\ProgramData\\chocolatey\\lib\\AnkhSvn\\AnkhSvn.nupkg\" checksum=\"98836B6C04DC1F96553F77571E719A2C\" />\r\n <file path=\"C:\\ProgramData\\chocolatey\\lib\\AnkhSvn\\tools\\ChocolateyInstall.ps1\" checksum=\"40E6DDE5FDA6FD3813CC4174891EDA88\" />\r\n <file path=\"C:\\ProgramData\\chocolatey\\lib\\AnkhSvn\\tools\\ChocolateyUninstall.ps1\" checksum=\"C0D802F6439762B7BA7169090770F647\" />\r\n </files>\r\n</fileSnapshot> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<files> | |
<file path="C:\ProgramData\chocolatey\lib\applicationcompatibilitytoolkit\applicationcompatibilitytoolkit.nupkg" checksum="2A62F5DA567C00D30BEE5EDB0CBF1D09" /> | |
<file path="C:\ProgramData\chocolatey\lib\applicationcompatibilitytoolkit\tools\chocolateyInstall.ps1" checksum="D7F8382EE4831301DD86A7CB49AEEA82" /> | |
<file path="C:\ProgramData\chocolatey\lib\applicationcompatibilitytoolkit\tools\chocolateyUninstall.ps1" checksum="FF19EF6FDEE3A1CB53603FD52DA0538D" /> | |
</files> | |
</fileSnapshot> |
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
Test file |
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
let interval i = | |
let x = float i | |
let maxWait = 60. * 10. | |
let raisePower x = pown (x /10.) 4 | |
(maxWait * (raisePower x)) / (raisePower x + 1.) | |
|> (*) 1000. |> int |
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
internal static class NativeMethods | |
{ | |
[DllImport("kernel32.dll", CallingConvention = CallingConvention.WinApi, | |
EntryPoint = "CloseHandle", ExactSpelling = true, SetLastError = true)] | |
internal static extern bool CloseHandle(IntPtr handle); | |
[DllImport("kernel32.dll", CallingConvention = CallingConvention.WinApi, | |
CharSet = CharSet.Unicode, EntryPoint = "CreateFileW", | |
ExactSpelling = true, SetLastError = true)] | |
internal static extern IntPtr CreateFile( |
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
#!/usr/bin/env bash | |
# | |
# gh-dl-release! It works! | |
# | |
# This script downloads an asset from latest or specific Github release of a | |
# private repo. Feel free to extract more of the variables into command line | |
# parameters. | |
# | |
# PREREQUISITES | |
# |
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() | |
{ | |
Environment.CurrentDirectory = Path.GetDirectoryName(Util.CurrentQueryPath); | |
Compiler.CompileFiles(Options.CreateOnDiskDll( | |
@namespace: "LinqPad.QueriesCompiler", | |
outputFile: "LinqPad.QueriesCompiler.dll") | |
.AddCodeFile(CodeType.LinqProgramTypes, Util.CurrentQueryPath)) | |
.Dump("Successfully created assembly at " + DateTime.Now.ToLocalTime()); | |
} |