This is guide about how to configure multiple SSH keys for some Git host websites such as Github, Gitlab, among others.
// Redux STORE | |
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose; | |
const prodMiddleware = [thunk, immutableStateInvariant, serializableStateInvariant]: | |
const devMiddleware = [thunk]; | |
const middleware = process.env.prod ? prodMiddleware : devMiddleware; | |
const enhancer = composeEnhancers(applyMiddleware(...middleware)); | |
const ReduxStore = createStore(rootReducer, enhancer); | |
// RTK STORE |
class Spiderman { | |
lookOut() { | |
alert('My Spider-Sense is tingling.'); | |
} | |
} | |
let miles = new Spiderman(); | |
miles.lookOut(); |
name: Minimal Android CI Workflow | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- 'v*' | |
jobs: |
import React from 'react' | |
const Waypoints = () => { | |
return ( | |
<div className="waypoints"> | |
<p> | |
Lorem ipsum dolor amet poutine pitchfork tattooed venmo, heirloom cliche chartreuse gentrify mumblecore hammock single-origin coffee banh mi. Sartorial unicorn 90's edison bulb iPhone. Leggings pickled brunch neutra tousled. Occupy fixie affogato pinterest vaporware aesthetic, tbh subway tile hammock next level prism vape lomo taiyaki kale chips. Jianbing knausgaard taxidermy squid artisan thundercats, gochujang subway tile air plant taiyaki master cleanse cray. | |
</p> | |
<p> | |
Pug godard pour-over 90's direct trade, PBR&B +1 next level organic edison bulb quinoa DIY. Taiyaki sriracha unicorn, cronut taxidermy chicharrones four dollar toast keytar cold-pressed raclette yuccie cray iceland. Roof party knausgaard neutra plaid, pork belly chambray banh mi chia. Blue bottle narwhal iceland health goth cornhole fam humblebrag flannel pitchfork pickled. |
import React from 'react'; | |
import { BrowserRouter as Router, Switch, Route, Link } from 'react-router-dom'; | |
const Routes = () => { | |
return ( | |
<Router> | |
<ul className="router-nav"> | |
<NavLink to="/">One</NavLink> | |
<NavLink to="/two">Two</NavLink> | |
<NavLink to="/three">Three</NavLink> |
# Source: https://stackoverflow.com/a/43317244 | |
$path = ".\aws-ec2-key.pem" | |
# Reset to remove explict permissions | |
icacls.exe $path /reset | |
# Give current user explicit read-permission | |
icacls.exe $path /GRANT:R "$($env:USERNAME):(R)" | |
# Disable inheritance and remove inherited permissions | |
icacls.exe $path /inheritance:r |
/** | |
* @fileOverview Gruntfile tasks. These tasks are intended to help you when modifying the template. If you are | |
* just using the template, don't sweat this stuff. To use these tasks, you must install grunt, if you haven't already, | |
* and install the dependencies. All of this requires node.js, of course. | |
* | |
* Install grunt: | |
* | |
* npm install -g grunt-cli | |
* | |
* Then in the directory where you found this file: |
git init <repo>
cd <repo>
git remote add -f origin <url>
This creates an empty repository with your remote, and fetches all objects but doesn't check them out. Then do:
git config core.sparseCheckout true
Article by Faruk Ateş, [originally on KuraFire.net][original] which is currently down
One of the most commonly overlooked and under-refined elements of a website is its pagination controls. In many cases, these are treated as an afterthought. I rarely come across a website that has decent pagination, and it always makes me wonder why so few manage to get it right. After all, I'd say that pagination is pretty easy to get right. Alas, that doesn't seem the case, so after encouragement from Chris Messina on Flickr I decided to write my Pagination 101, hopefully it'll give you some clues as to what makes good pagination.
Before going into analyzing good and bad pagination, I want to explain just what I consider to be pagination: Pagination is any kind of control system that lets the user browse through pages of search results, archives, or any other kind of continued content. Search results are the o