| Package | Badges | Details |
|---|---|---|
| typedoc-plugin-markdown | [Readm |
This file contains hidden or 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/softvar/js/blob/master/packages/util-array/src/index.ts#L97 | |
| function sortOnKey(arr, key, direction = 'asc' ) { | |
| if (!arr || !arr.length || !key) { | |
| return []; | |
| } | |
| const dir = direction === 'asc' ? 1 : -1 | |
| arr.sort((a, b) => { | |
| return b[key] > a[key] ? -1 : a[key] > b[key] ? dir : 0; | |
| }); |
Counter: https://100dayscss.com/?dayIndex=31
Gallery v1: https://100dayscss.com/?dayIndex=39
Gallery v2: https://100dayscss.com/?dayIndex=12
Notification: https://100dayscss.com/?dayIndex=25
Cloud
This file contains hidden or 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
| @media (min-width: 640px) { | |
| /* mobile (sm) */ | |
| } | |
| @media (min-width: 768px) { | |
| /* tablet (md) */ | |
| } | |
| @media (min-width: 1024px) { | |
| /* laptop (lg) */ |
This file contains hidden or 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
| .selector { | |
| /* Positioning */ | |
| position: absolute; | |
| z-index: 10; | |
| top: 0; | |
| right: 0; | |
| /* Display & Box Model */ | |
| display: inline-block; | |
| overflow: hidden; |
This file contains hidden or 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
| async function getGithubGists() { | |
| const githubUsername = 'octocat' | |
| const gists = await fetch( | |
| `https://api.github.com/users/${githubUsername}/gists` | |
| ) | |
| const gistsJson = await gists.json() | |
| const snippets = [] |