Commit Graph

4830 Commits

Author SHA1 Message Date
Angelos Chalaris
5a1f908eab Add tests for hasKey snippet 2019-10-15 15:50:21 +03:00
Angelos Chalaris
6e3944dd5f Add haskey snippet 2019-10-15 15:45:13 +03:00
30secondsofcode
e31eb90c45 Travis build: 1502 2019-10-15 12:18:34 +00:00
Charles Clinton Pustejovsky III
7c737ab9c9 [FIX] Link to 30 seconds of knowledge wasn't working on website (#1031)
* the link for 30 seconds of knowledge was not working so I dove into this code base and found a working link to a chrome extension being used elsewhere and added that.

* Revert "the link for 30 seconds of knowledge was not working so I dove into this code base and found a working link to a chrome extension being used elsewhere and added that."

This reverts commit c89235da96.

* fix without formatting changes accidentally introduced with Prettier
2019-10-15 15:15:45 +03:00
30secondsofcode
4d179b4aff Travis build: 1499 [cron] 2019-10-13 17:01:37 +00:00
30secondsofcode
293faf083e Travis build: 1497 2019-10-13 15:37:11 +00:00
Angelos Chalaris
d299301561 Fix broken webber script 2019-10-13 18:34:27 +03:00
Rohit Rathi
fc8f428f12 Add objectToQueryString utility function and it's unit tests 2019-10-12 01:46:05 +05:30
30secondsofcode
cd719a57d9 Travis build: 1493 [cron] 2019-10-10 17:00:08 +00:00
30secondsofcode
f2b55cdca0 Travis build: 1491 2019-10-09 18:11:06 +00:00
Angelos Chalaris
6359520626 Merge pull request #1026 from RathiRohit/master
[ENHANCEMENT] Remove redundant condition from equals snippet
2019-10-09 21:08:02 +03:00
Rohit Rathi
7b80df3d88 Remove redundant condition from equals snippet 2019-10-09 22:29:56 +05:30
30secondsofcode
408ebce2c2 Travis build: 1478 [cron] 2019-09-28 16:53:53 +00:00
30secondsofcode
8f7d1bb0c5 Travis build: 1476 2019-09-28 10:39:04 +00:00
Angelos Chalaris
744f6939b8 Merge pull request #1010 from carlos-montiers/issues-deepClone
Issues deep clone
2019-09-28 13:36:33 +03:00
Angelos Chalaris
f859b78b7d Update snippet, add extra tests 2019-09-28 13:35:11 +03:00
Carlos Montiers A
6c00c38a61 Fix issue #1009 2019-09-28 13:27:03 +03:00
Carlos Montiers A
a26783ea6c Fix issue #1008 2019-09-28 13:26:55 +03:00
30secondsofcode
c913e38cf6 Travis build: 1474 2019-09-28 10:18:08 +00:00
Angelos Chalaris
462b06e282 Merge pull request #1020 from davisraimon/patch-1
Checking whether a number is Odd.
2019-09-28 13:15:20 +03:00
Angelos Chalaris
9a8d24e92a Add tests for isOdd snippet 2019-09-28 13:14:36 +03:00
Davis Raimon
2291cfe884 Checking whether a number is Odd.
Using modulo function to determine whether the number is odd.
2019-09-25 23:05:06 +05:30
30secondsofcode
8b72c0b504 Travis build: 1466 [cron] 2019-09-21 16:49:54 +00:00
30secondsofcode
741ff01115 Travis build: 1464 2019-09-21 06:16:31 +00:00
Angelos Chalaris
ded16155d1 Merge pull request #1019 from 30-seconds/graphql_custom_schemas
Create custom 'Snippet' schema in GraphQL
2019-09-21 09:13:59 +03:00
Angelos Chalaris
51dbd4cda3 Fix archive page 2019-09-20 19:54:59 +03:00
Angelos Chalaris
48f921b975 Update remaining pages
Everything that used remark and JSON now uses the new Snippet schema
2019-09-17 00:15:31 +03:00
Angelos Chalaris
75c4b3321b Update tag pages
Improve speed, move all of the querying to node
2019-09-16 23:38:26 +03:00
Angelos Chalaris
f39cba0ce0 Further optimize snippet pages
Clean up queries, query only once
2019-09-16 23:02:41 +03:00
Angelos Chalaris
31dee63aa3 Update individual snippet pages
Reduce data sizes and load times, improve performance
2019-09-16 22:43:14 +03:00
Angelos Chalaris
e4569284eb Update createPages to use new schemas
Breaks archive snippet pages, needs some investigation
2019-09-16 22:09:38 +03:00
Angelos Chalaris
df0329c7d5 Enrich snippet schema, probably finalize structure 2019-09-16 21:33:14 +03:00
Angelos Chalaris
25ae412208 Enrich Snippet schema
Add all the parsed data used on the pages, now parsed on boot.
2019-09-14 14:06:51 +03:00
Angelos Chalaris
d7013dd17c Setup snippet schema initial load logic
Use dynamic imports to load all the JSON files specified in config, read data from both sources, output the proper data in the new Snippet type nodes.
2019-09-14 13:14:47 +03:00
Angelos Chalaris
59d527edb0 Prototype snippet nodes 2019-09-14 12:32:47 +03:00
30secondsofcode
0e3cc22205 Travis build: 1445 [cron] 2019-09-13 16:45:49 +00:00
30secondsofcode
114b82b6d7 Travis build: 1443 2019-09-12 18:20:22 +00:00
Angelos Chalaris
f6ceb5b719 Merge pull request #1017 from MrChozo/patch-1
[FIX]Minor spelling - accesible to accessible
2019-09-12 21:17:33 +03:00
Brian A. Weston
1fbc7ef794 Minor spelling - accesible to accessible 2019-09-12 10:55:37 -07:00
30secondsofcode
1a654925c7 Travis build: 1439 [cron] 2019-09-10 16:44:18 +00:00
30secondsofcode
23822f570b Travis build: 1437 2019-09-09 18:37:48 +00:00
Angelos Chalaris
025fde5dc7 Fix reject snippet's description 2019-09-09 21:34:57 +03:00
30secondsofcode
d1c144b46e Travis build: 1428 [cron] 2019-09-03 16:41:07 +00:00
30secondsofcode
098333c060 Travis build: 1426 2019-09-03 05:30:49 +00:00
Angelos Chalaris
d8fb42b2c3 Merge pull request #1015 from PyGeek03/master
[ENHANCEMENT] Make the example for unary clearer
2019-09-03 08:28:19 +03:00
PyGeek03
8bcf05a800 Make it clear that the firstTwoMax() function only cares about the first 2 arguments 2019-09-03 14:44:31 +10:00
30secondsofcode
b398897535 Travis build: 1424 [cron] 2019-09-02 16:42:24 +00:00
30secondsofcode
de8cca78d4 Travis build: 1422 2019-09-02 03:36:39 +00:00
Angelos Chalaris
32092e8924 Resolve #1014 2019-09-02 06:34:09 +03:00
30secondsofcode
90e5a44ad6 Travis build: 1418 2019-08-30 17:08:20 +00:00