Skip to content

Instantly share code, notes, and snippets.

View titivermeesch's full-sized avatar
Doing some random stuff

Tristan Vermeesch titivermeesch

Doing some random stuff
View GitHub Profile
{
"public_identifier": "tristanvermeesch",
"profile_pic_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/tristanvermeesch/profile?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20240320%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20240320T123230Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=3774ea4cf83f19b6e90af37be2e7396d0ca742bd9c0e3990fa96ea68e24a9516",
"background_cover_image_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/tristanvermeesch/cover?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20240320%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20240320T123230Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=dfcce203ab251e28763871247d45d56cece94e457ad9d7d138bbfa06892f11eb",
"first_name": "Tristan",
"last_name": "Vermeesch",
"full_name": "Tristan Vermeesch",
"follower_count": 918,
"occupation": "Software-ingenieur at Sinch",
"headline": "A love for code,
@titivermeesch
titivermeesch / url-to-name.js
Created April 23, 2020 17:55
Extract domain name from an url
function domainName(url){
const parts = url.split('.').filter(el => !el.includes('www'))[0].split('://')
return parts[1] || parts[0]
}