Setup Jest, React (TypeScript) and Vite
First off, create a new Vite/React project:
npm init vite --template react-ts <YOUR APP NAME> \
&& cd <YOUR APP NAME> \
&& npm i \
&& npm i -D jest \
@types/jest \
First off, create a new Vite/React project:
npm init vite --template react-ts <YOUR APP NAME> \
&& cd <YOUR APP NAME> \
&& npm i \
&& npm i -D jest \
@types/jest \
An example of using R in Docker.
docker compose up
Simple example showing how to compare two dates by first converting them to epoch Unix timestamps.
An example/reference of a .vscode
folder. Why? I always seem to forget these things 🙃.
I use Git Bash on Windows but these instruction should work on just about any Bash-based system (Linux, Mac, etc).
It's "official", I have switched to Windows! Some may call me crazy (and maybe I am) but I've actually been enjoying the web dev experience on Windoze. Like those brave soles before me, I have decided that it's time to combat the Mac monoculture and try something different.
It's strange to me that the web is all about open technologies and inclusiveness and then we all use Mac and preach our technology choices hard from the rooftops. I started off using Windows for photography in 2005 on a severely under powered machine, switched over to Mac around 2007 and then became a semi-hardcore Linux user from about 2013 to 2018. I've come to learn that it really doesn't matter which machine the web developer is using, as long as they get the job done at the end of the day.
Obviously, I couldn't give up the tools that I need to do my job. I was curious if there would be useful alternatives on Windows. Tur
I was looking around for a way to get a user's public Instagram feed as an RSS feed without using the Instagram API when I came across this question on Stack Overflow.
Probably the best way to do this, would be to use the Instagram API. However, I had no desire to sign up for an Instagram account.
Initially, this answer on Stack Overflow suited my needs quite well. However, as fate would have it, Instagram changed its HTML output and the page's JSON data structure changed. Since the idea is quite simple (we're just screen scrapping here) I decided to write my own script. If this works well for you, consider upvoting my answer on Stack Overflow: http://stackoverflow.com/a/25559442/1171790