Skip to content

Instantly share code, notes, and snippets.

<div className={styles.col}>
<div className={styles.reelImg} src="" alt=""/>
<div className={styles.reelImg} src="" alt=""/>
</div>
<div className={styles.col}>
<div className={styles.reelImg} src="" alt=""/>
<div className={`u-alignCenter ${styles.info}`}>
<h4 >Personalize your vidoes</h4>
<h4 className="u-fw-600">with your own colors and logo</h4>
</div>
@keithtkto
keithtkto / EasingFunctions.js
Created May 30, 2018 07:15
Robert Penner Easing Functions
/*
* This is a near-direct port of Robert Penner's easing equations. Please shower Robert with
* praise and all of your admiration. His license is provided below.
*
* For information on how to use these functions in your animations, check out:
* http://www.kirupa.com/html5/animating_with_easing_functions_in_javascript.htm
*
* -Kirupa
*/
var colors = new Array("339966", "FF0000", "00FF00", "0000FF", "FFFF00", "FF00FF", "00FFFF");
var start = colors[0];
var end = colors[0];
var index = 0;
var cindex = 0;
var faderObj = new Array();
function fadeSpan()
{
Backup:
docker exec -t -u postgres your-db-container pg_dumpall -c > dump_`date +%d-%m-%Y"_"%H_%M_%S`.sql
Restore:
cat your_dump.sql | docker exec -i your-db-container psql -Upostgres
@keithtkto
keithtkto / README.md
Created February 27, 2019 23:41
okta guide

.babelrc config (might happen)

In .babelrc

[
  "@babel/env", 
  {
    "targets": {
 "node": "current"