Skip to content

Instantly share code, notes, and snippets.

// Europe has 44 countries
// meanwhile this array has 46 items. 'JE' and 'GI' are part of UK.
const euCountryCodes = [
'DE', // Germany
'IE', // Ireland
'IT', // Italy
'MT', // Malta
'GB', // United Kingdom
'NL', // Netherlands
var statsCounter=document.querySelectorAll(".jsStatsCounter");function isInViewport(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}statsCounter.forEach(t=>{var e=!1;window.addEventListener("scroll",()=>{if(!e){var n=parseInt(t.dataset.start),o=parseInt(t.dataset.end),r=n;t.textContent=n,isInViewport(t)&&(e=!0,setInterval(()=>{r<o?r+=1:r=o,t.textContent=r},25))}},!1)});
@vibrates09
vibrates09 / gist:ced7066a0c36b1b7548d707cab12ce4f
Last active August 2, 2021 17:14
List of all icons in Font Awesome v4.7
<i class="fa fa-bars fa-lg"></i>
<i class="fa fa-font-awesome"></i>
<i class="fa fa-caret-down"></i>
<i class="fa fa-flag fa-fw"></i>
<i class="fa fa-handshake-o fa-fw"></i>
<i class="fa fa-camera-retro fa-fw"></i>
<i class="fa fa-universal-access fa-fw"></i>
<i class="fa fa-hand-spock-o fa-fw"></i>
<i class="fa fa-ship fa-fw"></i>
<i class="fa fa-venus fa-fw"></i>