Compatibility with Octopress site.

Don't break urls.
 1. New Route function which generates routes compatible with old blog.
 2. Renamed posts folder to blog.
This commit is contained in:
Dhananjay Balan
2017-01-31 15:52:21 +01:00
parent f1bf5b6c0d
commit 3a30fb8a07
49 changed files with 25 additions and 4 deletions

View File

@@ -0,0 +1,26 @@
---
layout: post
title: "Automatic log-in for ACT Broadband"
date: 2014-08-16 19:14
comments: true
categories:
- scripts
- bangalore
- ACT broadband
---
In my openion [ACT](http://portal.acttv.in) is the best ISP in [Bangalore](http://en.wikipedia.org/wiki/Bangalore), I found this network to be much better than any other provider in terms of reliability and the bandwidth, they seem very hacker friendly too, logging in as straightforward as a simple HTTP POST.
I have this script running in my router so that I never have to bother logging in.
```bash
#!/bin/bash
USERNAME=""
PASSWORD=""
curl --data 'act_username=${USERNAME}&act_password=${PASSWORD}&login=login' \
http://portal.acttv.in -o /dev/null
```