Category Archives: Homeschool

Security Flaw In Amazon’s Kindle Touch

The H’s associates at heise Security demonstrate a proof-of-concept exploit for the Kindle Touch which causes the kindle to reboot. There is a security flaw in web browser built into Amazon’s Kindle Touch eBook reader. Whenever any user navigates any specially crafted webpage the kindle executes arbitary shell commands as root that allows attackers to access the eBook reader’s underlying Linux system and potentially steal the access credentials for the Amazon account linked to the Kindle, or purchase books with account of Kindle’s user. Check this report and this video.

Bitcoin Vending Machine – Exchange Euro Coins For Bitcoin (Wallets)

Bitcoin Vending Machine is a mechanical vending machine which exchanges 1€-coins for Bitcoin. This machine works with the service of easywallet.org which provides a Bitcoin wallet with web interface similar to online banking. One can only access the account through a secret link which you get in exchange of 1€-coin. Using this link a customer can send 1€ to another Bitcoin user.

Here is an announcement on bitcointalk

[iframe][/iframe] THU JAN 05 2012 14:53 EST: Stuart W. Card, PhD of Critical Technologies Inc. made the first ever purchase (a bag of popcorn) from a vending machine using a QRcode and a smartphone Bitcoin wallet, in the laboratory of Upstate Networks Incorporated (developers of BTCVend [tm] and DroidVend [tm]).
The payment portion of this historic transaction can be viewed in the Bitcoin blockchain at http://blockexplorer.com/tx/71d1ff84da409e6a6c57cb81d6c27f2c664d66cafcbce1817… a transfer from Bitcoin address 1JN8zzT9nPU5DMBHvN3na8Bjb8cWwUyKjd to Bitcoin address 136qBUojeTBR6Y5XYQjHvtm4WSqAamwk1c in block 160776

How Everybody Reacted On Breaking Bad Season 5, Live Free Or Die

“Live free or die” is the name of Breaking Bad’s fifth season premiere. Series is one of the most serialized in American television history created and produced by Vince Gilligan. It is the story of Walter White (Bryan Cranston) who is a struggling high school chemistry teacher is diagnosed with lung cancer at the beginning of the series. He turns to life of crime, producing and selling methamphetamine with a former student, Jesse Pinkman (Aaron Paul), to secure his family’s financial future before he dies.

Look how people are reacting and what they are guessing for Breaking Bad, Season 5:

Mike was the one who used the balloon to mess up the electrical wires, not Walt. Great start to the season. Starting the season with a scene over a year into the future was great (again). It makes me want to know what happens so much more.

KendoVT

Walt is a bad man, but i cannot stand mike. he criticized walt and called him the “answer man” but mike always seems like he thinks he is above everyone else, and he has all the answers. mike is just such a smug jerk. walt is too, but i like walt. i feel bad for skyler though. she gets so much crap. but mike, man i officially find him more irritating than tyrus.

David Gueirlla

Mike’s great! “I can imagine a lot of outcomes, but none of them end with Miller time.”

Somebody

Jesse doesn’t have a piercing down there…otherwise a lot more than that lap top would have been ripped away from him.

Ejnewcomer

Skyler will start attempting to kill Walt

Ricl

I think as walt has become the antagonist, Jesse role has switched he now is turning into the protagonist, which might end in walts ultimate demise.

Tisha

I think the laptop will be repairable I wont be surprised if later in the series we hear from Hank about it being repaired, I really can not stand Skyler her up and down moods and blank facial expressions are annoying she had her chance to run away but the money attracted her. Knowing the clip we seen from the end of the series it will no doubt be some unrelated reason why he is there maybe picking up a gun for one of his new henchmen just like how we waited all season to see his house burn to realize it was a plane crash.

Frosty

I think the bank account info will possibly lead the DEA to Saul who is now more susceptible to turn in Walt over fear over his own life given Walt’s intimidating gestures in the meeting the had during s5e1.

Frank Asaurus

— Arielle Vandenberg (@shmarielle) July 16, 2012

 

 

Top Twitter Stories on Breaking Bad:

Also: Click Here To Checkout The Best Review of Breaking Bad on Internet.

Cloud Based Scripting Language For Light-weight Application Development In Google Apps Platform

Google Apps Script is cloud based scripting language for light-weight application development in Google Apps platform. It is based on JavaScript, gets executed in the Google Cloud and provides easy ways to automate tasks across Google products including third party services.
Google App Script is based on JavaScript like syntax. It uses Google Web Toolkit (GWT) for creating and displaying elements of user interface. GWT is easy to learn, and completely abstracts the complexity of AJAX/HTML from the developer. It is a Cloud based debugger for debugging App Scripts in the browser. It can be used for creating tools to perform simple system administration tasks etc.

Limitations: Currently it doesn’t allow connection to internal (behind-the-firewall) corporate databases, which is key to building business apps. Lacks other connectivity like LDAP connectivity and limits the level to which GAS can be used in the enterprise.

Website | Tutorials

Linus Torvalds Bought Nexus 7 So Why Not You ?

If you are confused between Nexus 7 & New Samsung Galaxy Note Sporting 5.5 Inch Screen or any other smartphone and unable to take decision then you must know:

  • Linus Torvalds pre-ordered Nexus 7.
  • Linus Torvalds is checking delivery date of Nexus 7 again and again.

Now you would be saying that you don’t take your decisions by watching what others are doing. What do you think? You are wiser than Linus Torvalds? You think Linus Torvalds comes in ‘others’ category.

It is good if you don’t watch others and make your decisions but truly this is what you really do but you don’t know. You see adds, you watch movies and you buy stuff.

Many of you purchased Sony Xperia after watching Spiderman but are you really satisfied with Sony Xperia? If you say yes then you are very lucky because others who purchased it realized that the most important feature (seeing what they purchased Sony Xperia) actually don’t works. Hence it is much-much better to watch Linus Torvalds and buy Nexus 7 instead of watching Spiderman and buying Sony Xperia.

Everybody experiences some hardware-software conflict in such smartphones because developers are different. If you are willing to experience this conflict everyday then don’t buy Nexus 7.

Facebook Announced SPDY Support

Facebook has announced SPDY support. Here is Facebook’s response to the call for expressions of interest in HTTP/2.0. Providing faster and more secure online services to users, the features in need for HTTP/2.0 are:

  •  Multiplexing
  •  Transport layer encryption
  •  Zero-latency upgrade
  •  Per-request flow control
  •  Server push

Check Details Here.

What is SPDY ?

SPDY means speedy. It is an experimental networking protocol developed primarily at Google for transporting web content. Its main objective is to reduce loading time of any web page. It modifies the way HTTP requests and responses are sent over the wire.

SPDY transports the web content using fewer TCP connections by multiplexing large numbers of transactions to one TLS connection. Read Mozilla Hacks: SPDY Brings Responsive and Scalable Transport to Firefox 11

Now 300 Million People From The Middle East & North African Countries Can Acquire Direct Access To BitCoin

About 300 Million people living in the Middle East and North African countries were not having direct access to bitcoin but today Bitcoin Nordic introduces cashU payment option. CashU prepaid cards can be bought at locations all over the Middle East and North Africa.

CashU prepaid card is way to top up a cashU account. CashU is trying to make itself globally available by cooperating with Ukash and some other payment mechanisms.

Lasse Birk Olesen, Head of Operations at Bitcoin Nordic says:

“We are very excited about introducing cashU as a payment option on Bitcoin Nordic. This will expose Bitcoin to a whole new region”

CashU prepaid cards are now available in the Middle East and North African countries with large presence in the countries like: Algeria, Egypt, Iraq, Bahrain, Kuwait, Saudi Arabia, Palestine, Qatar and United Arab Emirates

Purchasing bitcoins with CashU  is MtGox 24h average + 15% at the moment but Bitcoin Nordic is looking forward to lower down this as soon as volume increases.

Bitcoins for CashU is now available at www.bitcoinnordic.com

Firefox 16 Now Supports HTML5 getUserMedia

Firefox 16 now supports HTML5 getUserMedia. It enables access to webcam without any plugins.

There is an entry in about:config, set that to true. In case you need to add a new entry then:

  • open about:config
  • Right click any entry.
  • Select ‘New‘ >> ‘Boolean

Add the following entry and set it true:

media.navigator.enabled

Remember to define callback methods right within the getUserMedia() method as shown below:

navigator.getUserMedia(gumOptions,
function successCallback(stream) {
// Replace source of video element with stream from camera
if(navigator.getUserMedia==navigator.mozGetUserMedia) {
video.src = stream;
} else {
video.src = window.URL.createObjectURL(stream) || stream;
}

video.play();
},
function errorCallback(error) {
console.error(‘An error occurred: [CODE ‘ + error.code + ‘]’);
video.play();
});

It won’t works in-case you defined it elsewhere. No need to use CreateObjectURL to pass the stream the video element. Pass the stream directly. video.src=stream

Paul Rouget of Mozilla, created a video tutorial demonstrating HTML5 getUserMedia:

[iframe][/iframe]

Copy Favicon Of Any Website

You can copy favicon of any website by using this URL:

http://www.google.com/s2/favicons?domain=www.yourdomain.com

Just replace the bold letters with the domain name.

For Example:

If you want to copy Favicon of www.sangkrit.net then write it like this in address bar and press enter:

http://www.google.com/s2/favicons?domain=www.sangkrit.net

You will be directed to a page showing favicon of the above given website.

Save it by Ctrl+S on your keyboard.

Use it wherever you want.

Create Your Own Proxy Website Using WordPress

Governments all over the world are trying to censor Internet. They are seeking ways to limit free speech by blocking content on the web. Here using RePress you will learn to get those websites online again for you and the world without any hassle. Your website will become a proxy for the blocked website, rerouting any traffic from a user, through your website to the blocked site.

Although there are already many proxy websites providing access to blocked content but you may have your own proxy website if you don’t want to submit your details to other website.

For example: When you login to a blocked website from a proxy; your details are submitted there so if you respect your privacy then you may own your own proxy.

Follow these steps:

  1. Visit your WordPress Dashboard.
  2. Move to Plugins >> Add New
  3. Search RePress >> Click Install >> Click Activate.
  4. Now visit Settings >> RePress
  5. Add the Domain names you would like to access.
  6. Your Proxy Server is ready now.

Embed Flickr & Picasa Photostreams In Web Pages As A Flash Slideshow

Use PictoBrowser for embedding your Flickr – Picasa Photos in your website.

What is a PictoBrowser?

PictoBrowser a free web application that displays Flickr and Picasa images on websites and blogs.

How to get a PictoBrowser?

  1. Visit here
  2. If this link doesn’t work then visit http://pictobrowser.com/
  3. Click PictoBuilder at the top left corner of the page.
  4. Enter your Flickr/Picasa username.
  5. Choose images.
  6. Set Tag or Groups.
  7. It outputs some HTML code
  8. Copy that HTML code and paste it in your website or blog.
  9. If you use WordPress then you may paste it inside your posts and pages.

Adding JavaScript Inside Your WordPress Posts

While writing any post change mode from Visual to HTML and paste your javascript there.

Excluding this there are many plugins available which allows you to add javascript in WordPress posts.

You may try this plugin also Custom fields shortcode. Although this plugin hasn’t been updated in over 2 years but it works good without  showing any error in my blog.

Useage:

Use [cf] shortcode in your post content to show the custom field value without editing any of your WordPress theme files.

For Example:  [cf] FieldName[/cf] returns value of ‘FieldName’ custom-filed.

Check similar plugins here.

Another ILL-Defined Copyright Law, This Time From Japan

Japanese would be experiencing a new rubbish  from the coming October. Japanese police is monitoring the file sharing networks so that they can raid the innocent people who are downloading videos instead of watching them online. Yes, in accordance to this law you can stream videos online but you are not free to save those digital copies locally. Other than this you can save comic strips from other websites and cut, copy and paste all text because schooled idiots from Agency for Cultural Affairs has interpreted ‘DOWNLOAD’ as audio-video recording.

Actually downoad is the process of copying data but Japanese Agency for Cultural Affairs thinks that download is just audiovisual recording.

They say that TV shows which are already been broadcast and yet not available in the market may be downloaded.

A Japanese Lawyer writes:

Many people remain unclear about what is exactly banned under the law.

For checking that the content is safe for download this agency asks Internet users to look for a recording industry trademark called the L Mark which cannot be used by just anyone because if you need to use this mark then you have to join Recording Industry Association of Japan and pay money to them. They don’t say a word for Creative Common and GPL. However if you got the audiovisual content legally then you are free to share it with your friends by mailing them because mailing and download are two different words where download looks a bit pirate type.

Listing MySQL Databases

For showing all database:

SHOW DATABASES;

In case you need to filter database by name:

SHOW DATABASES LIKE ‘pattern’;

For complex filtering of database use WHERE Clause:

SHOW DATABASES WHERE conditions;

With WHERE clause one can use regular expressions like ‘<‘ and ‘>’ operators, string functions etc. for filtering records returned by SHOW DATABASES.

PHP Array Functions

PHP Array functions need no installation. These functions are the part of PHP core.

array_change_key_case — It changes all keys in an array
array_chunk — It split an array into chunks
array_combine — It creates an array by using one array for keys and other for its values
array_count_values — It counts all the values of an array
array_diff_assoc — It computes the difference of arrays with additional index check
array_diff_key — It computes the difference of arrays using keys for comparison
array_diff_uassoc — It computes the difference of arrays with additional index check which is performed by a user supplied callback function
array_diff_ukey — It computes the difference of arrays using a callback function on the keys for comparison
array_diff — It computes the difference of arrays
array_fill_keys — It fill an array with values, specifying keys
array_fill — It fill an array with values
array_filter — It filters elements of an array using a callback function
array_flip — It exchanges all keys with their associated values in an array
array_intersect_assoc — It computes the intersection of arrays with additional index check
array_intersect_key — It computes the intersection of arrays using keys for comparison
array_intersect_uassoc — It computes the intersection of arrays with additional index check, compares indexes by a callback function
array_intersect_ukey — It computes the intersection of arrays using a callback function on the keys for comparison
array_intersect — It computes the intersection of arrays
array_key_exists — It checks if the given key or index exists in the array
array_keys — It return all the keys or a subset of the keys of an array
array_map — It applies the callback to the elements of the given arrays
array_merge_recursive — It merge two or more arrays recursively
array_merge — It merge one or more arrays
array_multisort — It sort multiple or multi-dimensional arrays
array_pad — It pad array to the specified length with a value
array_pop — It pop the element off the end of array
array_product — It calculate the product of values in an array
array_push — It push one or more elements onto the end of array
array_rand — It pick one or more random entries out of an array
array_reduce — It iteratively reduce the array to a single value using a callback function
array_replace_recursive — It replaces elements from passed arrays into the first array recursively
array_replace — It replaces elements from passed arrays into the first array
array_reverse — It return an array with elements in reverse order
array_search — It searches the array for a given value and returns the corresponding key if successful
array_shift — It shift an element off the beginning of array
array_slice — It extract a slice of the array
array_splice — It remove a portion of the array and replace it with something else
array_sum — It calculate the sum of values in an array
array_udiff_assoc —It computes the difference of arrays with additional index check, compares data by a callback function
array_udiff_uassoc — It computes the difference of arrays with additional index check, compares data and indexes by a callback function
array_udiff — It computes the difference of arrays by using a callback function for data comparison
array_uintersect_assoc — It computes the intersection of arrays with additional index check, compares data by a callback function
array_uintersect_uassoc — It computes the intersection of arrays with additional index check, compares data and indexes by a callback functions
array_uintersect — It computes the intersection of arrays, compares data by a callback function
array_unique —It removes duplicate values from an array
array_unshift — It prepend one or more elements to the beginning of an array
array_values —It return all the values of an array
array_walk_recursive — It apply a user function recursively to every member of an array
array_walk — It apply a user function to every member of an array
array — It create an array
arsort — It sort an array in reverse order and maintain index association
asort — It sort an array and maintain index association
compact — It create array containing variables and their values
count — It count all elements in an array, or something in an object
current — It return the current element in an array
each — It return the current key and value pair from an array and advance the array cursor
end —It set the internal pointer of an array to its last element
extract — It import variables into the current symbol table from an array
in_array — It checks if a value exists in an array
key — It fetch a key from an array
krsort — It sort an array by key in reverse order
ksort — It sort an array by key
list — It assign variables as if they were an array
natcasesort — It sort an array using a case insensitive “natural order” algorithm
natsort — It sort an array using a “natural order” algorithm
next — It advance the internal array pointer of an array
pos — It is the alias of current
prev — It rewind the internal array pointer
range — It create an array containing a range of elements
reset — It set the internal pointer of an array to its first element
rsort — It sort an array in reverse order
shuffle — It shuffle an array
sizeof — It alias of count
sort — It sort an array
uasort — It sort an array with a user-defined comparison function and maintain index association
uksort — It sort an array by keys using a user-defined comparison function
usort — It sort an array by values using a user-defined comparison function

PHP Arrays

Arrays are sets of data; can be defined in a PHP Script. Arrays can contain other arrays inside them without any restriction, hence building multidimensional arrays. Arrays can be referred to as tables or hashes.

You can create Arrays in two different ways. The first involves using the function array. The second involves using square brackets.

First is The Array Function Method

In the array function method you create a array in the scheme of:

$foo = bar()

For example, to set the array up to make the keys sequential numbers (Example: “0, 1, 2, 3”), use:

$foobar = array($foo, $bar);

This would produce the array as follows:

$foobar[0] = $foo
$foobar[1] = $bar

It is also possible to define the key value:

$foobar = array(‘foo’ => $foo, ‘bar’ => $bar);

This would set the array as follows:

$foobar[‘foo’] = $foo
$foobar[‘bar’] = $bar

And,

Second is The Square Brackets Method

The square brackets method allows you to set up by directly setting the values.

For example:

To make $foobar[1] = $foo, what you should do is:

$foobar[1] = $foo;

The same applies for setting up the key value:

$foobar[‘foo’] = $foo;

Other Array Lessons:

Surf The Web From Keyboard Without Using Mouse

DeadMouse, a Google Chrome extension lets you to follow webpage links directly from keyboard without using mouse.

If you want to check it live then click here

Features:

  • Follow any link by typing
  • Fuzzy-matching on link text
  • Press Enter to follow the link
  • Tab-cycle through multiple matches
  • Shift+Enter to open link in a new tab

Download:

 Note: If you don’t use this extension then also you can visit any web page by typing and pressing enter after you open Google Chrome or its new tab.

Use tab (keyboard key) for moving your selection to various links, enter for opening them and shift + enter for opening them in a new tab.

Google Maps Now Comes In 22 American Museums

Google maps are becoming prevalent to Cultural places. There are 22 museums using Google Maps:

  • The de Young in San Francisco
  • The Philadelphia Museum of Art
  • Cincinnati Museum Center
  • The Indianapolis Museum of Art
  • The American Museum of Natural History
  • Smithsonian museums

And 17 largest museum complex all over the world, consisting of 19 buildings, one national Zoo, galleries and outside Washington it will be visible on Android machines. The number of extensions of maps on the mobile system of Big G touches it the target of 10 000. The art pieces are tens of millions.

Kubuntu Office Suites

LibreOffice is GPL-licensed free and open source office suite , with Writer, Impress, Calc spreadsheet, Base relational database frontend
Install using sudo apt-get install libreoffice-kde

Open Office was installed by default in older versions of (K)Ubuntu. It has been replaced by LibreOffice (which is similar) and is no longer available in (K)Ubuntu.

KOffice suite is part of the KDE project and provides capabilities of OpenOffice suite without the licensing restrictions of OpenOffice. It can be used in any version of (K)Ubuntu. Install using: sudo apt-get install koffice

AbiWord is a fast, collaboration-enabled word processor. For the most current version see the AbiWord web site. For install from repositories: sudo apt-get install abiword

GoldenDict is multi-lingual dictionary and translator that supports Babylon and StarDict translation dictionary files and has multiple modular plugins. Install using: sudo apt-get install goldendict

Xournal is a free (GPL-licensed) GTK/Gnome-based application for notetaking, sketching, or keeping a journal using a stylus. Install using( Remember: universe repositories must be enabled): sudo apt-get install xournal

Introducing Mozilla Persona An Identity System For The Web

Mozilla Introduced Mozilla Persona An Identity System For The Web with three newly updated features:

A Better Way To Sign In:  Improved way of signing in to your websites. Instead of managing multiple usernames and passwords across your favorite sites and devices, you get more time to do the useful stuff.

You Own Your Data: Many sign-ins carry your profile data and some even share that info with other sites and social networks. Persona lets you get started with only your email address and you get the option to add profile data later on where you think it’s appropriate.

Ease for publishers: Enabling Browser ID, the underlying Persona technology, on your site only takes a few lines of code and helps build good relationships by providing users with a trusted sign-in option.

You may also try it yourself, visit here.

Also Check Personas Themes in Firefox here.