Skip to content

Instantly share code, notes, and snippets.

View KevinTCoughlin's full-sized avatar

Kevin Coughlin KevinTCoughlin

View GitHub Profile
@KevinTCoughlin
KevinTCoughlin / input.scss
Created May 14, 2021 03:39
Generated by SassMeister.com.
// Easings
$ms-animation-ease-1: cubic-bezier(0.1,0.9,0.2,1) !default;
$ms-animation-ease-2: cubic-bezier(0.1,0.25,0.75,0.9) !default;
// Durations
$ms-animation-duration-1: 0.167s !default;
$ms-animation-duration-2: 0.267s !default;
$ms-animation-duration-3: 0.367s !default;
$ms-animation-duration-4: 0.467s !default;
@KevinTCoughlin
KevinTCoughlin / rss.opml
Created October 4, 2020 22:58 — forked from paulriley/rss.opml
RSS Feeds
<?xml version="1.0"?>
<opml version="1.1">
<head>
<title>Riley's Feeds</title>
</head>
<body>
<outline type="rss" text="Smodcast" xmlUrl="http://smodcast.com/channels/smodcast/feed/" title="Smodcast" />
<outline type="rss" text="Hollywood Babble-On" xmlUrl="http://smodcast.com/channels/hollywood-babble-on/feed/" title="Hollywood Babble-On" />
<outline type="rss" text="Tell 'em Steve-Dave" xmlUrl="http://smodcast.com/channels/tell-em-steve-dave/feed/" title="Jay and Silent Bob Get Old" />
<outline type="rss" text="I Sell Comics" xmlUrl="http://smodcast.com/channels/i-sell-comics/feed/" title="I Sell Comics" />
@KevinTCoughlin
KevinTCoughlin / main.yaml
Created October 4, 2020 21:30
Universal Windows Platform CI GitHub Action
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
@KevinTCoughlin
KevinTCoughlin / LICENSE
Created July 3, 2019 04:20 — forked from noelbundick/LICENSE
Exclude WSL installations from Windows Defender realtime protection
MIT License
Copyright (c) 2018 Noel Bundick
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@KevinTCoughlin
KevinTCoughlin / profile.json
Last active July 1, 2019 03:56 — forked from shanselman/profile.json
Windows Terminal Profile
{
"globals" :
{
"alwaysShowTabs" : true,
"defaultProfile" : "{78e390db-1bff-4533-9d7c-20f53d8bafa1}",
"initialCols" : 120,
"initialRows" : 30,
"keybindings" :
[
{
@KevinTCoughlin
KevinTCoughlin / React.unstable_Profiler.md
Created June 19, 2019 23:03 — forked from bvaughn/React.unstable_Profiler.md
Notes about the in-development React <Profiler> component

Profiler

React 16.4 will introduce a new Profiler component (initially exported as React.unstable_Profiler) for collecting render timing information in order to measure the "cost" of rendering for both sync and async modes.

Profiler timing metrics are significantly faster than those built around the User Timing API, and as such we plan to provide a production+profiling bundle in the future. (The initial release will only log timing information in DEV mode, although the component will still render its children- without timings- in production mode.)

How is it used?

Profiler can be declared anywhere within a React tree to measure the cost of rendering that portion of the tree. For example, a Navigation component and its descendants:

@KevinTCoughlin
KevinTCoughlin / renameProp.ts
Created April 11, 2019 03:21 — forked from jdhuntington/renameProp.ts
rename a prop for OUFR
import ts from 'typescript';
import { migration } from '../../migration';
import { mod } from 'riceburn';
const inFooJsxTag = (node: ts.Node): boolean => {
if (!node) {
return false;
}
if (ts.isJsxSelfClosingElement(node) || ts.isJsxOpeningElement(node)) {
const tagName = node.tagName;
@KevinTCoughlin
KevinTCoughlin / package-json-build-number.ps1
Last active August 7, 2020 05:43 — forked from ediblecode/package-json-build-number.ps1
PowerShell Parse & Print version value from package.json
$version = (Get-Content package.json) -join "`n" | ConvertFrom-Json | Select -ExpandProperty "version"
Write-Host "Version: '$version']"
@KevinTCoughlin
KevinTCoughlin / aussie.md
Last active December 18, 2018 07:36
Australian Shepherd Dog Toy Ideas

Toy Recommendations for Aussies

  • Kong Classic - This has been a life saver, especially with a puppy. Fill it with food or crushed up treats, cover with peanut butter, and optionally freeze. Keeps your dog busy :).
  • Jolly Ball and other products - We have the blue Jolly Ball for our dog.
  • Bully Sticks - This specific brand has less odor.
  • Kong Wobbler - We needed this at first because our dog ate his food too quickly.
  • Nylabone
@KevinTCoughlin
KevinTCoughlin / async.js
Created September 22, 2018 07:21 — forked from up1/async.js
NodeJS with Async/Await
var fetch = require('node-fetch')
async function getDataFromAPI() {
let response = await fetch("https://api.github.com/users/up1")
let data = await response.json()
console.log(JSON.stringify(data, null, "\t"))
}
getDataFromAPI()