Skip to content

Instantly share code, notes, and snippets.

View alexdevero's full-sized avatar
👨‍💻
Freelance TypeScript & React/Next.js developer available for work

Alex Devero alexdevero

👨‍💻
Freelance TypeScript & React/Next.js developer available for work
View GitHub Profile
@alexdevero
alexdevero / update-cygwin.md
Created June 10, 2018 08:03
Update Cygwin and its packages

Update Cygwin and its packages

Run following commands in CMD (as admin):

  • cd C:\cygwin or the name of the folder where you have Cygwin installed
  • wget -N https://cygwin.com/setup-x86_64.exe or download the file manually
  • setup-x86.exe --no-desktop --no-shortcuts --no-startmenu --quiet-mode (it is better to disable antivirus and firewall)
@alexdevero
alexdevero / darkreader-lighter-scrollbar
Created April 6, 2019 09:43
darkreader - make dark scrollbar on dark sites lighter
*
CSS
::-webkit-scrollbar {
background-color: #0d0d0d;
color: #afafaf;
width: auto;
height: auto;
}
/* foreground bar */
@alexdevero
alexdevero / poddycast-favorite_podcasts.json
Created June 17, 2019 04:57
Poddycast - My favorite podcasts
[{"artistName":"Tim Ferriss: Bestselling Author, Human Guinea Pig","collectionName":"The Tim Ferriss Show","artworkUrl30":"https://is3-ssl.mzstatic.com/image/thumb/Music128/v4/44/7d/df/447ddfa8-227a-6ef6-b557-e5c0fdb3303a/source/30x30bb.jpg","artworkUrl60":"https://is3-ssl.mzstatic.com/image/thumb/Music128/v4/44/7d/df/447ddfa8-227a-6ef6-b557-e5c0fdb3303a/source/60x60bb.jpg","artworkUrl100":"https://is3-ssl.mzstatic.com/image/thumb/Music128/v4/44/7d/df/447ddfa8-227a-6ef6-b557-e5c0fdb3303a/source/100x100bb.jpg","feedUrl":"https://rss.art19.com/tim-ferriss-show"},{"artistName":"Nir Eyal","collectionName":"Nir And Far: Business, Behaviour and the Brain","artworkUrl30":"https://is2-ssl.mzstatic.com/image/thumb/Music118/v4/db/4f/a5/db4fa546-82d8-dc44-12f2-2e1c37bd8a8c/source/30x30bb.jpg","artworkUrl60":"https://is2-ssl.mzstatic.com/image/thumb/Music118/v4/db/4f/a5/db4fa546-82d8-dc44-12f2-2e1c37bd8a8c/source/60x60bb.jpg","artworkUrl100":"https://is2-ssl.mzstatic.com/image/thumb/Music118/v4/db/4f/a5/db4fa546-82d8-dc4
@alexdevero
alexdevero / worldometers-covid-scrapper.js
Created April 26, 2020 12:26
Simple script for scrapping covid data from worldometers.info/coronavirus
import axios from 'axios'
import cheerio from 'cheerio'
async function getData() {
const data = await axios.get('https://www.worldometers.info/coronavirus/')
.then(res => res.data)
const $ = cheerio.load(data)
const cases = $('#maincounter-wrap > .maincounter-number span').html().trim()
@alexdevero
alexdevero / README.md
Created May 4, 2020 13:39 — forked from gbraad/README.md
Buy me a coffee
We couldn’t find that file to show.