Skip to content

Instantly share code, notes, and snippets.

fooberichu150

Block or report user

Report or block fooberichu150

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@fooberichu150
fooberichu150 / Application.cs
Created Nov 22, 2018
Dependency Injection in a DotNetCore Console Application
View Application.cs
using System;
using Microsoft.Extensions.Options;
namespace MyConsoleApplication
{
public class Application
{
private readonly IOptions<MySettings> _settings = null;
public Application(IOptions<MySettings> mySettings)
View countdown-timer.jsx
// code used for https://www.seeleycoder.com/blog/react-countdown-timer
import * as React from 'react';
import PropTypes from 'prop-types';
// https://www.npmjs.com/package/countdown
import countdown from 'countdown';
const TimerSpanDisplay = function TimerSpanDisplay(props) {
const { className, value, label } = props;
You can’t perform that action at this time.