├── .eslintrc.json ├── .github ├── FUNDING.yml └── ISSUE_TEMPLATE │ └── bug.md ├── .gitignore ├── LICENSE ├── README.md ├── api └── index.js ├── package.json ├── src ├── jokes.json ├── renderJokesCard.js ├── themes.json └── utils.js └── vercel.json /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "commonjs": true, 5 | "es2021": true 6 | }, 7 | "extends": [ 8 | "airbnb-base" 9 | ], 10 | "parserOptions": { 11 | "ecmaVersion": 12 12 | }, 13 | "rules": { 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # absphreak 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: abhinavsharma 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug 3 | about: Report a bug 4 | title: '' 5 | labels: bug 6 | --- 7 | 8 | # Summary 9 | 10 | What can I help with? Please keep this clear and concise. 11 | 12 | # How To Reproduce 13 | 14 | Steps to reproduce the behavior: 15 | 16 | 1. Go to '...' 17 | 2. Click on '....' 18 | 3. Scroll down to '....' 19 | 4. See error 20 | 21 | Link to minimal reproduce setup repository if any. 22 | 23 | # Expected Behaviors 24 | 25 | A clear and concise description of what you expected to happen. 26 | 27 | # Screenshots 28 | 29 | If applicable, add screenshots to help explain your problem. 30 | 31 | # Additional Context 32 | 33 | Add any other context about the problem here. 34 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .vercel 2 | .env 3 | node_modules 4 | package-lock.json 5 | *.lock 6 | .vscode/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 ᴀʙʜɪɴᴀᴠ sʜᴀʀᴍᴀ✩ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
9 | 10 |or
29 | 30 | ```html 31 | 32 |Theme Name | 76 |Preview Image | 77 |
---|---|
default | 80 ||
gradientBlue | 85 ||
solidBlue | 90 ||
halloween | 95 ||
watermelon | 100 ||
pinkish | 105 ||
daySky | 110 ||
radical | 115 ||
merko | 120 ||
gruvbox | 125 ||
tokyonight | 130 ||
onedark | 135 ||
cobalt | 140 ||
synthwave | 145 ||
dracula | 150 ||
prussian | 155 ||
monokai | 160 ||
vue | 165 ||
vue-dark | 170 ||
nightowl | 175 ||
buefy | 180 ||
blue-green | 185 ||
algolia | 190 ||
darcula | 195 ||
bear | 200 ||
solarized-dark | 205 ||
solarized-light | 210 ||
gotham | 215 ||
material-palenight | 220 ||
graywhite | 225 ||
ayu-mirage | 230 ||
calm | 235 ||
flag-india | 240 ||
omni | 245 ||
react | 250 ||
blueberry | 255 ||
random | 260 |
Feel free to ask any questions, open a PR if you feel something can be done differently!
302 |Created by Abhinav Sharma & Community | Deployed on Vercel
304 | -------------------------------------------------------------------------------- /api/index.js: -------------------------------------------------------------------------------- 1 | const jokes = require('../src/jokes.json'); 2 | const { CONSTANTS, getRandomArrayElement } = require('../src/utils'); 3 | const { qnaCard, quoteCard } = require('../src/renderJokesCard'); 4 | const themes = require('../src/themes.json'); 5 | 6 | // Max cache age (Currently = 60 seconds) 7 | const cacheSeconds = CONSTANTS.TEN_SECONDS; 8 | 9 | module.exports = async (req, res) => { 10 | const index = Math.floor(Math.random() * Object.keys(jokes).length); 11 | //const index = 168 12 | let renderJoke = ''; 13 | 14 | let { 15 | borderColor, qColor, aColor, textColor, bgColor, codeColor, quoteColor, theme, hideBorder, 16 | } = req.query; 17 | 18 | theme = theme ? theme.toLowerCase() : theme; 19 | 20 | if (theme === 'random') theme = getRandomArrayElement(Object.keys(themes)); 21 | 22 | if (!themes[theme]) theme = 'default'; 23 | const colorTheme = themes[theme]; 24 | borderColor = borderColor || colorTheme.borderColor; 25 | bgColor = bgColor || colorTheme.bgColor; 26 | qColor = qColor || colorTheme.qColor; 27 | aColor = aColor || colorTheme.aColor; 28 | quoteColor = quoteColor || colorTheme.quoteColor; 29 | codeColor = codeColor || colorTheme.codeColor; 30 | 31 | if (jokes[index].q) { 32 | const question = jokes[index].q; 33 | const answer = jokes[index].a; 34 | renderJoke = qnaCard( 35 | qColor || '#ffca3a', 36 | aColor || '#8ac926', 37 | bgColor || '#242423', 38 | borderColor || '#8ac926', 39 | codeColor || '#f72585', 40 | question, 41 | answer, 42 | hideBorder, 43 | ); 44 | } else { 45 | let joke = jokes[index]; 46 | 47 | if (joke.includes("return
ed true
!",
15 | "form": "qa"
16 | },
17 | "3": {
18 | "q": "Why did the security conscious engineer refuse to pay their dinner bill?",
19 | "a": "Because they could not verify the checksum.",
20 | "form": "qa"
21 | },
22 | "4": {
23 | "q": "What do you call a busy waiter?",
24 | "a": "A server.",
25 | "form": "qa"
26 | },
27 | "5": {
28 | "q": "What do you call an idle server?",
29 | "a": "A waiter.",
30 | "form": "qa"
31 | },
32 | "6": "[Please Enter New Password]
fortnight
[Error: Password is Two Week]
",
33 | "7": {
34 | "q": "How many Prolog programmers does it take to change a lightbulb?",
35 | "a": "Yes.",
36 | "form": "qa"
37 | },
38 | "8": "I’ve been hearing news about this big boolean. Huge if true.",
39 | "9": {
40 | "q": "What diet did the ghost developer go on?",
41 | "a": "Boooooolean",
42 | "form": "qa"
43 | },
44 | "10": {
45 | "q": "Why was the developer unhappy at their job?",
46 | "a": "They wanted arrays.",
47 | "form": "qa"
48 | },
49 | "11": {
50 | "q": "Why did 10 get paid less than \"10\"?",
51 | "a": "There was workplace inequality.",
52 | "form": "qa"
53 | },
54 | "12": {
55 | "q": "Why was the function sad after a successful first call?",
56 | "a": "It didn’t get a callback.",
57 | "form": "qa"
58 | },
59 | "13": {
60 | "q": "Why did the angry function exceed the callstack size?",
61 | "a": "It got into an Argument with itself",
62 | "form": "qa"
63 | },
64 | "14": {
65 | "q": "Whats the object-oriented way to become wealthy?",
66 | "a": "Inheritance",
67 | "form": "qa"
68 | },
69 | "15": {
70 | "q": "Why did the developer ground their kid?",
71 | "a": "They weren't telling the truthy",
72 | "form": "qa"
73 | },
74 | "16": {
75 | "q": "What did the array say after it was extended?",
76 | "a": "Stop objectifying me.",
77 | "form": "qa"
78 | },
79 | "17": "**!false**It's funny 'cause it's true.",
80 | "18": {
81 | "q": "Where did the parallel function wash its hands?",
82 | "a": "Async",
83 | "form": "qa"
84 | },
85 | "19": {
86 | "q": "I'm starting a band called HTML Encoder",
87 | "a": "Looking to buy a guitar \\&",
88 | "form": "qa"
89 | },
90 | "20": {
91 | "q": "Why did the functions stop calling each other?",
92 | "a": "Because they had constant arguments.",
93 | "form": "qa"
94 | },
95 | "21": {
96 | "q": "What's the second movie about a database engineer called?",
97 | "a": "The SQL.",
98 | "form": "qa"
99 | },
100 | "22": {
101 | "q": "Why doesn't Hollywood make more Big Data movies?",
102 | "a": "NoSQL.",
103 | "form": "qa"
104 | },
105 | "23": "A programmer's significant other tells them, \"Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.\"The programmer comes home with 12 loaves of bread.",
106 | "24": {
107 | "q": "What did the spider do on the computer?",
108 | "a": "Made a website!",
109 | "form": "qa"
110 | },
111 | "25": {
112 | "q": "What did the computer do at lunchtime?",
113 | "a": "Had a byte!",
114 | "form": "qa"
115 | },
116 | "26": {
117 | "q": "What does a baby computer call his father?",
118 | "a": "Data!",
119 | "form": "qa"
120 | },
121 | "27": {
122 | "q": "Why did the computer keep sneezing?",
123 | "a": "It had a virus!",
124 | "form": "qa"
125 | },
126 | "28": {
127 | "q": "What is a computer virus?",
128 | "a": "A terminal illness!",
129 | "form": "qa"
130 | },
131 | "29": "I never tell the same joke twice I have a DRY sense of humor.",
132 | "30": {
133 | "q": "Why was the computer freezing?",
134 | "a": "It left its Windows open!",
135 | "form": "qa"
136 | },
137 | "31": {
138 | "q": "Why was there a bug in the computer?",
139 | "a": "Because it was looking for a byte to eat?",
140 | "form": "qa"
141 | },
142 | "32": {
143 | "q": "Why did the computer squeak?",
144 | "a": "Because someone stepped on its mouse!",
145 | "form": "qa"
146 | },
147 | "33": {
148 | "q": "What do you get when you cross a computer and a life guard?",
149 | "a": "A screensaver!",
150 | "form": "qa"
151 | },
152 | "34": {
153 | "q": "Where do all the cool mice live?",
154 | "a": "In their mousepads!",
155 | "form": "qa"
156 | },
157 | "35": {
158 | "q": "What do you get when you cross a computer with an elephant?",
159 | "a": "Lots of memory!",
160 | "form": "qa"
161 | },
162 | "36": "Java truly is an OOP language...\nAs in: OOPs I used Java!",
163 | "37": {
164 | "q": "How do programming pirates pass method parameters?",
165 | "a": "Varrrrarrrgs.",
166 | "form": "qa"
167 | },
168 | "38": {
169 | "q": "How do programming shepherds count their flock?",
170 | "a": "With lambda functions",
171 | "form": "qa"
172 | },
173 | "39": {
174 | "q": "What airline do developers prefer when they're in a rush?",
175 | "a": "Delta.",
176 | "form": "qa"
177 | },
178 | "40": {
179 | "q": "How did pirates collaborate before computers?",
180 | "a": "Pier to pier networking.",
181 | "form": "qa"
182 | },
183 | "41": {
184 | "q": "Why don't bachelors like Git?",
185 | "a": "Because they are afraid to commit.",
186 | "form": "qa"
187 | },
188 | "42": {
189 | "q": "A SQL query goes into a bar, walks up to two tables and asks:",
190 | "a": "Can I JOIN you?",
191 | "form": "qa"
192 | },
193 | "43": {
194 | "q": "How does a developer make a cheer?",
195 | "a": "[\"hip\",\"hip\"] // (hip hip array!)",
196 | "form": "qa"
197 | },
198 | "44": {
199 | "q": "Why was the developer's family upset with them at dinner?",
200 | "a": "They forgot to git squash before going home",
201 | "form": "qa"
202 | },
203 | "45": {
204 | "q": "What did JavaScript call his son?",
205 | "a": "JSON!",
206 | "form": "qa"
207 | },
208 | "46": {
209 | "q": "What did the proud React component say to its child?",
210 | "a": "I've got to give you props",
211 | "form": "qa"
212 | },
213 | "47": {
214 | "q": "What did the server say to his client who was having a bad day?",
215 | "a": "Everything's going to be 200",
216 | "form": "qa"
217 | },
218 | "48": {
219 | "q": "Why did the developer go broke?",
220 | "a": "Because they used up all their cache",
221 | "form": "qa"
222 | },
223 | "49": {
224 | "q": "Are computers dangerous?",
225 | "a": "Nah, they don't byte. They just nibble a bit.",
226 | "form": "qa"
227 | },
228 | "50": {
229 | "q": "How did the mafioso kill the Node server?",
230 | "a": "Tie await to it and let it async.",
231 | "form": "qa"
232 | },
233 | "51": {
234 | "q": "You know what the best thing about booleans is?",
235 | "a": "Even if you are wrong, you are only off by a bit.",
236 | "form": "qa"
237 | },
238 | "52": {
239 | "q": "Why couldn’t the user update a file on a shared server?",
240 | "a": "They didn’t have the write permissions",
241 | "form": "qa"
242 | },
243 | "53": {
244 | "q": "What do you do when you can't understand your husband's behavior?",
245 | "a": "man man",
246 | "form": "qa"
247 | },
248 | "54": {
249 | "q": "What do you call a doctor who fixes websites?",
250 | "a": "A URLogist",
251 | "form": "qa"
252 | },
253 | "55": {
254 | "q": "How many developers does it take to change a light bulb?",
255 | "a": "None. It's a hardware issue",
256 | "form": "qa"
257 | },
258 | "56": {
259 | "q": "Why do programmers always mix up Halloween and Christmas?",
260 | "a": "Because 31 OCT == 25 DEC",
261 | "form": "qa"
262 | },
263 | "57": {
264 | "q": "Why do kayakers make bad programmers?",
265 | "a": "Because they're afraid of waterfall.",
266 | "form": "qa"
267 | },
268 | "58": {
269 | "q": "What are computers' favorite snacks?",
270 | "a": "Microchips, phish sticks, and cookies. But just a few bytes of each.",
271 | "form": "qa"
272 | },
273 | "59": {
274 | "q": "What do computers love to do at the beach?",
275 | "a": "Put on some spam block for protection so they can safely surf the net while catching some .WAVs!",
276 | "form": "qa"
277 | },
278 | "60": {
279 | "q": "What do you call a computer that sings?",
280 | "a": "A-dell.",
281 | "form": "qa"
282 | },
283 | "61": {
284 | "q": "What's a compiler developer's favorite spice?",
285 | "a": "Parsley.",
286 | "form": "qa"
287 | },
288 | "62": {
289 | "q": "When do front end developers go out to eat?",
290 | "a": "On their lunch <br>
.",
291 | "form": "qa"
292 | },
293 | "63": {
294 | "q": "A SQL developer walked into a NoSQL bar.",
295 | "a": "They left because they couldn't find a table.",
296 | "form": "qa"
297 | },
298 | "64": {
299 | "q": "How do you help JS errors?",
300 | "a": "You console
them!",
301 | "form": "qa"
302 | },
303 | "65": {
304 | "q": "Why don't parents teach their kids about regular expressions?",
305 | "a": "Because they don't want them playing with matches",
306 | "form": "qa"
307 | },
308 | "66": {
309 | "q": "Why didn't the div
get invited to the dinner party?",
310 | "a": "Because it had no class
!",
311 | "form": "qa"
312 | },
313 | "67": {
314 | "q": "Why aren't cryptocurrency engineers allowed to vote?",
315 | "a": "Because they're miners!",
316 | "form": "qa"
317 | },
318 | "68": {
319 | "q": "Why did the constant break up with the variable?",
320 | "a": "Because they changed.",
321 | "form": "qa"
322 | },
323 | "69": {
324 | "q": "Why did the database administrator leave his wife?",
325 | "a": "She had one-to-many relationships.",
326 | "form": "qa"
327 | },
328 | "70": "Asynchronous JavaScript is amazing.I Promise you, await and see.",
329 | "71": {
330 | "q": "What did the Class say in court when put on trial?",
331 | "a": "I strongly object!",
332 | "form": "qa"
333 | },
334 | "72": {
335 | "q": "Why do Java developers wear glasses?",
336 | "a": "Because they don't C#!",
337 | "form": "qa"
338 | },
339 | "73": {
340 | "q": "What are the three hardest problems in computer science?",
341 | "a": "Naming things and off-by-one errors",
342 | "form": "qa"
343 | },
344 | "74": {
345 | "q": "What did the fruit basket say to the developer?",
346 | "a": "I hope you're ready for some pear programming!",
347 | "form": "qa"
348 | },
349 | "75": {
350 | "q": "How does a sysadmin keep a fire going?",
351 | "a": "They rotate the logs.",
352 | "form": "qa"
353 | },
354 | "76": "I've got a great UDP joke but I'm afraid you wouldn't get it...",
355 | "77": "A programmer was arrested for writing unreadable code. They refused to comment.",
356 | "78": "There are 10 types of people in this world, those who understand binary and those who don't.",
357 | "79": {
358 | "q": "I love you and I only love you. Does that turn you on?",
359 | "a": "ATE:** No.",
360 | "form": "qa"
361 | },
362 | "80": {
363 | "q": "Why do all HTML emails get blocked?",
364 | "a": "Because they are all span
",
365 | "form": "qa"
366 | },
367 | "81": {
368 | "q": "What did the process say after working in an infinite loop all day?",
369 | "a": "I need a break.",
370 | "form": "qa"
371 | },
372 | "82": {
373 | "q": "An Agent died unexpectedly. How was the crime solved?",
374 | "a": "By looking at the Stack Trace.",
375 | "form": "qa"
376 | },
377 | "83": {
378 | "q": "Why did the document store go out of business?",
379 | "a": "It had NoSQL.",
380 | "form": "qa"
381 | },
382 | "84": {
383 | "q": "Why can't SQL and NoSQL Developers date one other?",
384 | "a": "Because they don't agree on relationships.",
385 | "form": "qa"
386 | },
387 | "85": {
388 | "q": "Why is Python like the Soviet Union?",
389 | "a": "Because it has no private fields",
390 | "form": "qa"
391 | },
392 | "86": {
393 | "q": "Where did the API go to eat?",
394 | "a": "To the RESTaurant",
395 | "form": "qa"
396 | },
397 | "87": {
398 | "q": "Why shouldn't you trust Matlab developers?",
399 | "a": "Because they're always plotting something.",
400 | "form": "qa"
401 | },
402 | "88": {
403 | "q": "Why did the developer have to quit smoking?",
404 | "a": "Because they couldn't afford to pay the new syntax.",
405 | "form": "qa"
406 | },
407 | "89": {
408 | "q": "How does a programmer open a jar for their significant other?",
409 | "a": "They install Java",
410 | "form": "qa"
411 | },
412 | "90": {
413 | "q": "What did the psychic say to the developers?",
414 | "a": "I see dev people.",
415 | "form": "qa"
416 | },
417 | "91": {
418 | "q": "Where does the pirate stash all of their digital treasures?",
419 | "a": "RAR",
420 | "form": "qa"
421 | },
422 | "92": {
423 | "q": "What is React's favorite movie genre?",
424 | "a": "Suspense",
425 | "form": "qa"
426 | },
427 | "93": {
428 | "q": "Why couldn't the React component understand the joke?",
429 | "a": "Because it didn't get the context.",
430 | "form": "qa"
431 | },
432 | "94": {
433 | "q": "What did XHR say to AJAX when it thought it was being a Mean Girl?",
434 | "a": "Stop trying to make fetch happen!",
435 | "form": "qa"
436 | },
437 | "95": {
438 | "q": "What was Grace Hopper's favorite car?",
439 | "a": "VW Bug",
440 | "form": "qa"
441 | },
442 | "96": {
443 | "q": "What sits on a pirate's shoulder and calls, \"Pieces of seven, Pieces of seven\"?",
444 | "a": "Parroty error.",
445 | "form": "qa"
446 | },
447 | "97": {
448 | "q": "What is a pirate's favorite programming language?",
449 | "a": "You'd think it was R, but a pirate's first love is Objectively C.",
450 | "form": "qa"
451 | },
452 | "98": {
453 | "q": "Why did the programmer come home crying?\"",
454 | "a": "His friends were always boolean him.",
455 | "form": "qa"
456 | },
457 | "99": "**-** Knock Knock!**-** An async function**-** Who's there?",
458 | "100": {
459 | "q": "What PostgreSQL library should Python developers use for adult-oriented code?",
460 | "a": "psycoPG13",
461 | "form": "qa"
462 | },
463 | "101": "The next time you're using Safari or Firefox and it's running slowly, you can say to yourself,stroganoff
",
537 | "form": "qa"
538 | },
539 | "117": {
540 | "q": "Why do developers use mechanical keyboards?",
541 | "a": "To strongly type their code.",
542 | "form": "qa"
543 | },
544 | "118": "A new database query walks into a bar. The server says \"Sorry, cache only.\"",
545 | "119": "What's the best tool for automatically ignoring long email threads about tech buzzwords?\"\"Block-chain\"",
546 | "120": {
547 | "q": "What is a developer's favorite country song?",
548 | "a": "Hello World - by Lady Antebellum",
549 | "form": "qa"
550 | },
551 | "121": {
552 | "q": "Why was nobody given food at the developer conference?",
553 | "a": "It was a serverless function!",
554 | "form": "qa"
555 | },
556 | "122": {
557 | "q": "Why did the developer cancel their dinner plans?",
558 | "a": "They were unable to fulfil peer dependencies",
559 | "form": "qa"
560 | },
561 | "123": {
562 | "q": "Why did the functional programmer finally move out of their house?",
563 | "a": "For(e) closure",
564 | "form": "qa"
565 | },
566 | "124": {
567 | "q": "How do JavaScript developers break up?",
568 | "a": "They always promise to callback",
569 | "form": "qa"
570 | },
571 | "125": {
572 | "q": "Why do developers mixup Terminals and Polygraphs?",
573 | "a": "Because they both can see a lie (CLI)",
574 | "form": "qa"
575 | },
576 | "126": {
577 | "q": "Did you hear about the programmer that was scared of IDEs?",
578 | "a": "They retreated back into their shell",
579 | "form": "qa"
580 | },
581 | "127": {
582 | "q": "What do you call optimistic front-end developers?",
583 | "a": "Stack half-full developers.",
584 | "form": "qa"
585 | },
586 | "128": "Chuck Norris can take a screenshot of his blue screen.",
587 | "129": {
588 | "q": "Have you heard the one about the Corduroy pillow?",
589 | "a": "It's making HEADLINES!",
590 | "form": "qa"
591 | },
592 | "130": {
593 | "q": "Hey officer! How did the hackers escape?",
594 | "a": "No idea. They just ransomware.",
595 | "form": "qa"
596 | },
597 | "131": {
598 | "q": "Why can’t data engineers become hat makers?",
599 | "a": "They can only guarantee two thirds of a CAP!",
600 | "form": "qa"
601 | },
602 | "132": {
603 | "q": "How did the hippie learn about database transactions?",
604 | "a": "By taking ACID",
605 | "form": "qa"
606 | },
607 | "133": {
608 | "q": "Why is it called the Dark Ages?",
609 | "a": "There were a lot of KNIGHTS!",
610 | "form": "qa"
611 | },
612 | "134": {
613 | "q": "What did the Network Administrator say when they caught a nasty virus?",
614 | "a": "It hurts when IP",
615 | "form": "qa"
616 | },
617 | "135": {
618 | "q": "Which programming language is the shortest?",
619 | "a": "HTML. Because it doesn't have a neck between its head
and body
.",
620 | "form": "qa"
621 | },
622 | "136": {
623 | "q": "What good can come of 2989 witches casting a hex?",
624 | "a": "None, it is always 0xBAD",
625 | "form": "qa"
626 | },
627 | "137": {
628 | "q": "Did you hear about the witch who was off by two when casting a hex?",
629 | "a": "They failed to make the target DEAD and made them DEAF instead!",
630 | "form": "qa"
631 | },
632 | "138": "I went to a street where the houses were numbered 8k, 16k, 32k, 64k, 128k, 256k and 512k.It was a trip down Memory Lane.",
633 | "139": "Lisp programmers don't make prank calls. They make FUNCALL
s",
634 | "140": {
635 | "q": "Why do Front-End Developers eat lunch alone?",
636 | "a": "Because, they don't know how to join tables.",
637 | "form": "qa"
638 | },
639 | "141": {
640 | "q": "What advice do you give to a JS developer who has never played baseball?",
641 | "a": "Try catch.",
642 | "form": "qa"
643 | },
644 | "142": {
645 | "q": "Why are the arrays that Chuck Norris declare, of infinite size.",
646 | "a": "Because Chuck Norris knows no bounds.",
647 | "form": "qa"
648 | },
649 | "143": {
650 | "q": "Why doesn't Chuck Norris need garbage collection.",
651 | "a": "Because he doesn’t call .Dispose()
, he calls .DropKick()
.",
652 | "form": "qa"
653 | },
654 | "144": {
655 | "q": "How did the programmer die in the shower?",
656 | "a": "He read the shampoo bottle instructions: Lather. Rinse. Repeat.",
657 | "form": "qa"
658 | },
659 | "145": "When I wrote this code, only God and I understood what I was doing. Now, only God knows.",
660 | "146": {
661 | "q": "What did the Java code say to the C code?",
662 | "a": "You've got no class.",
663 | "form": "qa"
664 | },
665 | "147": {
666 | "q": "What is the most used language in programming?",
667 | "a": "Profanity.",
668 | "form": "qa"
669 | },
670 | "148": {
671 | "q": "Why did the geek add body { padding-top: 1000px; }
to his Facebook profile?",
672 | "a": "He wanted to keep a low profile.",
673 | "form": "qa"
674 | },
675 | "149": "8 bytes walk into a bar, the bartenders asks \"What will it be?\"