Skip to content

Instantly share code, notes, and snippets.

View JwanKhalaf's full-sized avatar
🎯
Focusing

J Khalaf JwanKhalaf

🎯
Focusing
  • United Kingdom
View GitHub Profile
[jwan@jwan-pc ~]$ file /usr/lib/systemd/systemd-resolved
/usr/lib/systemd/systemd-resolved: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=0ac8d0b28cf931fe7b60441f911777e49f4bf1d0, for GNU/Linux 3.2.0, stripped
[jwan@jwan-pc ~]$
Sending build context to Docker daemon 562.2kB
Step 1/13 : FROM alpine:3.11.2 AS builder
---> cc0abc535e36
Step 2/13 : MAINTAINER Jwan Khalaf <jwan.khalaf@outlook.com>
---> Running in 646b5845dd79
Removing intermediate container 646b5845dd79
---> 3be3c15f08a3
Step 3/13 : RUN wget -O - 'https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz' | gunzip -c >/usr/local/bin/elm
---> Running in 1ce505d3b7b0
var query = context.Artists.AsNoTracking()
.OrderBy(x => x.FirstName)
.Select(x =>
new ArtistsResponse
{
FirstName = x.FirstName,
LastName = x.LastName,
Slugs = x.Slugs.Select(s => new ArtistSlugResponse { Name = s.Name, IsPrimary = s.IsPrimary }).ToList(),
ImageId = x.Image == null ? 0 : x.Image.Id,
});
import React, { useState } from "react";
import { render } from "react-dom";
import Dropdown from "./components/Dropdown/Dropdown";
import InlineDropdowns from "./components/InlineDropdowns/InlineDropdowns";
import "./reset.css";
import "./App.css";
function App() {
const [selectedMonth, setSelectedMonth] = useState("");
const [selectedYear, setSelectedYear] = useState("");
ApiName=bejebeje-api
Authority=http://localhost:5000
FrontendCorsOrigin=http://localhost:1234
Database__DefaultConnectionString=Server=database;Port=5432;Database=MyDb;User Id=postgres;Password=SecurePassword;
POSTGRES_PASSWORD=SecurePassword
POSTGRES_DB=MyDb
APP_PORT=5005