Fully-Faltoo blog by Pratyush

Bio Twitter Screener

6th July 2012

Ben Franklin Quotes

“A good Example is the best Sermon.”

“Wise Men learn by others’ harms; Fools by their own.”

“Laziness travels so slowly that Poverty soon overtakes him.”

“Life with Fools consists in Drinking; with the wise Man, living’s Thinking.”

“The second Vice is Lying; the first is running in Debt.”

“Let no pleasure tempt thee, no profit allure thee, no ambition corrupt thee, no example sway thee, no persuasion move thee, to do any thing which thou knowest to be evil; so shalt thou always live jollily; for a good conscience is a continual Christmas.”


6th July 2012

Do it today

Do it today, or...

via I can read


5th July 2012

Jekyll bookmarklet [AutoKey script]

Since I have moved to Jekyll I have been writing a lot many posts. A major reason is the easy with which I can write the posts now.

I created a small AutoKey script:

import datetime import time import sys import re # EDIT & CUSTOMIZE the following two lines location = '/home/pratyush/Websites/pratyushmittal.github.com/' text_editor = 'sublime-text-2 -n' def to_slug(text): new_name = text.lower().replace(' ', '-') new_name = re.sub('-+', '-', new_name) pattern = re.compile('[^a-z0-9-]+') new_name = pattern.sub('', new_name).strip('-') return new_name keyboard.send_keys("<ctrl>+c") text = clipboard.get_selection() text = '\n'.join(['> ' + line for line in text.split('\n')]) keyboard.send_keys("<ctrl>+l") time.sleep(1) keyboard.send_keys("<ctrl>+c") time.sleep(1) link = …

4th July 2012

God Particle explained in simple words

Cant work out y #HiggsBoson is called #GodParticle? Its d 'glue' tht makes other particles 'stick' 2gether in2 what v perceive as matter

— Shekhar Kapur (@shekharkapur) July 4, 2012

With God Particle (Higgs Boson) trending on Twitter, I wished to understand what it means. However most of the articles referring it were too complex for a non-science person. Thus I broke the definitions/explanations word-by-word to understand it better.

God Particle page of WikiPedia takes to Higgs field and thus we begin:

The Higgs field is a
hypothetical (based primarily on surmise rather than …


4th July 2012

Shrink PNG images

Have already been a fan of JpegMini and now comes TinyPNG. Many times it indeed happened that I converted a PNG to JPEG just to then minimize it using jpeg mini.

But what I liked the most about TinyPNG was:

Internet Explorer 6 normally ignores PNG transparency and displays a solid background colour. With TinyPNG the background becomes transparent again. No workarounds!

Link: http://tinypng.org/


3rd July 2012

Dealing with Internet Explorer 6 issues

I have often spent hours trying to fix the interface for Internet Explorer users. Most of the time, it isn't worth it. A wonderful question was asked on StackExchange as to what to do with the Internet Explorer 6 users - to block them or to warn them. The answer that I liked the most was to do neither, as “IE6 users probably don't care about poorly rendered pages anyway since they are used to it.”

At my company, we neither display a warning nor a blocking message. We make the site usable in IE6, and that's enough. …


3rd July 2012

Easy inline charts using jQuery

Stumbled across Peity, a simple jQuery plugin of just 2.4kb in size and it converts inline data into charts.

Peity (sounds like deity) is a simple jQuery plugin that converts an element's content into a simple <canvas> chart.

Plan to use it with screener soon.

Link: http://benpickles.github.com/peity/


« first previous
Page 21 of 64.
next last »