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
| type CardValue = | |
| | Two | |
| | Three | |
| | Four | |
| | Five | |
| | Six | |
| | Seven | |
| | Eight |
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
| #mountNode { | |
| color: #000; | |
| } | |
| .fa-star{ | |
| margin: 0.5em; | |
| font-size: 24px; | |
| } | |
| span { |
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
| const Card = (props) => { | |
| return ( | |
| <div> | |
| <img width="75" src={props.avatar_url} /> | |
| <div style={{display: 'inline-block', marginLeft: 10}}> | |
| <div style={{fontSize: '1.25em', fontWeight: 'bold'}}>{props.name}</div> | |
| <div>{props.company}</div> | |
| </div> | |
| </div> | |
| ) |
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
| Module Module1 | |
| Sub Main() | |
| NativeMethods.SetConsoleMode(NativeMethods.GetStdHandle(-11), 1) | |
| Console.BufferWidth = Console.WindowWidth | |
| Console.BufferHeight = Console.WindowHeight | |
| Console.CursorVisible = False | |
| Dim border As New Rectangle(0, 0, Console.WindowWidth, Console.WindowHeight) | |
| Dim title As New Rectangle(0, 0, Console.WindowWidth, 3) |
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
| open System | |
| open System.Text | |
| let append (sb:StringBuilder) (c:char) = sb.Append(c) | |
| let arrayOfArrays = [| [| 'A'; 'B' |]; [|'X'; 'Y' |] |] | |
| arrayOfArrays | |
| |> Seq.collect String | |
| |> Seq.fold append (StringBuilder()) |
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
| (* Auto-generated code below aims at helping you parse *) | |
| (* the standard input according to the problem statement. *) | |
| open System | |
| open System.Collections.Generic | |
| type EntityId = int | |
| type Orientation = | |
| | Right = 0 | |
| | RightTop = 1 | |
| | LeftTop = 2 |
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
| private static string ComputeRateTableCode(PriceCriteria criteria, BorrowedAmount borrowedAmount, string projectTypeCode) | |
| { | |
| switch (criteria) | |
| { | |
| case PriceCriteria c when c.IsAbTestPricing1(): | |
| return RateTable.StandardVar; | |
| case PriceCriteria c when c.IsAbTestPricing2(): | |
| return RateTable.ABTestPricing; |
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
| <html> | |
| <head> | |
| <script type="text/javascript" src="http://d3js.org/d3.v3.js"></script> | |
| <!--<script src="d3.min.js" ></script>--> | |
| </head> | |
| <body> | |
| <div id="grid"></div> | |
| </body> |
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.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Net.Http; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| public class CraDownloader |
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
| Function CreateScheduledTask() { | |
| $app = "someApp.exe" | |
| $taskName = "some name" | |
| $trigger = New-ScheduledTaskTrigger -Daily -At 2am | |
| $Sta = New-ScheduledTaskAction -Execute $app | |
| $STPrin = New-ScheduledTaskPrincipal -UserId "LOCALSERVICE" -LogonType ServiceAccount | |
| Register-ScheduledTask -Action $Sta -Principal $STPrin -Trigger $trigger -TaskName $taskName -Description $taskName | |
| } |