Clean cache for specific domain within Firefox

  1. Select the Firefox Menu button.
  2. (Within Firefox 57 or newer, select Library)
  3. Select the History icon.
  4. Scroll to the bottom and select Show All History.
  5. Search for the site using the Search History field in the upper-right corner.
  6. Within the results, right-click the appropriate page and select Forget About This Site.

Create a SOCKS proxy on a Linux server with SSH to bypass content filters

Are you on a network with limited access? Is someone filtering your internet traffic, limiting your abilities? Well, if you have SSH access to any server, you can probably set up your own SOCKS5 proxy and tunnel all your traffic over SSH.

From that point on, what you do on your laptop/computer is sent encrypted to the SOCKS5 proxy (your SSH server) and that server sends the traffic to the outside. It’s an SSH tunnel on steroids through which you can easily pass HTTP and HTTPs traffic. And it isn’t even that hard. This guide is for Linux/Mac OSX users that have direct access to a terminal, but the same logic applies to PuTTy on Windows too.

Apache vs Nginx: Practical Considerations

Apache and Nginx are the two most common open source web servers in the world. Together, they are responsible for serving over 50% of traffic on the internet. Both solutions are capable of handling diverse workloads and working with other software to provide a complete web stack.

While Apache and Nginx share many qualities, they should not be thought of as entirely interchangeable. Each excels in its own way and it is important to understand the situations where you may need to reevaluate your web server of choice. This article will be devoted to a discussion of how each server stacks up in various areas.

Bash script to block an IP address in linux

In order to block an IP or a class of IPs on your Linux server you need to use iptables tools (administration tool for IPv4 packet filtering and NAT) and netfilter firewall. First you need to log into shell as root user.

To block an IP address you need to type the command as follows:
./drop IP

You can also unblock an IP by suppling -r parameter:
./drop -r IP
Continue reading…

Ștergere error_log din /home

Dacă dorești vreodată să ștergi fișierele error_log de ​​la toate site-urile găzduite pe server, și ai acces la server prin intermediul SSH, următoarea comandă va elimina în liniște aceste fișiere:

find /home/ -type f -name error_log -delete

Pască fără aluat

– 1 coajă rasă de lămâie,
– amaretto,
– 1 plic praf de copt,
– 5 linguri de făină,
– 8 linguri de zahăr,
– 5 ouă,
– 600g brânză de vaci,
– esenţă de vanilie sau zahăr vanilat,
– 100g stafide,
– 100ml rom whisky sau apă caldă pentru înmuiat stafidele.

Continue reading…