<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title> - Articles</title>s
		<description>I&apos;m Benoit Rospars, a frontend developer based in France. You can find here some of my work and articles about frontend and more.
</description>
		<link>http://brospars.github.io</link>
		<atom:link href="http://brospars.github.io/feed.xml" rel="self" type="application/rss+xml" />
		
			
			<item>
				<title>The Risks of Domain Squatting with GitHub Pages Subdomains</title>
				
					<description>&lt;p&gt;GitHub Pages is a fantastic service that allows developers to host static websites or apps directly from a Git repository for free. It’s a go-to for many developers and organizations looking to showcase their projects, documentation, or personal portfolios. However, there’s a hidden risk associated with using custom domains with GitHub Pages that isn’t widely discussed: domain squatting.&lt;/p&gt;

</description>
				
				<pubDate>Thu, 12 Jun 2025 08:00:00 +0000</pubDate>
				<link>http://brospars.github.io/articles/the-risks-of-domain-squatting-with-github-pages-subdomains</link>
				<guid isPermaLink="true">http://brospars.github.io/articles/the-risks-of-domain-squatting-with-github-pages-subdomains</guid>
			</item>
			
		
			
			<item>
				<title>Nginx valid ssl configuration</title>
				
					<description>&lt;p&gt;To create a valid SSL Nginx configuration, you will need to follow these steps:&lt;/p&gt;

</description>
				
				<pubDate>Mon, 05 Dec 2022 16:00:00 +0000</pubDate>
				<link>http://brospars.github.io/snippets/nginx-ssl-condif</link>
				<guid isPermaLink="true">http://brospars.github.io/snippets/nginx-ssl-condif</guid>
			</item>
			
		
			
			<item>
				<title>A way to host and share Open Educational Resources for free</title>
				
					<description>&lt;h2 id=&quot;the-context&quot;&gt;The context&lt;/h2&gt;

</description>
				
				<pubDate>Thu, 30 Jun 2022 16:00:00 +0000</pubDate>
				<link>http://brospars.github.io/articles/host-and-share-oer-for-free</link>
				<guid isPermaLink="true">http://brospars.github.io/articles/host-and-share-oer-for-free</guid>
			</item>
			
		
			
			<item>
				<title>How to create a step by step script</title>
				
					<description>&lt;p&gt;Some time ago, I was working on a app that generates json config files for online courses.
It was working great and the building process was fast. Too fast.&lt;br /&gt;
It wasn’t providing any &lt;strong&gt;visual feedback&lt;/strong&gt; to the end user and no way of understanding what’s going on. Here’s a great 
&lt;a href=&quot;https://www.smashingmagazine.com/2017/01/how-functional-animation-helps-improve-user-experience/&quot;&gt;article&lt;/a&gt; on the subject.&lt;/p&gt;

</description>
				
				<pubDate>Wed, 17 Apr 2019 11:59:00 +0000</pubDate>
				<link>http://brospars.github.io/snippets/step-by-step</link>
				<guid isPermaLink="true">http://brospars.github.io/snippets/step-by-step</guid>
			</item>
			
		
			
			<item>
				<title>Regular expression to match vtt subtitles</title>
				
					<description>&lt;p&gt;&lt;strong&gt;Regex&lt;/strong&gt; : &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/^(\d{2}:\d{2}:\d{2}[.,]\d{3})\s--&amp;gt;\s(\d{2}:\d{2}:\d{2}[.,]\d{3})\n(.*(?:\r?\n(?!\r?\n).*)*)/gm&lt;/code&gt;&lt;br /&gt;
&lt;strong&gt;Demo&lt;/strong&gt; : &lt;a href=&quot;https://regex101.com/r/TH1JhU/1&quot;&gt;https://regex101.com/r/TH1JhU/1&lt;/a&gt;&lt;br /&gt;
&lt;strong&gt;Code example&lt;/strong&gt; :&lt;br /&gt;
```js
const regex = /^(\d{2}:\d{2}:\d{2}[.,]\d{3})\s–&amp;gt;\s(\d{2}:\d{2}:\d{2}[.,]\d{3})\n(.&lt;em&gt;(?:\r?\n(?!\r?\n).&lt;/em&gt;)*)/gm;
const str = `WEBVTT&lt;/p&gt;

</description>
				
				<pubDate>Tue, 17 Apr 2018 16:00:00 +0000</pubDate>
				<link>http://brospars.github.io/snippets/regex-web-vtt</link>
				<guid isPermaLink="true">http://brospars.github.io/snippets/regex-web-vtt</guid>
			</item>
			
		
			
			<item>
				<title>Keep gh-pages up to date</title>
				
					<description>&lt;p&gt;I’ve been using &lt;a href=&quot;https://pages.github.com/&quot;&gt;Github Pages&lt;/a&gt; a lot recently and it’s awesome ! It provides you a quick and powerful way to host a demo of your work. But one thing that I found annoying using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gh-pages&lt;/code&gt; is that it &lt;a href=&quot;https://help.github.com/articles/creating-project-pages-manually/&quot;&gt;suggests you&lt;/a&gt; to have a totally different empty branch with your demo in it and then to switch to that branch everytime you want to update your demo page, make your changes, commit to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gh-pages&lt;/code&gt; and then push the whole thing to github. I found this a bit tedious.&lt;/p&gt;

</description>
				
				<pubDate>Fri, 17 Jun 2016 09:00:00 +0000</pubDate>
				<link>http://brospars.github.io/snippets/keep-gh-page-up-to-date</link>
				<guid isPermaLink="true">http://brospars.github.io/snippets/keep-gh-page-up-to-date</guid>
			</item>
			
		
			
			<item>
				<title>IE Fix for &quot;jumpy&quot; fixed background</title>
				
					<description>&lt;p&gt;If you are using fixed backgrounds on your website such as &lt;a href=&quot;http://impactiv.fr/&quot;&gt;here&lt;/a&gt;, you may experience issues on IE (I’m on IE11 Windows 8).
Your fixed backgrounds may jump around and jitter when scrolling with mousewheel. (Like &lt;a href=&quot;https://www.youtube.com/watch?v=_WAaxZUvWZ8&amp;amp;feature=youtu.be&quot;&gt;this&lt;/a&gt;)&lt;/p&gt;

</description>
				
				<pubDate>Sat, 11 Jun 2016 16:00:00 +0000</pubDate>
				<link>http://brospars.github.io/snippets/ie-jumpy-bg</link>
				<guid isPermaLink="true">http://brospars.github.io/snippets/ie-jumpy-bg</guid>
			</item>
			
		
	</channel>
</rss>