1 | const chalk = require('chalk');
|
2 |
|
3 | const messages = [
|
4 | chalk`It\'s time to put the {bold FUN} back in function`,
|
5 | chalk`'You can do this. Just {italic breath} ☺️`,
|
6 | 'GO GET EM TIGER 🐯A',
|
7 | 'It\'s not the number of lines of code we write, but the lines of code that take our breath away.',
|
8 | 'Life is not about the software we write, but the friends we make along the way',
|
9 | 'You\'re only as strong as the o-colors you mix, the o-tables you dance on and the o-friends you party with.',
|
10 | 'Code, laugh, love',
|
11 | 'Sing like no one is listening. Love like you\'ve never been hurt. Develop like nobody is debugging.',
|
12 | 'Every great developer you know got there by solving problems they were unqualified to solve until they actually did it.',
|
13 | '"That brain of mine is something more than merely mortal, as time will show." - Ada Lovelace',
|
14 | '"Testing leads to failure, and failure leads to understanding." - Burt Rutan',
|
15 | '"Sometimes it\'s better to leave something alone, to pause, and that\'s very true of programming." - Joyce Wheeler',
|
16 | '"Codes are a puzzle. A game, just like any other game." - Alan Turing',
|
17 | 'Write every function like it\'s your last.',
|
18 | 'You miss 100% of the bugs you don\'t make',
|
19 | 'Don\'t forget to debug yourself first',
|
20 | 'Believe there is good in your code.',
|
21 | 'Take a walk. Make some tea. Go talk to some of your awesome colleagues (but not in the kitchen).',
|
22 | 'Keep calm and curry on. (don\'t worry - nobody really knows what currying is)',
|
23 | 'Be the change request you want to see in the world.',
|
24 | 'Forget the module. What do YOU require?',
|
25 | 'Once upon a time, some idiot put display: none on the FT.com homepage on budget day. They survived. So can you.',
|
26 | 'If Slack can use 110% of CPU time, then so can you!',
|
27 | 'Think outside the box model.',
|
28 | 'If ever you feel like you\'re losing control, remember that there is a variant of you that\'s itching to take it.',
|
29 | 'git reset --HARD life',
|
30 | 'rm -rf all_of_your_problems',
|
31 | 'Polyfill your day with positivity!',
|
32 | 'In the end it\'s all just 1s and 0s.'
|
33 |
|
34 | ];
|
35 |
|
36 | const characters = [
|
37 | chalk`{bgRed \n (* ^ ω ^)\n}`,
|
38 | chalk`{bgGreen \n٩(◕‿◕。)۶\n}`,
|
39 | chalk`{bgBlue \n(⌒ω⌒)\n}`,
|
40 | chalk`{bgYellow \n(*^‿^*)\n}`,
|
41 | chalk`{bgCyan \n(*¯︶¯*)\n}`,
|
42 | chalk`{bgWhite.cyan \n٩(◕‿◕)۶\n}`,
|
43 | chalk`{magenta \n(✯◡✯)\n}`,
|
44 | chalk`{blue \n(ノ◕ヮ◕)ノ*:・\n}`
|
45 | ];
|
46 |
|
47 |
|
48 | const halp = () => {
|
49 | const character = characters[Math.floor(Math.random()*characters.length)];
|
50 | const message = messages[Math.floor(Math.random()*messages.length)];
|
51 |
|
52 | console.log(character);
|
53 |
|
54 | console.log(message);
|
55 | };
|
56 |
|
57 | module.exports = halp;
|