background preloader

Articles

Facebook Twitter

Easy ‘curling’ with Httpie | Software Passion. Sometimes there is a need to quickly test some web service if its responding correctly to the given data, that is especially true when using a new REST service you haven’t worked with before and just want to try it out. Using curl is not always as fun as it could be because of multiple options which need to be set in order to POST for example some JSON content.HTTPIE project comes to the rescue HTTPie is a command line HTTP client.

Its goal is to make CLI interaction with web services as human-friendly as possible. It provides a simple http command that allows for sending arbitrary HTTP requests using a simple and natural syntax, and displays colorized responses. HTTPie can be used for testing, debugging, and generally interacting with HTTP servers. Yesterday evening I tried Cloudant.com which is a CouchDB in the cloud with REST api exposed, I will post some examples on how to use Cloudant with the Httpie installed.

‘logged-in’ can be any string, its just a session name you want to use. 10 Steps to the Cloud. Using the public cloud is low-cost for experimentation, but may not ultimately be suitable for your company. The costs associated with using public ready-to-go infrastructure are very low. If you are starting off, is it easier to build an internal OpenStack cluster or to sign-up for an account with an OpenStack-based provider like HP Cloud or RackSpace and see what you can do with theirs?

Often we see lag in adopting PaaS because a company feels they need to first build, and become an expert in running, an internal IaaS. (IaaS is not a requirement of Stackato, but is recommended.) 3. As you start playing with cloud infrastructure, you will realize that keeping track on your servers becomes harder with the number of machines you can fire up.

More machines means dropping your old naming convention and going with something more aligned with the tasks they perform. Your cattle are ephemeral, but unlike the hamburger variety, when one dies another one is instantly born. 4. 5. 6. 7. 8. 9. Deploying Facebook App on App42 PaaS. Facebook Apps/Games are very popular and for security purpose, Facebook requires that they are run on https. However, as a developer, you need to buy and setup SSL certificate on your server which results in spending a lot of money and time. This can be quite cumbersome, especially if you are just getting started. App42 PaaS provides you with a readymade environment to run your app on https with no additional cost. In this post, I will take you through the steps to configure your Facebook App and deploy it on App42 PaaS.

Just follow these simple steps to create a custom Facebook App and configure with a deployed application URL. Create Facebook App: To create a Facebook App, just follow these simple steps: Step 1: Visit and Click on the “+ Create New App” button on top of the screen. Step 3: Go to Facebook App’s Basic Settings page.

Congrats, your Facebook App is now good to go! Now let’s deploy your application on App42 PaaS. Configure Facebook App. Unlocking MarkdownPad 2. MarkdownPad is a is a full-featured Markdown editor for Windows. Actually is a very nice one, sadly only the professional version has the GitHub Markdown support and a bunch of other features. So, i decided to make a little change on the executable just to have a taste of the professional version. Declaimer: I am not responsible for the misuse of the material you are about to see.

This article is only for educational purposes. Hands on... Tools needed: .NET Decompiler (Reflector.NET, ILSpy); IDA;Hex editor (anyone). Open MarkdownPad.exe with the decompiler, look around just to have some understanding about the application. As you can see, in the very first verification if the license key or the email are empty or null our license is invalid, which is our the case. Let's open MardownPad with IDA and locate the hexadecimal sequence to the our "return false;". To easily locate the "VerifyLicense" method just focus the "Function Window" and press ALT-T. A very nice list of CIL instructions.