Posts

Using Gmail with CloudFlare Email Routing

Image
With the news of GSuite legacy being discontinued I needed a way to manage the personal family email accounts. Everyone was in any case using it as a forwarding email address so had to figure out a way to continue using it that way without moving to a paid version as none of these accounts are business critical accounts. The first thing was to move the domain control to CloudFlare. Then in the cloudflare dashboard selected the email setting and requested for access. It took me 2-3 days to get access so not exactly sure how long it will take you or if its out of beta by now. Once you have access to email routing you can forward mails which is the easy part . In this case I'm forwarding the emails to my gmail account. Now the problem is how do you reply or compose mails with your custom email address.  Step 1: Add the following line to the DNS TXT record " include: _spf.google.com" . This will allow google to send emails on your behalf.  Earlier it was:  v=spf1 include:_sp

Recharge ₹29 pack on Airtel from available balance

Make sure you have more than ₹29 in main talk time balance account. Just dial the USSD Code * 567 *29# from your existing Airtel prepaid number. Now your account is activated with 30 days validity Airtel ₹29 internet pack.

Turn off data service on Airtel/Vodafone/Idea/BSNL/Reliance

Internet Access without a Data Pack is treated as a service. If you turn off this service the service providers cannot charge you any money from your main balance. It can only use the data if you have a data pack. SMS "STOP" to 1925 to disable that service and SMS "START" to 1925 to enable. When the service is disabled you will not be able to access Internet services till the time you have a valid Data Pack.

Google cast (Chromecast) extension is hidden

Image
If you've started seeing this new chromecast popup you are no longer using the extension but using the built in chromecast extension. You won't be able to see it using chrome://extensions/ If you want to use the extension and not the built in extension turn it off. Open chrome://flags/#media-router and disable it and you will be able to use the extension you can download from the chrome webstore.

Birthday and the year gone by

Its been almost 2 years since I last posted anything here. But now if I ever go through my old posts I can re-live those moments. The past year has been good and stable. I've been off Facebook and most other social networks. Its not that I've deleted my accounts there but I log in there once in a while. I've removed all the apps from my phone so that I don't get any notifications. That has made a lot of change in the way I think. I am not constantly trying to go back there and like a post or read something interesting that is in my notifications. I just don't get any notifications that can get my attention. I wanted to make a Facebook De-Addiction extension but that's on the TODO list for now and ever. My time on twitter is not more than a minute every few days. The growth on pics.fefoo has been quite a bit over the last few months and all thanks to the responsive style-sheet that I was able to add one of the weekends. Now half of the traffic is from Mobile

Using YQL servers as proxy to load resources cross domain

To load a HTML5 file from another domain use this  query . select * from html where url="https://www.yahoo.com/" and compat="html5" and xpath='*' This will return the whole HTML page in the results tag of the generated XML. If you want to use JSONP just add a "callback=[funcName]" query parameter in the end and instead of an XML a JSON will be sent out. Here is an  example  of how it will be sent out. I am using callback function as "test". Depending on which framework or library you are using you will need to set it accordingly. Also the YQL servers support CORS so it won't be that difficult if you do a direct XHR to get the file instead of using script tags for JSONP. I also tested it using text files and they can also be downloaded using this method. If you want other types of resources which are less than 25KB you can use another YQL query to get the results. select * from data.uri where url="http://l.yimg.com/a/i/u

Using CONNECT method on a http proxy using telnet

The simplest way to connect to an external server using a proxyserver. C:\Work>telnet proxyserver 8080 Trying 192.168.1.20... Connected to proxyserver. Escape character is '^]'. CONNECT irc.freenode.org:6667 HTTP/1.1 HTTP/1.1 200 Connection established :kornbluth.freenode.net NOTICE * :*** Looking up your hostname... :kornbluth.freenode.net NOTICE * :*** Checking Ident :kornbluth.freenode.net NOTICE * :*** Found your hostname :kornbluth.freenode.net NOTICE * :*** No Ident response In this case we are connecting to a proxyserver on port 8080. After that we open a http tunnel to irc.freenode.org on port 6667. Then you need to press enter twice to establish the connection. After that you have an open socket and you can send the commands accordingly based on the protocol being used. Here we connect to an IRC server. We could do the same thing by connecting to a HTTP server. You can apply the logic by opening a socket to the proxy server and then sending and receiving