docker compose error : ERROR: Service failed to build

ERROR: Service failed to build: Get Get dial tcp: lookup on read udp> i/o timeout

ERROR: Get Get dial tcp: lookup on read udp> i/o timeout

Solution :
Add in /etc/resolv.conf as a nameserver.

Now try to run 
docker-compose up

You should not get the same error again.

Firefox - Take screenshot of full page

Solution : 1
1. Update with latest Firefox.
2. In right side of the address bar, tehre is Page Actions menu (three dots)
3. Click on it and select option "Take a screenshot"
4. Either select option full page or visible page.
Right click on the page and select option 'Take a Screenshot'
Here you can take screenhot of full page or visible page.

Solution : 2
1. Press key Shift + F2, Firefox console will be visible
2. Run command
screenshot --fullpage
3. It will save screenshot of whole page in default download folder.

Solution : 3
Use addon screengrab

Run bash command with different external IP address

To run bash commands like nmap, mysql, psql, you need to hide your external IP address, if you do not want your external IP should be logged on remote server.

I am pretending you are already using http proxy or sock proxy.

To do this, open terminal and run following commands.

export http_proxy=ip-address:port-number
export https_proxy=ip-address:port-number

Example :
export http_proxy=35.192.xx.xx:3128
export https_proxy=35.192.xx.xx:3128

If you have installed Tor in ubuntu/centos/fedora and it is running on 9050 port, run command to export sock proxy.
export http_proxy=
export https_proxy=

Now if you run commands like mysqldump or pg_dump or mysql or psql, it will not log your IP address in remote server log.

Solution : II

If you are using tor, you can use torsocks command before these commands to hide your IP

torsocks mysql -h 39.xx.xx.xx -u root -p
The remote server ip 39.xx.xx.xx, will not log your external IP in its log, it will log the tor ip which you are currently using as a sock proxy.
Related Posts Plugin for WordPress, Blogger...