Skip to content

Instantly share code, notes, and snippets.

View gist:8b84af184a7cb93b0e4435af7ab3a28e
using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper;
using CalendarService.API.Context;
using CalendarService.API.Data;
using CalendarService.API.Dtos;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Linq;
View error
mv: error reading '//proc/12228/task/12228/mem': Input/output error
mv: failed to extend '/data/av/scan/proc/12228/task/12228/mem': Input/output error
mv: error reading '//proc/12228/task/12228/clear_refs': Invalid argument
mv: failed to extend '/data/av/scan/proc/12228/task/12228/clear_refs': Invalid argument
mv: cannot stat '//proc/12228/fd/3': No such file or directory
mv: cannot stat '//proc/12228/fdinfo/3': No such file or directory
mv: will not create hard link '/data/av/scan/proc/12228/net/stat' to directory '/data/av/scan/proc/1/task/1/net/stat'
mv: will not create hard link '/data/av/scan/proc/12228/net/netfilter' to directory '/data/av/scan/proc/1/task/1/net/netfilter'
mv: will not create hard link '/data/av/scan/proc/12228/net/rpc' to directory '/data/av/scan/proc/1/task/1/net/rpc'
mv: will not create hard link '/data/av/scan/proc/12228/net/nfsfs' to directory '/data/av/scan/proc/1/task/1/net/nfsfs'
View navigation.js
import React, { Component } from 'react';
class Navigation extends Component {
getLinks = (navigation) => {
navigation.map(obj => {
console.log(obj)
let listElements = obj.text.map((li, c) => {
return (
<li key={c}>{li.name}</li>
View app.jsx
import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
class App extends Component {
constructor() {
super();