25
2010
Print margins in Firefox Ubuntu Karmic Koala
To change print margins in Firefox in Ubuntu : 1. Open a new tab and type about:config in the Url and hit enter. 2. In filter enter margin. 3. For all terms which looks similar to print_margin_bottom , print_margin_top , print_unwritable_margin_bottom , print_extra_margin and so on, double click them and enter value of 0 or 0.0 Also change the header and footer text by filtering on header and footer and change the corresponding values.
23
2010
Url encoded forward slash in MVC or codeignitor app urls
When using PATH_INFO , the urls of codeignitor apps or your custom MVC looks like this Now if the parameters contain a forward slash then you would urlencode it as : But opening that kind of URL would give an error : Page Not Found This happens if AllowEncodedSlashes directive of Apache is not turned on. More Here. This directive should be turned on to allow those sort of Urls. And for codeignitor $config['permitted_uri_chars'] should [...]
Subscribe
Recent Posts
- Compile wxwebconnect on Ubuntu 11.04 64 bit
- Disqus Comments Importer Script in PHP
- Beginners’ guide to socket programming with winsock
- Handle multiple socket connections with fd_set and select on Linux
- Beginners guide to socket programming in C on Linux
- Gui whois client in python with wxpython
- Whois client code in C with Linux sockets
- str_replace for C
- Easy to use C/C++ IDE for Ubuntu Linux
- Get local ip in C on linux
An article by Binary Tides