I no longer mantain this list. There are lots of other very comprehensive JavaScript link lists out there. Please see those, instead (Google "awesome JavaScript" for a start).
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 numberDay = () => { | |
const now = new Date(); | |
const start = new Date(now.getFullYear(), 0, 0); | |
const diff = now - start; | |
const oneDay = 1000 * 60 * 60 * 24; | |
const day = Math.floor(diff / oneDay); | |
return day; | |
}; | |
const pokemonUrl = `https://pokeapi.co/api/v2/pokemon/${numberDay()}`; |
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
from pycoingecko import CoinGeckoAPI | |
cg = CoinGeckoAPI() | |
per_set = { | |
"YFI": 0.000798, | |
"LEND": 33.272727, | |
"SNX": 3.148585, | |
"COMP": 0.08535, | |
"MKR": 0.023989, | |
"LRC": 30.833333, |
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
add_filter( 'astra_enable_default_fonts', 'temp_disable_astra_fonts' ); | |
function temp_disable_astra_fonts( $load ) { | |
$load = false; | |
return $load; | |
} | |
add_action( 'wp_head', 'add_astra_fonts_preload', 1 ); | |
function add_astra_fonts_preload() { | |
?> | |
<link rel="preload" href="<?php echo get_site_url(); ?>/wp-content/themes/astra/assets/fonts/astra.woff" as="font" crossorigin /> | |
<link rel="preload" href="<?php echo get_site_url(); ?>/wp-content/themes/astra/assets/fonts/astra.ttf" as="font" crossorigin /> |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.