Squashing is a process in which we squeeze multiple commits into one pretending it is only a single commit.
Basically squashing commits means we are rewriting the history of commits to make them look like single commit.
<!DOCTYPE html> | |
<html lang='`en'> | |
<head> | |
<meta charset='utf-8'/> | |
<title>Audio only stream example</title> | |
<script src="//cdn.jsdelivr.net/npm/hls.js@latest"></script> | |
<style> | |
video { | |
width: 640px; | |
height: 360px; |
So, you just cloned an existing project's repo and you run bundle install
but you got the error: rbenv: version
x.x.x is not installed...
.
What the issue means? The project uses a specific ruby version that you do not have on your system.
Here's how to fix it:
rbenv install x.x.x
MIT License | |
Copyright © 2019 Andrés Zorro | |
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: |
An overview of how popular ESLint configs use the latest core rules. The rules are listed in the order they appear on the ESLint rules page: https://eslint.org/docs/rules/.
Name | Weekly NPM Downloads |
---|---|
eslint:recommended |
– (installed with ESLint) |
airbnb |
699,637 |
{ | |
"name": "tsquickstart", | |
"version": "1.0.0", | |
"description": "Boilerplate for quick one-off TypeScript projects. Just run `npm start`", | |
"scripts": { | |
"init": "test -f tsconfig.json || (tsc --init -t ESNext -m ESNext && npm install)", | |
"start": "npm run init && concurrently \"npm run watch\" \"npm run serve\"", | |
"serve": "http-server", | |
"watch": "tsc -p . --watch", | |
"build": "tsc -p ." |
/** | |
* Inspired by ebidel@ (https://gist.github.com/ebidel/1b418134837a7dde7d76ed36288c1d16) | |
* @author surma@ | |
* License Apache-2.0 | |
*/ | |
function* collectAllElementsDeep(selector = '*', root = document.all) { | |
for (const el of root) { | |
if (!el.matches(selector)) | |
continue; |
import React from 'react'; | |
import Counter from './counter'; | |
const mapProps = ({ state, dispatch }) => ({ | |
count: state, | |
increment: () => dispatch({ | |
type: 'increment', | |
}), | |
decrement: () => dispatch({ |
/** | |
* int16, and uint16 numbers in JS. | |
* | |
* by Dmitry Soshnikov <[email protected]> | |
*/ | |
const assert = require('assert'); | |
/** | |
* Converts a number to signed 16-bit integer. |
// used to retrieve template content | |
const templates = new WeakMap; | |
// used to retrieve node updates | |
const updates = new WeakMap; | |
// hyperHTML, the nitty gritty | |
function hyperHTML(chunks, ...interpolations) { | |
// if the static chunks are unknown |