Sometimes need arises in order to check if some data has been tampered or not by chance or because a bilious user. Imagine downloading a file from the internet where the owner of the file
Sometimes I’ve found myself in the need of checking a website that works under HTTPS but didn’t want to use a browser for whatever reason. In those cases tools like telnet or httpie do not work, as they are unable to handle the underlying SSL protocol. We can use openssl in those cases in order […]
In Magento it’s pretty easy to set a redirection. Say you want to redirect from /products/abc tohttps://anothersite.com/whatever.html. You can do that in a couple of ways.
Today I needed to delete a session for a test customer on my Magento environment. I had no idea where sessions were stored, so I headed down to the database and looked for some sesson-something table.
Disclaimer: please read my first post on Magento TL;DR; use $url = Mage::helper(‘module_name’)->_getUrl(‘controller/action’); I’m new to Magento and currently I’m doing some work on it. Today I needed to get a URL from my module in order to call
As of today (August 2015) I’m rather new to Magento, so my posts will probably be for a very basic level of Magento. I’m writing them just to remember how I did things that worked, but I can’t assure they are best practices. It will be just like if those posts are my class notebook. […]
Today I’ve been using cURL for testing an endpoint I’m developing with Django. The answer of the endpoint is in json format, so sometimes it is hard to read its output. Luckily Python has a module (json.tools) which can help us in that situation.
When working with Django we have a couple of fields dealing with files, FileField and ImageField. The thing is that using these fields we can only upload one file at a time so problems come when we want to upload more than one field in one request.
When developing a Django application you will eventually find useful to have some command-line admin commands. There are zillions of reasons you may need them. From generating reports to clear cache data from your app.
Word of warning! This is a long post, so better if you have a cup of coffee/tea/whatever-you-like before start reading 🙂 In this post I’m going to show you what is the layout I feel most comfortable with when working with Django projects.
- Get a bundle of Unix ebooks and support charity! https://t.co/PDrLWUQewl via @humblebooks 1 year ago
- Get a bundle of Unix ebooks and support charity! https://t.co/grvNJV9X7v via @humblebooks 1 year ago
- New post: Have you ever needed to check #ssh public-keys fingerprints? Check this out! https://t.co/bsLWRSEyFE 1 year ago