Skip to content

Instantly share code, notes, and snippets.

View remylagerweij's full-sized avatar

Remy Martin Lagerweij remylagerweij

View GitHub Profile
@remylagerweij
remylagerweij / grid.scss
Created March 2, 2017 12:38
12 Column SASS Grid
$grid-gutter: 20px;
$grid-columns: 12;
$grid-size-names: xxs, xs, sm, md, lg;
$grid-size: 0, 480px, 720px, 900px, 1080px;
$xs: 480px;
$sm: 720px;
$md: 900px;
$lg: 1080px;
## Checklist (remove before placing PR)
[ ] Specs (if applicable)
[ ] Documentation (if applicable)
[ ] Visual (Screenshot / GIF / mp4) of new feature (if applicable)
## PR Description:
**JIRA Issue**: [EXAMPLE-XXX](https://EXAMPLE.atlassian.net/browse/EXAMPLE-XXX)
`this` containing `that` was emitting errors. That has now been fixed :)
## Changelog
@remylagerweij
remylagerweij / .zshrc
Last active May 2, 2024 05:23
zshrc file, aliasses etc.
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/remylagerweij/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
@remylagerweij
remylagerweij / podcast-specs.xml
Created April 9, 2020 09:58
Podcast - RSS Specification
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" version="2.0">
<channel>
<title>Podcast Title</title>
<atom:link href="https://www.mypodcastfeed.com/feed/podcast/" rel="self" type="application/rss+xml" />
<link>https://www.podcasturl.com</link>
<description>Podcast description</description>
<lastBuildDate>Fri, 19 Jan 2018 01:45:39 +0000</lastBuildDate>
<language>en-US</language>
<copyright />
@remylagerweij
remylagerweij / linkedin-scraper.js
Created February 22, 2021 20:27
Scraping people from search results on LinkedIn
let people_list = [];
(function(){
const person_naam = '.actor-name';
const person_title = '.subline-level-1';
const person_location = '.subline-level-2';
const person_job_function = '.mt2.t-12.t-black--light.t-normal.search-result__snippets-black';
function getAttribute(person, attribute){
/* needs some finalisation for implementation, but basicly accepts 2 divs, .spinner-wrapper with the .spinner chile within it. */
.spinner-wrapper{
&::before{
content:"";
position:absolute;
background:linear-gradient(112deg, #9894c8, #373570);
width:300px;
height:300px;
left:50%;
@use 'sass:math'
$darken-value: 5%
$darkest-value: 10%
$lighten-value: 5%
$lightest-value: 10%
$primary: #1684c3
$secondary: #443731
async function getClientIp() {
try {
const response = await fetch('https://api.ipify.org?format=json');
const data = await response.json();
console.log(data.ip);
} catch (error) {
console.error('Error fetching the IP address:', error);
}
}