Skip to content

Instantly share code, notes, and snippets.

@astamicu
astamicu / Remove videos from Youtube Watch Later playlist.md
Last active February 25, 2025 12:38
Script to remove all videos from Youtube Watch Later playlist

UPDATED 22.11.2022

It's been two years since the last update, so here's the updated working script as per the comments below.

Thanks to BryanHaley for this.

setInterval(function () {
    video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];

 video.querySelector('#primary button[aria-label="Action menu"]').click();
@jonaslsl
jonaslsl / conversor_bdi.awk
Last active August 25, 2023 00:59
Conversor BDI Bovespa em script AWK
#!/usr/bin/awk -f
#Autor: Jonas Scherer
#Data: Jan/2016
#Uso: ./conversor_bdi.awk COTAHIST_A2015.TXT
#Detalhes: Conversor do formato de cotacoes historicas disponiveis no site da Bovespa.
#O conversor podera ser usado para exportar os dados para excel para serem trabalhados de uma forma mais simples.
#Util para quem faz day-trades e deseja criar seus proprios dashboards ou fazer backtests.
#OBS: Remover a primeira e ultima linha para remover o cabecalho e o rodape que vem da Bovespa

The Laracasts PHPStorm theme - modified.

This is a slightly modified version of the great Laracasts PHPStorm theme. I've added some styles for Verions Control (add, modified, deleted line...) and fixed some missing things like warnings.

Download

image

Mac: Add to ~/Library/Preferences/WebIde80/colors

@noeldiaz
noeldiaz / gist:0f9a2583a41579878764
Created July 18, 2014 15:56
Homestead 32-bit Version
## Making a 32 bit version of Homestead
# Clone the settler repository to a directory
git clone https://github.com/laravel/settler.git Ubuntu32
# In that directory edit the file called "Vagrantfile" to use a ubuntu 32 box instead of the 64 bit one
change this line:
config.vm.box = "ubuntu/trusty64"
@hakre
hakre / README.md
Last active August 7, 2024 13:23
Iterators for PHP XMLReader for ease of parsing

Iterators for PHP XMLReader for Ease of Parsing

Change Log:

  • 0.1.12 maintenance release with fixes.

  • 0.1.11 maintenance release with fixes. added XMLReader::CDATA and XMLReader::WHITESPACE node support for XMLWritingIteration. added