We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 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
Question ID,Question,Concise Answer,Step-by-Step Professional,Funny Answer,Emoji Answer,Philosophical Answer,Witty Answer,Metaphorical Answer,Pop Culture Reference | |
1,How to Start a Garden?,Choose a sunny spot. Prepare soil with compost. Plant seeds or seedlings. Water regularly and weed as needed.,1. Choose a location with at least 6 hours of sunlight. 2. Test and enrich soil with compost or fertilizer. 3. Select plants suited for your climate and season. 4. Plant seeds or seedlings according to their spacing needs. 5. Water consistently but avoid overwatering. 6. Mulch to retain moisture and prevent weeds. 7. Monitor for pests and diseases. 8. Harvest when ready and enjoy!,Step 1: Buy plants. Step 2: Forget to water them. Step 3: Buy new plants. Step 4: Repeat until you accidentally grow something.,🌞 Find sunlight → 🏡 Pick a spot → 🌱 Plant seeds → 💦 Water → 🍅 Grow veggies → 🌻 Enjoy flowers!,"A garden is not just a patch of earth but a reflection of growth, patience, and nurture. Cultivate the soil as you cul |
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
import { BehaviorSubject } from "rxjs"; | |
const user$ = new BehaviorSubject<User>(null); | |
const state: State = { | |
user: null | |
}; | |
Reflect.defineProperty(state, "user", { | |
get: () => { |
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
MONGO_DB= |
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
#!/bin/sh | |
base_dir=/cluster/registry/docker/registry/v2 | |
repository_dir=$base_dir/repositories | |
image_dir=$base_dir/blobs | |
output_dir=$(mktemp -d) | |
all_images=$output_dir/all | |
used_images=$output_dir/used |
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
import { ApolloServer, gql, makeExecutableSchema } from 'apollo-server' | |
import { applyMiddleware } from 'graphql-middleware' | |
const books = [ | |
{ | |
title: 'Harry Potter', | |
author: 'J.K. Rowling', | |
}, | |
] |
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
if (location.search.indexOf('skipHeader') > -1) { | |
$('.main-header > nav > .btn-group.nav-dropdown').remove() | |
$('.main-header > nav > ul > li:last-child').remove() | |
$('ui-view[name=header] ul > li:first-child').remove() | |
$('ui-view[name=header] ul > li:last-child').remove() | |
} |
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
services.AddRouting(); | |
app.UseRouter(route => | |
{ | |
route.MapGet("{*url}", context => | |
{ | |
return context.Response.SendFileAsync(Path.Combine(env.WebRootPath, "index.html")); | |
}); |
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
static EmailFormat(control: AbstractControl) { | |
var EMAIL_REGEXP = /^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i; | |
if (!control.value){ | |
return { "invalid_email_format": true }; | |
} | |
if (control.value != "" && (control.value.length <= 5 || !EMAIL_REGEXP.test(control.value))) { | |
return { "invalid_email_format": true }; |
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
"prepublish": { | |
"destination": { | |
"js": "wwwroot/js/lib/", | |
"css": "wwwroot/css/lib/" | |
}, | |
"libs": [ | |
"./node_modules/@angular/common/bundles/common.umd.js", | |
"./node_modules/@angular/compiler/bundles/compiler.umd.js", | |
"./node_modules/@angular/core/bundles/core.umd.js", | |
"./node_modules/@angular/forms/bundles/forms.umd.js", |
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
/// <binding ProjectOpened='watch' /> | |
const | |
gulp = require("gulp"), | |
file = require('gulp-file'), | |
concat = require("gulp-concat"), | |
uglify = require("gulp-uglify"), | |
sass = require('gulp-sass'), | |
sourcemaps = require('gulp-sourcemaps'), | |
tsc = require('gulp-typescript'), |
NewerOlder