Skip to content
Code Snippets
Useful code to copy and paste
  • ALL
  • Bootstrap
  • C#
  • CSS
  • Drupal 8-9
  • HTML
  • JavaScript
  • jQuery
  • PHP
  • Raspbian
  • Terminal
  • Unity
  • Website Templates
  • WordPress

Category: Terminal

Linux: Convert a text file with URLs to a HTML file with clickable links

July 25, 2021 Leonardo Signorelli

We have a file called URLs.txt with URLs: http://www.google.com http://www.reddit.com We want to create an HTML file with clickable URLs:…

Continue Reading →

Posted in: Bash, Terminal, Uncategorized Filed under: Bash, linux, perl, terminal, wget

Scrape a site with wget using a sitemap.xml

Leonardo Signorelli

The following wget command will create a file called urls.txt containing all the URLs found in a site’s sitemap.xml file.…

Continue Reading →

Posted in: Bash, Terminal, Uncategorized Filed under: Bash, linux, terminal, wget

Create a Desktop Shortcut to a Folder in Raspbian

March 5, 2020 Leonardo Signorelli

SSH into your raspberry pi or open the Terminal directly in your raspberry pi. Go to the Desktop: cd /home/pi/Desktop/…

Continue Reading →

Posted in: Raspbian, Terminal Filed under: Raspbian, terminal

Change the colors of your Mac OS Terminal

January 29, 2020 Leonardo Signorelli

Open a new terminal window. Open the Terminal Preferences. Go to the Profiles tab and select the Homebrew profile, then…

Continue Reading →

Posted in: Terminal Filed under: terminal
  • ALL
  • Bootstrap
  • C#
  • CSS
  • Drupal 8-9
  • HTML
  • JavaScript
  • jQuery
  • PHP
  • Raspbian
  • Terminal
  • Unity
  • Website Templates
  • WordPress
Copyright © 2022 Code Snippets — Escapade WordPress theme by GoDaddy