Run:
brew install httpie
brew install jq
gem install lolcat
Download this repo https://github.com/schacon/cowsay and cd into its directory.
Run:
| import React, { Fragment } from 'react' | |
| import T from 'prop-types' | |
| const Button = ({ children, id, value, ...props }) => ( | |
| <Fragment> | |
| <input type="radio" id={id} value={value} {...props} /> | |
| <label htmlFor={id}>{children}</label> | |
| </Fragment> | |
| ) |
Run:
brew install httpie
brew install jq
gem install lolcat
Download this repo https://github.com/schacon/cowsay and cd into its directory.
Run:
| import axios from 'axios' | |
| import { | |
| refreshTokens, | |
| getTokens, | |
| getLogoutUri, | |
| getRefreshTokensUri | |
| } from "./utils" | |
| /** | |
| * Configure axios to refresh tokens and reflight the request if it fails |
| class Counter extends React.Component { | |
| state = { | |
| count: 0 | |
| } | |
| onClick = () => { | |
| this.setState(prevState => ({ ...prevState, count: prevState.count + 1 })) | |
| } |
| material theme | |
| meterial icon theme | |
| vscose-icons | |
| atom one dark theme | |
| prettier code formatter |
| // palindrome = (n, c) => { | |
| // l = c.length | |
| // s = '' | |
| // a = n / 2 | |
| // m = Math.min | |
| // for (i = 0; i < a;) { | |
| // s += c[m(l - 1, i++)] | |
| // } |
| { | |
| "extends": "stylelint-config-sass-guidelines", | |
| "ignoreFiles": [], | |
| "plugins": [ | |
| "stylelint-order", | |
| "stylelint-scss", | |
| "stylelint-selector-bem-pattern" | |
| ], | |
| "rules": { | |
| "order/properties-alphabetical-order": null, |
| using System; | |
| using System.Text; | |
| using Microsoft.Extensions.Logging; | |
| namespace Microsoft.AspNetcore.Builder | |
| { | |
| public static class IApplicationBuilderExtensions | |
| { | |
| /// <summary> | |
| /// Logs all request headers |
| using Ninject; | |
| using Ninject.Modules; | |
| using Ninject.Web.Common; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Reflection; | |
| using System.Web; | |
| using System.Web.Mvc; |