- What will I make happen within five years? (ONE major goal)
- What will I make happen within one year? (ONE major goal)
- What will I make happen within 30 days? (ONE thing)
- What will I make happen within seven days? (ONE thing)
- What will I do to start this day positively? (Doing something other than what I usually do out of habit)
- What must get done today that develops my main craft? (Daily work on a craft leads to mastery)
- What three extra tasks must get done today if any? (Streamline your to-do list to what matters)
- Who will I contact today to generate opportunities and good will? (Nourish your relationships)
- What will I do today that scares me? (Keep me stretching, building confidence and character)
- What will I do today to benefit my health?
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
(()=>{ | |
function countUniqueValues(sortedArray) { | |
const myArray = sortedArray.slice(0) | |
let count = 0 | |
myArray.forEach((num, i) => { | |
const rightNum = myArray[i + 1] | |
if (myArray[count] !== rightNum) { |
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
((name)=>{ | |
return fetch(`https://wzrd.in/bundle/${name}@latest/`) | |
.then(response => response.text()) | |
.then(body => { | |
eval(body) | |
window[name] = require(name) | |
}) | |
})('jquery').then(()=>{ | |
const $ = jquery |
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 test = (result, expect) => | |
`${result === expect && '✅' || '🔴'} ${expect}:${result}` | |
const mkRestore = (input, state) => { | |
return () => { | |
state.names.pop() | |
input.value = state.names[state.names.length - 1] || '' | |
} | |
} |
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 test = (result, expect) => | |
`${result === expect && '✅' || '🔴'} ${expect}:${result}` | |
function dynamicNestedObject (total, value) { | |
const result = {} | |
const keys = 'abcdefghijklmnopqrstuvwxyz'.substring(0, total).split('') | |
const lastIndex = keys.length - 1 | |
keys.reduce((o, k, i) => { |
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
sed -i -e 's/{{/_*/g' package.json && sed -i -e 's/}}/*_/g' package.json && yarn && rm package.json-e && git checkout package.json |
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
/*eslint no-console: ["error", { allow: ["warn", "error"] }] */ |
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
var requestedUrl = req.protocol + '://' + req.get('Host') + req.url |
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
# http://editorconfig.org | |
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
indent_size = 2 | |
indent_style = space | |
insert_final_newline = true | |
max_line_length = 120 |
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
function wait (delay = 1000) { | |
return new Promise((resolve) => { | |
setTimeout(() => { | |
resolve() | |
}, delay) | |
}) | |
} |
NewerOlder