add js or css depending on browser with php with the below short code:
<?= (preg_match('/Safari/i',$_SERVER["HTTP_USER_AGENT"] )) ? 'body{line-height:1.2; margin:0;padding:0;} @media print { html, body { margin: 0; padding: 0; }' : '' ?>
[Read More]
easy docker for high speed internet proxy
easy docker for high speed internet proxy
docker pull sameersbn/squid:3.3.8-15
docker build -t sameersbn/squid github.com/sameersbn/docker-squid
Start Squid using:
docker run --name squid -d --restart=always -v "/root/squid":/etc/squid3 \
--publish 3128:3128 \
--volume /srv/docker/squid/cache:/var/spool/squid3 \
sameersbn/squid:3.3.8-15
unable to download file in linux terminal try this one
unable to download file in linux terminal try this one
wget --load-cookies=linkedin-cookies --header="Accept: text/html" --user-agent="Mozilla/5.0 (Windows NT 10.0; rv:45.0) Gecko/20100101 Firefox/45.0" http://yourdomain.com/file.jpg
run docker easy instance
run docker easy instance
docker run -d -p 2223:22 --name test_sshd eg_sshdaa
Download required files only from web directory
Download required files only from web directory
wget --user-agent=Mozilla --no-directories --accept='*.mp4*' -r -l 2 http