- An Introduction to the Five-Factor Model and Its Applications
- Personality Traits and Personal Values - free article
- The Big Five Personality Traits and the Life Course: A 45-Year Longitudinal Study
- The Five-Factor Theory of Personality book
- Higher-order factors of the Big Five
- Gender differences in personality traits across cultures
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const augment = callback => () => { | |
const useState = { | |
init: true, | |
value: void 0, | |
update(value) { | |
useState.value = value; | |
callback(hooks) | |
} | |
}; | |
const hooks = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<style media="screen"> | |
div { | |
animation: marker 0s 1; | |
} | |
@keyframes marker { to { outline-color: inherit } } | |
</style> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://github.com/WICG/construct-stylesheets/issues/45#issuecomment-522879888 | |
'use strict'; | |
function isArrayIndex(string) { | |
if (typeof string !== 'string') { | |
return false; | |
} | |
const number = Number(string); | |
return Number.isSafeInteger(number) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Task: | |
Given an input string return true if the string is balanced, otherwise return false. | |
A string is balanced when every opening bracket "{", square bracket "[", and parenthesis "(" | |
has a matching closing character. | |
*/ | |
const string = "{[()]}"; | |
(function(input){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// From https://ponyfoo.com/articles/var-let-const | |
function toLargestUnit (value, unit = `MB`) { | |
const units = [`MB`, `GB`, `TB`] | |
const i = units.indexOf(unit) | |
const nextUnit = units[i + 1] | |
if (value >= 1024 && nextUnit) { | |
return toLargestUnit(value / 1024, nextUnit) | |
} | |
return { value, unit } | |
} |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Alternative solution to switch statement or a suite of if statements | |
using an object literal in JS to store cases. | |
if (type == "save") { } | |
if (type == "delete") { } | |
*/ | |
function operation(type, opts) { | |
var handler = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
I used your style, your header div, but with a slide like this | |
<section data-state="showHeader" data-header="custom head"> | |
<p>Hello</p> | |
</section> | |
*/ | |
Reveal.addEventListener( 'slidechanged', function( event ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// easing functions http://goo.gl/5HLl8 | |
Math.easeInOutQuad = function (t, b, c, d) { | |
t /= d/2; | |
if (t < 1) { | |
return c/2*t*t + b | |
} | |
t--; | |
return -c/2 * (t*(t-2) - 1) + b; | |
}; |
NewerOlder