This file contains hidden or 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
| { | |
| "final_space": true, | |
| "osc99": false, | |
| "console_title": false, | |
| "console_title_style": "", | |
| "console_title_template": "", | |
| "blocks": [ | |
| { | |
| "type": "prompt", | |
| "alignment": "left", |
This file contains hidden or 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.Linq; | |
| namespace Extensions | |
| { | |
| /// <summary> | |
| /// Allow the up to the first eight elements of an array to take part in C# 7's destructuring syntax. | |
| /// </summary> | |
| /// <example> | |
| /// (int first, _, int middle, _, int[] rest) = new[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; |
This file contains hidden or 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
| #r "nuget:FsPickler" | |
| #r "nuget:FsPickler.Json" | |
| #r "nuget:FSharp.Quotations.Evaluator" | |
| open MBrace.FsPickler | |
| open MBrace.FsPickler.Json | |
| open FSharp.Quotations | |
| open FSharp.Quotations.Evaluator | |
| open System.IO | |
| open System.Text |
This file contains hidden or 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
| #r "nuget:SwaggerProvider" | |
| #r "nuget:TaskBuilder.fs" | |
| module Domain = | |
| type Region = { Name:string; Population:int } | |
| module Infra = | |
| open System | |
| open System.Threading | |
| open System.Threading.Tasks |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| # Security Challenge of Veepee (14-05-2020) | |
| ## SQL injection | |
| - test injection | |
| 1 or 1=2 | |
| 1 or 1=1 | |
| also error tell that this is MySql |
This file contains hidden or 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
| net stop wuauserv | |
| reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v UseWUServer /t Reg_DWORD /d 0 /f | |
| net start wuauserv | |
| Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force | |
| Set-PSRepository -Name PSGallery -InstallationPolicy Trusted | |
| Install-Module PSWindowsUpdate -Repository PSGallery -Force | |
| Get-WindowsUpdate -AcceptAll -Install -MicrosoftUpdate |
This file contains hidden or 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
| // The form | |
| let form = new Form(Visible = true, Text = "Data grid #1", | |
| TopMost = true, Size = Drawing.Size(600,600)) | |
| // The grid | |
| let data = new DataGridView(Dock = DockStyle.Fill, Text = "Data grid", | |
| Font = new Drawing.Font("Lucida Console", 10.0f), | |
| ForeColor = Drawing.Color.DarkBlue) | |
| form.Controls.Add(data) |
This file contains hidden or 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 loop = | |
| [0..100] |> List.iter (fun x -> printfn "%i" x) | |
| loop() |