Skip to content

Instantly share code, notes, and snippets.

View astamicu's full-sized avatar

Andrei astamicu

  • Bucharest, Romania
View GitHub Profile
astamicu /
Last active October 9, 2020 12:44
Wampserver Aestan Tray Menu error

Could not execute menu item (internal error)...

The problem was with the wrong browser (not available anymore) set in wamp config.

To fix:

  1. Edit the file wampmanager.conf inside your wamp direcotry.
  2. Replace the full file path under the [main] section for the navigator parameter
  3. Save the file
  4. Right-click on the wamp icon and select refresh
astamicu /
Created February 1, 2018 10:54 — forked from fvdnabee/
Moving a window to the other vertical monitor in XFCE 4
# Move the current window to the other vertical monitor. Adapted from the
# scripts for horizontal monitors at
# Only works on a 2x1 vertical monitor setup.
# Also works only on one X screen (which is the most common case).
# Props to
title: $:/config/tiddlyweb/host
#create file in root/WIKINAME/tiddlers
astamicu / Remove videos from Youtube Watch Later
Last active May 19, 2024 11:51
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();

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets

Intel HD 3000 graphics will sometimes show tearing during video playback or other fast movement on the screen.
To resolve this, enter the following commands in the Terminal:
sudo mkdir /etc/X11/xorg.conf.d/
echo -e 'Section "Device" \n Identifier "Intel Graphics" \n Driver "Intel" \n Option "TearFree" "true" \nEndSection' | sudo tee /etc/X11/xorg.conf.d/20-intel.conf
Restart the computer to make the settings active.
sudo cp /etc/nginx/nginx.conf /etc/nginx/nginx.conf.$(date "+%b_%d_%Y_%H.%M.%S")
service nginx restart