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
<scheme name="Winner Custom Light" version="142" parent_scheme="Default"> | |
<option name="FONT_SCALE" value="1.0" /> | |
<metaInfo> | |
<property name="ide">idea</property> | |
<property name="ideVersion">2024.1.3.0.0</property> | |
<property name="originalScheme">Winner Custom Light</property> | |
</metaInfo> | |
<option name="LINE_SPACING" value="1.3" /> | |
<font> | |
<option name="EDITOR_FONT_NAME" value="Calling Code" /> |
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
Show hidden characters
{ | |
"env": { | |
"node": true, | |
"es2021": true, | |
"commonjs": true, | |
"mocha": true | |
}, | |
"extends": "eslint:recommended", | |
"parserOptions": { | |
"ecmaVersion": 12 |
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
public class Program | |
{ | |
public static void Main() | |
{ | |
var sentence = AnsiConsole.Prompt(new TextPrompt<string>("What's your [green]sentence[/]?") | |
.Validate(input => | |
string.IsNullOrWhiteSpace(input) | |
? ValidationResult.Error("An input is required!") | |
: ValidationResult.Success())); |
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; | |
using System.Collections.Generic; | |
class MainClass | |
{ | |
public static void Main(string[] args) | |
{ | |
var daySlots = new List<Availability> |
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
[ | |
{ | |
"name": "Abia State", | |
"localGovernmentAreas": [ | |
{ | |
"name": "Aba North" | |
}, | |
{ | |
"name": "Aba South" | |
}, |
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.Diagnostics; | |
using System.Threading.Tasks; | |
using Microsoft.AspNetCore.Mvc; | |
using Microsoft.Extensions.Logging; | |
using MongoDB.Driver; | |
using MongoDB.Driver.Linq; | |
using shortid; | |
using url_shortener.Models; |
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 bodyParser = require('body-parser'); | |
const cors = require('cors'); | |
const express = require('express'); | |
const morgan = require('morgan'); | |
const path = require('path'); | |
const cluster = require('cluster'); | |
const os = require('os'); | |
const routes = require('./routes/Routes'); |
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 List<string> GetList() | |
{ | |
List<string> colors = new List<string> | |
{ | |
"ab", | |
"abaci", | |
"aback", | |
"abacus", | |
"abacuses", | |
"abaft", |
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
dependencies: | |
pre: | |
- curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg | |
- sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg | |
- sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main" > /etc/apt/sources.list.d/dotnetdev.list' | |
- sudo apt-get update | |
- sudo apt-get install dotnet-sdk-2.0.2 | |
override: | |
- dotnet restore | |
test: |
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
language: csharp | |
dist: xenial | |
sudo: required | |
mono: none | |
script: | |
- chmod +x ./build.sh | |
- ./build.sh --quiet verify |
NewerOlder