Working with Bootstrap


Bootstrap is a nice CSS framework and it is amazing.

I am facinated by the amount to functionality it has to offer, it is sufficient for some small project, but for what I was doing I needed some pop-out boxes with some cool gradient styles, so I’ve made my own and added them to bootstrap, here they are:

Shadow and Gradient Box

You can add this style to any span boxes and make them stand out, it is a cool effect which you can use to make any standard span column into a 3D pop-out column

Example:

Here is a example of shadow gradient style

To use to this just add the class “shadow-gradient” to your component, or any span element

Mini-well

The conventional well with bootstrap is a like shallow box, so I’ve created a pop out box so that if you want to highlight some information in a pop out manner you can use it.

Example:

Example of a Mini Well

This is a example of a mini-well, to use this style add class “mini-well” to any span component or anything you like.

 

Theses are roughly two main componets I’ve added to bootstrap.

I’ve become a big fan to bootstrap and I always love minimal styles and with bootstrap it is super convenient to create minimal websites.

Download the CSS and feel free to use it.

Soon I’ll be creating a theme for my blog using bootstrap and I’ll also try using other frameworks, and get a feel of them too.

Raspberry Pi: Start to Finish Guide on this mini computer


Raspberry Pi

In case you don’t know, Raspberry Pi is an arm GNU/Linux based mini computer, and in this post I am going to tell the everything.

 

What is Raspberry pi

Raspberry pi is a $25 mini ARM Linux based mini computer which can handle your daily task like web browsing, word processing, and light weight programming in Python.

The Hardware:

Raspberry Pi comes in two Models, Model A and Model B, Model A cost $25 and model B cost $35, the configuration is nearly same the only difference is that Model B has an Ethernet port and two USB where is Model A is only 1 usb port and no Ethernet. We’ll like tables so hear is the hardware configuration in nice tabular form

Model A Model B
Target price: $25 $35
SoC: Broadcom BCM2835 (CPU, GPU, DSP, and SDRAM)
CPU: 700 MHz ARM1176JZF-S core (ARM11 family)
GPU: Broadcom VideoCore IV,OpenGL ES 2.0, 1080p30 h.264/MPEG-4 AVC high-profile decoder
Memory (SDRAM): 256 Megabytes (shared with GPU)
USB 2.0 ports: 1 2 (via integrated USB hub)
Video outputs: Composite RCA (PAL & NTSC), HDMI (rev 1.3 & 1.4), raw LCD Panels via DSI14 HDMI resolutions from 640×350 to 1920×1200 plus various PAL and NTSC standards.
Audio outputs: 3.5 mm jack, HDMI
Onboard storage: SD / MMC / SDIO card slot
Onboard network: None 10/100 Ethernet (RJ45)
Low-level peripherals: 8 × GPIOUARTI²C bus, SPI bus with two chip selects, +3.3 V, +5 V, ground
Power ratings: 500 mA (2.5 W) 700 mA (3.5 W)
Power source: volt via MicroUSB or GPIO header
Size: 85.60 × 53.98 mm (3.370 × 2.125 in)
operating systems: Debian GNU/LinuxFedoraArch LinuxRISC OS 

Operating System

Raspberry Pi is compatable with

For Day to Day use Fedora 14 is recommended as it offers simple and easy to use Graphical user Interface as well as Out of the Box word-processing and spreadsheet programs.
For more details and direct download link visit http://www.raspberrypi.org/downloads
Uses:
I can think of a lot of uses, you can use it as:
  • As a NAS: You can turn this device into a Network attached Storage and connect your external hard drive and share the media on you home network
  • As A Server: You can also use it as a light weight web server to host your files or a simple website just for fun
  • A GIT Server: You connect your external hard drive and use it as a Remote Source code management server by installing open source Git server.
  • Light weight programming: You can do light weight programming in languages such as python.
  • Surveillance: You can use it as surveillance system, connect webcams and record video or create an email alert based on motion detect.
  • As a Download Machine: You can use to download large file using torrent or http which take a lot of time to download. As it is a very low power device it can be run for hours and days without consuming much electrically.
  • Slideshow or Digital frame: Have a old monitor lying around, you can use connect it to this and run a slideshow of your pictures.

How to buy?

You can buy this computer from their online store here or  here

Here are the pricing details in tabular form:

element14 Consumer Pricing for Raspberry Pi Model B effective 12th March 2012

Region Territory

Price (including delivery & excluding. tax)

Sales Tax

Total Price  (inc. Sales tax)

Europe

UK £

£24.55

£4.91 (VAT)

£29.46

EU £ Credit Card TransactionsAustria, Belgium, Bulgaria, Czech Republic, Denmark, Estonia, Finland, France, Germany, Hungary, Ireland, Latvia, Lithuania, Netherlands, Poland, Portugal, Romania, Slovak Republic, Slovenia, Spain, Sweden

£27.25

£5.45 (UK VAT)

£32.70

Other European £ Credit Card TransactionsNorway, Switzerland, TurkeyRussia, Israel

£27.25

£38.65

Plus import VAT and duty that may be payable
Americas Mexico

$50.75

Subject to local state / provincial taxes & regulations – (please contactsalestax@newark.comfor details)

Canada

CA$47.00

USA

$40.00

 

 

APAC

Australia

Au$ 50.95

Au$3.80

Au$54.75

China

RMB 265

RMB 39.95

RMB 304.95

Hong Kong

HK$ 309

0

HK$ 309

India

Rupee 2550

Subject to applicable national and local taxes and input duty

Korea

Won 70050

Malaysia

MYR 145

0

MYR 145

New Zealand

NZ$ 63.21

NZ$ 7.24

NZ$ 70.45

Singapore

SG$ 55.00

SG$ 3.15

SG$ 58.15

Thailand

Baht 1492.50

Baht 103.95

Baht 1596.45

Rest of World

Subject to destination, delivery, tax and duty will be confirmed at point of order

for updated detail and order visit here

Scala or Ruby?

Status


Right now I am a bit confused and unable to decided which programming language should I learn, Scala or Ruby?

I am familiar with C++ and Java, and Scala is like Java but support Functional Programming and all the other fancy stuff, whereas Ruby is somewhat like Python  and I am also familiar with python.

But Python and Ruby are both dynamic and interpreter type languages, they are good for dirty scripts and quick programs but for a large project I will not prefer them.

I think I’ll learn Scala.

 

 

Fuck It


When I was shuffling through my iTunes library I stumbled across a awesome song called “Fuck It”. I had never heard it before and now it is sturk in my head.
I recommend you all to listen to that, it’s awesome.
There are so many songs in my iTunes library which I had never played. Who needs a Fuking music discovery service when you have 5000 unplayed songs laying around.

Thinkup: An awesome app!



Today i am going to tell you about this really cool app called as Thinkup.

If you know how to setup a a mysql and php server or if you have web hosting account which supports php and mysql then you must try this app.

This app gathers all the data form all your social networking accounts like Facebook, twitter and Google+.

It store whatever you do there, and it’s really cool.

You can view all your social networking activity at one place and make a backup of your memories, it also analyize all the stuff you do there into some cool graphs and also displays your conversations on google maps overlay.

And one more thing, if you don’t know how to setup mysql, php and apache on your computer ,then leave a comment I’ll send you an invite to this app hosted on my server, for you to give it a try.

 

P.S: After this I am writing a post on how to setup a Mysql-PHP-Apache on windows and mac machine.

 

Hint: Those on mac just instal MAMP, and those in linux install the LAMP package from the apt.

Install iOS5 right now


iOS 5 won’t be officially released until october 12th, however you can install the final version right now even if you are not a developer.Thanks to some anonymous public posting of the software update files, you can update right now.
First thing is backup your iDevice in case of problem, because there has been a few reported issue, however when I installed it on my brother’s 4G iPod it go installed like breeze.

Here is the download links for th

Note: These links have been updated to list all supported devices and clear up any confusion. Also, you will need a copy of iTunes 10.5 beta 7 or higher. You can download it for Windows 64-bitWindows 32-bit, or Mac OS X. If you’re on Windows you may also want the iCloud Control Panel.

  1. Open up the DMG file (Windows users will need a tool like 7-Zip to do this, and will need to open the .hfs inside the .dmg as well), and find the IPSW file for your device. Drag it to the desktop, or a folder of your choosing.
  2. Open iTunes and connect your iDevice to your computer.
  3. If your device isn’t automatically selected in iTunes, select it and go to the “Summary” tab.
  4. Hold down the option key on a Mac or the shift key on Windows and click the Restore button. Browse to the IPSW file you download it, select it, and wait for the update to finish.
  5. If necessary, restore your device from backup and sync with iTunes.

That’s all you have to do. It shouldn’t take to long and you’ll be up and running with iOS 5 right away.

[via lifehacker]

Aakash / Ubislate World’s cheapest tablet, FAQ and Specs


I’ve been getting a lot of queries regarding the availability, price and specs of the recently announced tablet called Aakash from Indian Government, so I decide to write a quick blog post

Specifications:

Screen: 7 inch TFT resistive touch screen with 800*480 pixels.

Processor: 366 MHz Conneaut

Ram: 256MB

Operating System: Android 2.2 Froyo

Multimedia: 3.5 mm audio Jack

Camera: No camera

Storage: 2GB internal Memory, expandable up to 32GB using memory card slot.

Pre-installed Apps: YouTube, Facebook, Gmail, Twitter Ubislate

Connectivity: WiFi 802.11 a/b/g, GPRS (GPRS is not available in subsidised version) and USB 2.0 port

Battery Life: 180 minutes

Price: Subsidized version will cost Rs. 1730 and non-subsidized version called as 7 will cost Rs. 2,999

Android Market place is not available, you can install apps from website like getjar, it has a 366 MHz process so it is not good enough to run all android applications and it has Android 2.2 which is not a tablet friendly OS but it’s still a good choice keeping in mind the configuration and price of the tablet.

FAQ’s

Q1: I am a student, how can I buy Aakash tablet?

A: According to the government press release, Aakash will be distributed to students through the institutions at which they are studying. So, the best way to find out about the exact availability of Aakash is to contact the student cell or Dean, Students’ Welfare. The device distribution has already started and 500 tablets were given to students at the press conference.

Q2: What is the price of this tablet for students?

A: Government will be subsiding the student version of Aakash tablet and sell it for around INR 1730 ($35) and students will have to pay that. However, the exact price of this tablet is $49.98 (INR 2276), which was paid by the Government to procure these tablets and does not include the subsidy.

Q3: Will there be a commercial version of Aakash that can be purchased by normal consumers?

A: Yes, the manufacturer Datawind has announced that it will start selling the commercial version of Aakash (named as Ubislate 7) in November. The price for commercial will be INR 2,999. This retail version will be available via normal stores, and online stores, but the exact availability details are still not out.

Q4: Is there any different between student version Aakash and Commercial version Ubislate 7?

A: Yes, the commercial version will have GPRS connectivity, which is absent from student version. Ubislate 7 buyers will be able to make calls using their tablets, which will not be an option in Aakash.

Q5: I am a student, where will I get the content for my tablet?

A: After buying the tablet, you will be able to access thousands of items of content available on the Sakshat portal and other educational web-sites. Government has also asked National Mission on Education through Information and Communication Technology (NME-ICT) to develop more content for the tablet.

I would love to hear your response about this tablet in the comment section below.

[FAQ from androidos.in]

How to keep your email private while sharing it online


In the real world, we carry identification cards, drivers licenses, passports, and more to make sure people know who we say we are. No matter where you live, you’ve likely got one official ID that covers almost anything you’d need verified. Even just your name and date of birth is often enough.

For all the talk of needing a universal online ID, though, truth is your email address is really your online ID. Here’s some ways to keep your email safe, and still share your email with others.

The Irony of Online IDs

Sometimes it seems that the whole world of web apps is built on the back of email. Dozens of startups have tired to build something to replace email, but the funny thing is that they always seem to rely on email. Google Wave was still built on your main Google account, which is of course tied to your email.

Facebook presents perhaps the biggest challenge to traditional email, but it too is tied to your email address. You could use your Facebook as an email account, but even after Facebook added @facebook.com address to accounts, few use it as their actual email. Plus, you still have to use your normal email address to sign in.

So, for most intents and purposes, your email is your one true online ID. We use it to exchange our most important messages, login everywhere, reset our passwords on other apps, and more. You have to use your email, but you’d be in trouble if you lost it.

Keeping your email safe

There are a number of ways you can keep your email address safe and your inbox clean while still using it online. One of the easiest ways is to have two email accounts: one for normal correspondence, and another for online purchase, subscriptions, social networks, and more. This way, you’ll have one account you always check, and another that will quickly get filled up with junk but that you don’t care about anyhow.

Do note, though: keeping up with multiple email addresses can be confusing. Plus, if you use your “junk” account on web apps that offer email integration, such as a project management tool or even Facebook, then you won’t be able to easily use them directly from your email.

Another way is to tweak your normal address, so it’s not the exact same as your actual address. Then, if one of your variations starts getting too many unsolicited emails, you can set your filters to automatically send messages to that address to your spam. Plus, no one can try to hack your account from that address, since it’s not a real account and can’t be accessed with any password.

There are a number of ways to do this. One easy way in Gmail is to add a dot to your email address: if your email is yourname@gmail.com, you could write it as your.name@gmail.com, or put the dot anywhere in the address. Alternately, you could add any string followed by a plus sign to your email address, such as spam+yourname@gmail.com. All of these will come to your normal Gmail account, even from the different addresses. You can then filter them to get your inbox more under control.

Another option is to use an email Alias, which is a temporary account that’s tied into your normal email account. Yahoo! and Hotmail offer this, which is great since the dot trick doesn’t work on them. Alternately, if you use your own domain for your email, and administer the domain email settings, then you can set your account to redirect emails sent to anything at your domain to your main account. This way, you could, say, use spam@yourdomain.com to signup for sites, and the emails would automatically be redirected to your primary account. No one could ever reset your password from these extra “accounts”, and if you ever have problems, you can just redirect them to a folder or spam.

Redirect all unknown emails to your main account in Google Apps for your Domain

Sharing your real email

Can’t keep from sharing your real email address? Truth be told, it’d make life easier just to not worry about it and post your real email whenever you need. But that’s not a great strategy unless you’d like to zillions of spam email daily. The basic idea is that if you ever post your real email address in plain text online, it can be easily found by bots or even turned up with a basic Google search.

That said, there’s a number of ways to keep your email address safer and still share it online. One popular trick is to split out your email, so bots looking for exact email addresses won’t find it. You could write it like:

myname at gmail.com

or any other way that works good for you. For example, if you’re tweeting your email address to someone, and your email name is the same as your Twitter account, you could tell them to email your Twitter name at youdomain.com. Or, you could use an older trick: putting your email address in an image. Neither of these are fool-safe, by any means, but they can at least cut down how much spam and unsolicited email you get.

Your email … in an image … with a logo for the domain

Your email: Hidden in Plain Sight

When you need to share you email address on your website or via a social network or forum, one of my favorite solutions is reCAPTCHA Mailhide. This service, now run by Google, gives you a unique domain that will show your email address after visitors solve a reCAPTCHA. It only takes seconds to setup, is 100% free, and lets you share you actual real email address without worrying that it’ll be picked up by bots.

Your email hidden behind a reCAPTCHA

Another option is to use a throw-away email address from a service likeMessage.me, which gives you a temporary address that will forward to your normal email account. When you don’t want to use it anymore, you can just turn it off. Or, you could just make a simple online contact form on your WordPress site or with a free Wufoo account, and give out that link when people want to contact you. Each of these are a bit more trouble, but if you’re tired of getting spam, it might be worth the trouble.

Conclusion

With a few tricks, it’s not too easy to keep using your email as your online ID and primary contact method, and still keep from being overwhelmed by hackers and spammers. None of these tricks are perfect, but they’re some of the many ways that people across the ‘net keep their email addresses a bit safer. Plus, it’s rather cool to have unlimited email addresses in your Gmail account or your own domain’s email!

What do you usually do to keep your email address safe? Do you have a special trick, or do you just hope Gmail’s spam filter will save you from the deluge of junk? We’d love to hear your thoughts and suggestions in the comments below!

[via web.appstorm]