Introduction A YouTube video can be either public (anyone can watch), private (only the owner can watch) or unlisted (anyone with a link can watch). I like the third option because I can share the links with whoever I want and at the same time my videos do not show up in search results. If
I assume you have a Mac computer and web.py is already installed. I also assume openssl is installed. Follow the steps below to enable SSL on your web server. openssl genrsa -des3 -out server.key 1024 openssl req -new -key server.key -out server.csr openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt In your
If you want to view and decrypt SSL connections (https) sent from your mobile device or if you are getting the message “ssl proxying not enabled for this host: enable in proxy settings, ssl locations” then you came to the right place. Here is a tutorial on how to do that: Charles SSL certificate iPhone
It is nice to have a fast Android emulator for various reasons (ex. test automation) but it is notoriously known as slow to the extent that engineers abandon it. On the other hand, the iOS simulator is super fast. In this short article I am going to explain how to make it as good as
In this short article, I will explain how to create a test automation framework for iOS using Sikuli, iOS simulator and Python unit test. I assume prior knowledge about these technologies and only focus on the actual technical details so that you hit the ground running. Sikuli API is distributed as a Java JAR file.
Introduction I was testing a client software which communicates with a server software using JSON format. The behavior of the client depends on the instructions specified in the server response. In order to test the client I had to modify the server response and try different scenarios. One way to change the server response is
Each website or online service requires a password. Different websites have different rules to passwords. If you want to use the same password everywhere then you might end up tweaking your password for each website. Passwords do expire and you are forced to come out with new passwords and sometimes they make it even more
Problem Given an input text file as in the example below Write a script that prints the output below Solution Each line in the file contains a word and a list of positions at which the word is repeated in the printed output. Here is a python implementation:
Problem Given an input text file with format as in the following example: print the number of sub directory levels that are common to all paths in the file. In this case it is /foo/bar/x so the count is 3 Solution Here is a sample python code to implement that
Matlab mex functions can be used to extend Matlab functionality or to improve performance by using compiled code as opposed to interpreted matlab syntax. Using mex functions is explained in many places on the web however the following is a simple template example to demonstrate that: