Tag: web
Run Webserver with current folder as root
Different ways to run a webserver using the current directory as root. Useful to serve static files.
Django server on custom Port
Running Django server on a custom Port python manage.py runserver 8001
Get the Plain Text Version of a Web Page
This command fetches a web page, converts it to text and shows it. lynx -dump http://www.example.com/
Share Current Folder over the Web
Want to show something on your machine to someone over the web? Don’t copy it or upload it somewhere. Just…
Force Download Dialog with PHP using octect-stream
Use this code to force a download of any type of content with PHP header(“Content-type:application/octect-stream”); header(‘Content-Disposition: attachment; filename=filename_’ . date(‘Y-m-d’)…
Some good body fonts
font:10pt ‘Trebuchet MS’,Arial,sans-serif; font:76%/140% Verdana,Geneva,Arial,Helvetica,sans-serif; font:76%/1.5 “Lucida Grande”,Geneva,Verdana,Arial,Helvetica,sans-serif; font:12px/1.5 “Lucida Grande”,”Lucida Sans Unicode”, sans-serif;
Recent Comments