Skip to content

Instantly share code, notes, and snippets.

@Dman757
Dman757 / Expected ouput
Last active March 30, 2018 23:43
Pop Pop watching particles drop.
.
T .
.T .
: : .:
Line 86150: [2016-01-06 16:15:42] <vhost-> self.send('Highscores: ', resp.content)
Line 86165: [2016-01-06 16:19:03] <JennyDeath> Highscores:
Line 86183: [2016-01-06 16:22:45] <JennyDeath> Highscores: http://ix.io/neH
Line 93507: [2016-01-22 21:40:00] <JennyDeath> Highscores: http://ix.io/nEA
Line 93532: [2016-01-23 10:27:55] <JennyDeath> Highscores: http://ix.io/nFc
Line 95290: [2016-01-28 11:30:45] <JennyDeath> Highscores: http://ix.io/nYC
Line 112801: [2016-04-11 11:12:36] <JennyBreath> Highscores: http://ix.io/w09
Line 126982: [2016-05-25 14:31:33] <JennyBreath> Highscores: http://ix.io/LcY
Line 127279: [2016-05-26 15:08:43] <JennyBreath> Highscores: http://ix.io/Lza
Line 127385: [2016-05-26 16:44:44] <JennyBreath> Highscores: http://ix.io/LAp
const mapStateToProps = ({ account }) => {
return {
accountId: account.accountId,
email: account.email,
name: `${account.firstName} ${account.lastName}`,
};
};
const mapDispatchToProps = dispatch => ({
loadAccount: bindActionCreators(actions.account.fetchAccount, dispatch),
@Dman757
Dman757 / jest-transpiler-error.js
Last active February 21, 2019 22:04
RAKE + FACE DOT JPEG
account.update = (model = {}, formName = '') => async (
dispatch,
) => {return} // BAD (having the arguments on a newline
/*
/home/dman/src/...:602
const response = await _Account2.default.update(model);
^^^^^
SyntaxError: await is only valid in async function
@Dman757
Dman757 / example-form.js
Created February 22, 2019 04:03
Async Submit Validation Formik + Redux-Thunk
/*** The formik onSubmit ***/
onSubmit={(values, actions) => {
createMember(values, token)
.then(res => {
console.log(res); // 'success'
// Change route or something
})
.catch(err => {
console.log(err); // 'failure'
actions.setSubmitting(false);
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶
@Dman757
Dman757 / iowaMeme.css
Created February 4, 2020 04:39
iowa memes
#site-content { background: green }
.interactive { background: green }
.e-cmp-inner { background: green }
.MAG_web_anon_new-journey-rollout{ display: none }
@Dman757
Dman757 / gsap-eases.css
Created January 9, 2024 08:15 — forked from jh3y/gsap-eases.css
GreenSock eases with CSS linear()
:root {
--none: linear(0, 1);
--power1-in: linear( 0, 0.0039, 0.0156, 0.0352, 0.0625, 0.0977, 0.1407, 0.1914, 0.2499, 0.3164, 0.3906 62.5%, 0.5625, 0.7656, 1 );
--power1-out: linear( 0, 0.2342, 0.4374, 0.6093 37.49%, 0.6835, 0.7499, 0.8086, 0.8593, 0.9023, 0.9375, 0.9648, 0.9844, 0.9961, 1 );
--power1-in-out: linear( 0, 0.0027, 0.0106 7.29%, 0.0425, 0.0957, 0.1701 29.16%, 0.2477, 0.3401 41.23%, 0.5982 55.18%, 0.7044 61.56%, 0.7987, 0.875 75%, 0.9297, 0.9687, 0.9922, 1 );
--power2-in: linear( 0, 0.0014 11.11%, 0.0071 19.24%, 0.0188 26.6%, 0.037 33.33%, 0.0634 39.87%, 0.0978 46.07%, 0.1407 52.02%, 0.1925 57.74%, 0.2559 63.49%, 0.3295 69.07%, 0.4135 74.5%, 0.5083 79.81%, 0.6141 85%, 0.7312 90.09%, 1 );
--power2-out: linear( 0, 0.2688 9.91%, 0.3859 15%, 0.4917 20.19%, 0.5865 25.5%, 0.6705 30.93%, 0.7441 36.51%, 0.8075 42.26%, 0.8593 47.98%, 0.9022 53.93%, 0.9366 60.13%, 0.963 66.67%, 0.9812 73.4%, 0.9929 80.76%, 0.9986 88.89%, 1 );
--power2-in-out: linear( 0, 0.0036 9.62%, 0.0185 16.66