Category Archives: Technology

Setting Up Linux Media Server And Sharing Files Between Multiple Linux Machines

You can connect your multiple machines for sharing multimedia files through a centralized web server. In this tutorial you will learn how to set up Firefly Media Server on Ubuntu Server.

What is Firefly Media Server?

Firefly Media Server (formerly mt-daapd) is an free and open-source media server or daemon for the Roku SoundBridge and iTunes. It serves media files using Roku Server Protocol (RSP) and Digital Audio Access Protocol (DAAP).

Features of Firefly Media Server

  • Support for running on Unix/POSIX platforms
  • Support for running on Microsoft Windows and Mac OS X
  • Support for running on the Apple Inc. iPhone and iPod touch
  • Support for MP3, AAC, Ogg, FLAC, and WMA
  • Support for Roku SoundBridge via RSP
  • Support for on-the-fly transcoding of Ogg, FLAC, ALAC, and WMA
  • On Windows platforms, on-the-fly transcoding of WMA Lossless, WMA Pro and WMA Voice.
  • Web-based configuration
  • Support for user-created smart playlists
  • Integration with iTunes library including reading playlists
  • Supports serving streaming radio stations

Installing Firefly Media Server

Since we are installing on a Ubuntu Server, the installation is simple:

  • Open Linux terminal
  • Run the command sudo apt-get install mt-daap
  • Enter the user password

Configuration

Open configuration file and look for this line:

mp3_dir = /home/media/music

In this line you need to change to reflect the directory from where you will serve your media.

Here I created a new sub-directory in /opt called music.  Perform this action by this command:

sudo mkdir /opt/media

Now make that directory DAAP server readable by using this command:

sudo chmod ug+r -R /opt/media

Other than this there are many more options available in the configuration file like server name, password protection, port, extensions, codec types and many more. Few options are described below:

  • Servername: Name your DAAP server will broadcast. Default is Firefly RELEASE_NUMBER HOSTNAME.
  • Password Protection: Limit access of users to the DAAP server.
  • Port: You may use a port other than the default (3689).
  • Extensions: The file types to be served by DAAP server.
  • Valid Codectypes: Configurations for the format conversion.

Starting Daemon

Complete configuration file, go ahead and move your media files into the directory and start the server using this command:

sudo /etc/init.d/mt-daap start

With this running server you can fire up a DAAP enabled client, just like iTunes or Songbird. DAAP server installation is good for small internal network where you can share multimedia files. It requires a running Linux server.

Migrating Multiple Blogs To WordPress Multisite

  • Export content of your existing WordPress installations from Dashboard=> Tools=> Export
  • Install WordPress
  • Activate Multisite by adding define(‘WP_ALLOW_MULTISITE’, true); in your wp-config.php
  • Open Dashboard of your new WordPress installation.
  • Open Tool=> Network Setup from Dashboard and do as directed.
  • Create blog for each site you like to import.
  • Import each site’s content you exported from old installations from Dashboard=> Tools=> Import
  • Install all themes and plugins of your old site if you like and network activate them.
  • If your old installations have their own domain names then Map domains to your main site using MU Domain Mapping

Embedding RSS Feed In Your WordPress Posts And Pages

Open Your themes function.php and add the following code at the bottom:

include_once(ABSPATH.WPINC.’/rss.php’);

function readRss($atts) {
extract(shortcode_atts(array(
“feed” => ‘http://‘,
“num” => ‘1’,
), $atts));

return wp_rss($feed, $num);
}

add_shortcode(‘rss’, ‘readRss’);

Save function.php and whenever you need to embed RSS in any of your post or page write the following short code inside your post:

[ rss feed=”https://sangkrit.net/feed” num=”5″ ]

In the above give short code replace https://sangkrit.net/feed with your feed address and in num=5 replace 5 with the number of posts you like to show.

Note: Remember there is no space between [ and rss feed and num=”5″  and  so after you copy the short code; check the space, remove it (if there is some space) and then publish it.

Don’t Buy Samsung Galaxy

Galaxy S III owners have already complained that they are unable to hear the person on the other side of the connection due to malfunctioning of  microphone, around 30% of users are having battery problem (Check Here). 

Top 5 Problems In Samsung Galaxy SIII:

  1. Microphone Malfunction – 50%
  2. Battery Life – 15%
  3. Device Gets Hot – 15%
  4. Internet Connection Issues – 10%
  5. Other – 10%

Read “Samsung Galaxy S III top 5 issues revealed” by NDTV

Read “Samsung Galaxy S3, iPhone problems revealed by huge survey

Following are the complain lists made by Samsung Mobile Customers from India. There are two links, first link gives complain record from 2008 to 2010 and the second link from 2010 to 2012:

I have already changed my mind from New Samsung Galaxy Note Sporting 5.5 Inch Screen to Nexus 7 .

Brief History Of The Universe, The Big Bang

1. The Planck time: 10-43 seconds. After this time gravity can be considered to be a classical background in which particles and fields evolve following quantum mechanics. A region about 10-33 cm across is homogeneous and isotropic, The temperature is T=1032K.

2. Inflation begins. In Linde’s chaotic inflation model inflation starts at the Planck time, although it could start when the temperature falls to point at which the symmetry of Grand Unified Theory (GUT) is spontaneously broken. This occurs when the temperature is around 1027 to 1028K at 10-35 seconds after the Big Bang.

3. Inflation ends. The time is 10-33 seconds, the temperature is again 1027 to 1028K as the vacuum energy density that drove inflation is converted into heat. At the end of inflation the expansion rate is so fast that the apparent age of the Universe [1/H] is only 10-35 seconds. Because of inflation, the homogeneous regions from the Planck time are at least 100 cm across, a growth by a factor greater than 1035 since the Planck time. However, quantum fluctuations during inflation also create a pattern of low amplitude inhomogeneities with a random pattern having equal power on all scale

4. Baryogenesis: a small difference between the reaction rates for matter and antimatter leads to a mix with about 100,000,001 protons for every 100,000,000 antiprotons (and 100,000,000 photons).

5. Universe grows and cools until 0.0001 seconds after the Big Bang with temperature about T=1013 K. Antiprotons annihilate with protons leaving only matter, but with a very large number of photons per surviving proton and neutron.

6. Universe grows and cools until 1 second after the Big Bang, with temperature T=1010 K. The weak interaction freezes out with a proton/neutron ratio of about 6. The homogeneous patch is now at least 1019.5 cm across.

7. Universe grows and cools until 100 seconds after the Big Bang. The temperature is 1 billion degrees, 109 K. Electrons and positrons annihilate to make more photons, while protons and neutrons combine to make deuterons. Almost all of the deuterons combine to make helium. The final result is about 3/4 hydrogen, 1/4 helium by mass; deuteron/proton ratio 30 parts per million. There are about 2 billion photons per proton or neutron.

8. One month after the Big Bang the processes that convert the radiation field to a blackbody spectrum become slower than the expansion of the Universe, so the spectrum of the Cosmic Microwave Background (CMB) preserves information back to this time.

9. Matter density equals radiation density 56,000 years after the Big Bang. The temperature is 9000 K. Dark matter inhomogeneities can start to collapse.

10. Protons and electrons combine to form neutral hydrogen. Universe becomes transparent. Temperature is T=3000 K, time is 380,000 years after the Big Bang. Ordinary matter can now fall into the dark matter clumps. The CMB travels freely from this time until now, so the CMB anisotropy gives a picture of the Universe at this time.

11. The first stars form 100-200 million years after the Big Bang, and reionize the Universe.

12. The first supernovae explode and spread carbon, nitrogen, oxygen, silicon, magnesium, iron, and so on up through uranium throughout the Universe.

13. Galaxies form as many clumps of dark matter, stars and gas merge together.

14. Clusters of galaxies form.

15. The Solar System and Sun form 4.6 billion years ago.

16. Now The time is 13.7 Gyr after the Big Bang, and the temperature is T=2.725 K. The homogeneous patch is at least 1029 cm across, which is larger than observable Universe.

Twitter Introduced Search Autocomplete And Search Within People You Follow

Twitter has introduced new search features.

  • Search Autocomplete And
  • Search Within People You Follow

In addition to recent updates to searching feature these two new features would be making twitter search more complete by putting you closer to what you are looking for.

Search Autocomplete displays a dropdown set of like keywords while you enter them in the search box. It is more useful if you are searching any topic with hash-tag.

Following list gives a brief introduction to new features. List was released by Twitter with its new search update:

  • Spelling corrections: If you misspell a term, we’ll automatically show results for your intended query.
  • Related suggestions: If you search for a topic for which people use multiple terms, we will provide relevant suggestions for terms where the majority of that conversation is happening on Twitter.
  • Results with real names and usernames: When you search for a name like ‘Jeremy Lin,’ you’ll see results mentioning that person’s real name and their Twitter account username.
  • Results from people you follow: In addition to seeing ‘All’ or ‘Top’ Tweets for your search, you can also now see Tweets about a given topic from only the people you follow when you select the ‘People you follow’ view. Viewing Tweets about a topic from just the people you follow is a great way to find useful information and join the conversation.

Here are some tweets showing how people reacted on this new feature:

Features of related search suggestions, search autocomplete and spelling corrections are also available in Twitter for iPhone and Android.

Should I Change My Mind For New Samsung Galaxy Note Sporting 5.5 Inch Screen

I am not sure whether I should change my mind about Samsung’s new Galaxy Note sporting a 5.5-inch screen. It is inconvenient for holding in one hand or against your face but size doesn’t matter if the stuff you carry makes you keep other stuff aside. Likewise hanging a laptop on your shoulder, holding a tablet in your hand, and still keeping a mobile in your pocket is a bad idea.

Nexus 7 is not a subject related to the failure of Google Plus. Google Plus was better than Facebook, it was well-integrated, fast, and really open (unlike Facebook) but it failed because it was not having the critical mass that Facebook already gained. The same thing happened with Facebook’s Email service. This time Facebook was lacking critical mass, unlike Gmail. But quoting this we cannot say that Facebook’s Email service was bad or Google doesn’t know how to work with social networking.

Nexus 7 and Samsung’s new Galaxy Note both work on Android 4.1 Jelly Bean. But I suppose Google knows better working with Android than Samsung.  Samsung was only Android’s marketing vehicle before the existence of Nexus 7.

Android is Google’s baby that Google adopted keeping in mind all its services that is why using Android on any machine prompts you to log in with your Google Account so that you can get connected with Google services hence connecting & using your Google account becomes most useful and important activity on any Android machine. I have used other Android machines and a few of them like Sony Ericsson Xperia fail to connect with Google account and you get confused between hardware and software conflicts. So why not use Nexus 7 where everything comes to Google using Google’s machine for Android is a better option as it would be working better than anything else.  So I’ll be waiting till October for Nexus 7 release in India.

Social Crawlytics – Free Social Sharing Analysis Tool

Social Crawlytics is free service used to scan website and provide reports on each page for all  major social networks.

They give you there plans out of which two are free and for the third plan which is for super large websites they ask you two contact them for information. As shown in the given image:

Start by logging-in with your Twitter Account. Click Login With Twitter.

It will ask for your permission to authorize Social Crawlytics to use your account. Authorize the app and you will be redirected automatically to your Social Crawlytics Dashboard.

Now enter the URL you want to analyze, click SUBMIT, follow few more steps and get statistical overview of progress of your articles which have fared across Facebook, Twitter, LinkedIn, Delicious, Google+ and Stumbleupon.

Using Google To Search Within A Specific Website

You may use Google to search certain keywords within a specific website. This can be done by writing Site: followed by website’s address and Keywords which you like to search. For Example:

If you want to search Extinction List in Sangkrit.Net : –

Site:sangkrit.net Extinction List

  • Press Enter

Where Site: is used as a prefix. sangkrit.net is the name of the site. and Extinction List is the keyword you are searching for.

Google Can Convert Currencies

You may use Google for converting currencies. For Example :-

If you want to convert 500 Rupees to US Dollar :-

500 INR in USD

  • Press Enter

This would display the converted amount : –

500 Indian rupees = 9.10100 U.S. dollars

In the same way you can convert USD to YEN, EUR to INR etc.etc.

Largest Possible Market Awaits Nexus 7

I am planning to buy Nexus 7 and wait till its India launch instead of buying Apple i-pad-3 now. I have not mentioned any other device as I expect Steve Jobs integrity effect out of Nexus 7 as well. Although Google can do much better by more collaborative approach to India up to the extent of collaborating with Universal Free Education System.

India could be more than welcoming to Nexus 7 as its largest possible market, if retail price remain below INR 10,000 in tie up with some telecom companies and device facilitates free homeschooling in local language. Moreover an exchange offer for old device of user with Internet time may bring additional wonder. Almost everybody out of this largest growing mobile market may then buy Nexus 7.

First Major Worm To Have A Political Message

WANK stands for stands for “Worms Against Nuclear Killers”

As documented by Julian Assange: Hacktivism is at least as old as October 1989 when DOE, HEPNET and SPAN (NASA) connected VMS machines world wide were penetrated by the anti-nuclear WANK worm. WANK penetrated machines had their login screens altered to:

   W O R M S    A G A I N S T    N U C L E A R    K I L L E R S
 _______________________________________________________________
 __  ____________  _____    ________    ____  ____   __  _____/
        /    / /    / /        |    | |    | | / /    /
       /    / /    / /__       | |  | |    | |/ /    /
      / / / /    / ______      | |  | |    | |    /
     _  /__  /____/ /______ ____| |__ | |____| |_ _/
      ___________________________________________________/
                                                        /
            Your System Has Been Officially WANKed     /
         _____________________________________________/

  You talk of times of peace for all, and then prepare for war.

Whether Julian Did This To Calm Down US ?

Timing of WikiLeaks’ release on Syria shows some smart move as anonymous comments on thenextweb.com saying “Now what will probably happen is the US will want to put a medal on Julian’s neck rather than try to lynch him.” Whatever may be the reason but opening up the governments is always welcome and being smart is equally important in surviving through the battles for freedom.

Wikileaks Releases The Syria Files Having More Than 2.4 Million Confidential Emails

Wikileaks has released information known as Syriafiles. Release was announced today at London’s Frontline club.

Wikileaks says that SyriaFiles have 2.4 million documents with more than 2 million emails from Syrian political entities, ministries and companies. Record dates from August 2006 to March 2012.

One Command LAMP Server Installation

Installing LAMP Server

  • Open your Linux Terminal.
  • Type: sudo apt-get install lamp-server^
  • Press Enter

Checking the Installation

  • Open a web browser
  • Type: http://localhost/
  • If your browser shows the message: “It Works” then you have successfully installed LAMP

Tasksel Method

Other than the above given method you may use the Tasksel method for installing LAMP server. Use following given commands on your Linux Terminal:

sudo apt-get install tasksel
sudo tasksel install lamp-server

PhpMyAdmin

If you need to install PhpMyAdmin for managing your website’s database:

sudo apt-get install phpmyadmin

Trace Anyone By His Email Address

Tracing The Location

  • Open the email send by the person you are trying trace and copy the IP address from header written after Received From.
  • Open Visual Trace Route Website or any other IP tracing website if you know.
  • Scroll down and see the heading Trace The Path To A Network.
  • Paste the IP address on Remote Address text box.
  • You may select from Host Trace and Proxy Trace.

Facebook Search

Person may have a facebook profile which can provide you with useful information like active email address and mobile number.

  • Open Facebook.
  • Type the full email address on the Facebook search Box.
  • This will open the profile of the person using that email address on Facebook.
  • If profile exists but it don’t provide you useful information or the account is left inactive for a long time then just save the image of the person from his Facebook profile.
  • Open this website.
  • Upload the image and search. This may be useful in locating other social profiles with that email address.

Searching People From Pipl.Com

Type the email and search the person. This service may give good results. It will give the names of other social accounts registered on the given email address. Results include pictures, blog posts activity from communities and networks etc.

Ubuntu Linux: CD-Record Has No Permission To Open Device

If you are receiving common Linux error: cdrecord has no permission to open the device:

  • Open Terminal
  • Type: sudo chmod 777 /dev/scd0
  • Replace “/dev/scd0” with your device

Remember: chmod 777  grants full permission to a folder. The 777 mask indicates that read, write, and execute permission given to all users.

Shardul Pandey’s Most Popular Posts Of June, 2012

  1. Opposing governments growing attempts to legislate Internet
  2. Governments must know that what does a war on Internet mean?
  3. The future is hacked
  4. Internet protocol permits only technological progress
  5. World Wide Web is the largest market made by Opensource Architecture
  6. Governments consider reverse intelligence (Information Technology) a department
  7. Everybody better learn from us that how to legislate Internet
  8. Internet has organised individual freedoms
  9. My students’ full names are all same to me as I. P. Anonymous
  10. I teach FREEDOM, not mere technology…
  11. FREEDOM becomes unbeatable upon becoming popular utility on World Wide Web
  12. Internet is not a place for copyrights
  13. Internet can only be innovated beyond all possible legislation
  14. Freedom of Internet is very much like freedom of thought
  15. Internet is the movement and humanity is moved

Opposing governments growing attempts to legislate Internet
Individuals accessing Internet feel freedom. Freedom doesn’t come free of cost. Life too is a negligible expense to keep one’s individual freedom intact. Fighting for freedom of Internet is no less personal. Every individual must fight most fiercely to make all governments recognize that Internet has integrated humanity and humanity is immovable after getting its greatest conquest over suppressing states of all sorts in the form of worldwide web. Hackers must not stop here but establish opensource architecture of universe. Internet Protocols are enough to take care of Internet. Rest will be done by developing real technologies instead of inept legislations. Governments of all countries better stay away focussing on their domain that has been ‘laws of land’ and finish pending task of freeing respective states from violence and deception instead of practicing both.

Governments must know that what does a war on Internet mean?
We are not worried that most of the governments across all countries are gearing to wage a full-fledged war on independence of Internet but I am concerned that unlike them we have no leaders who may proclaim war or ceasefire so what will happen if it starts? It may go on up to any extent till the final victory of every anonymous hacker on planet. I hope that their remaining intelligence will make them understand that what chaos such a war may cause up on them.

The future is hacked
The future is hacked and anonymous reached almost everywhere. Governments are going to protect you from reality since Internet made you vulnerable to truth.

Internet protocol permits only technological progress
Whosoever is unhappy online must take technological route to resolve the situation. Internet protocol permits only technological progress. Internet is hardcore technological subject so we are not going to allow anyone to contaminate science by legislating politically.

World Wide Web is the largest market made by Opensource Architecture
World Wide Web is the largest market made by Opensource Architecture. Governments have also come here. Most of them now have google, facebook and twitter accounts. They send mails from g-mail and access global data from google servers. Still they don’t realize the poverty of governance that what they are capable of due to departmentalizing IT?

You can’t do more than putting your people under embargo on Internet. If you will do that even the history shall put you under embargo forever.

Governments consider reverse intelligence (Information Technology) a department
Governments consider reverse intelligence (Information Technology) a department and expends a lot of money on running it. So that they run outdated websites on misconfigured proprietory code. Such morons may sure make a few laws for coup d’état also

Governments yet don’t know much about opensource architecture so think that they can do legislation to world-wide-web. Poor fellows who failed to see that IT was reverse intelligence changing flow of information forever towards people and thus can never work as a department of government. But they did so and allocated huge budgets to run this show of absurdity almost everywhere. Result is known to whole world that United States America reached up to bankruptcy when Apple had more cash than government had and when prosperity of google and facebook gave almost no relief to US people who went ahead to occupy Wall Street. Now perhaps they want Internet also to serve as government department. Let them learn a few lessons here.

Everybody better learn from us that how to legislate Internet
You have to become us. It is that simple since only we can teach and train you in the art of legislating Internet so better get trained in dominant web-technologies now. But believe me that once you patiently get trained trough all this, you would not only leave web-space free but forget forfeiting freedoms of all sorts legislatively. We are just like that.

Internet has organised individual freedoms
Internet has organised individual freedoms across all age-old political barriers. If now you consider it as updated politics you shall feel better.

My students’ full names are all same to me as I. P. Anonymous
When you get involved within dominant web-technologies, you find that entities are merely IP addresses in contemorary Internet regime that is ruled by us anonymously.

I do not remember my students’ names. My students’ full names are all same to me as I. P. Anonymous. It is similar to any south Indian name. Only surname changes whenever they start livin’ with another computer. To me and you tall of them are always anonymous while inside Internet they remain just IPs and I appreciate for the respect they owe to me for the education they got. It has been all about freedom. I teach nothing beyond that.

I teach FREEDOM, not mere technology…
What I teach is actually FREEDOM and technology is only a tool for that. What you pay back is also FREEDOM as some money makes it work better.

FREEDOM becomes unbeatable upon becoming popular utility on World Wide Web
Websites and their users make winsome combinations on Internet not only in making money but in making independence as well. FREEDOM becomes unbeatable upon becoming popular utility on World Wide Web. So make it so more often than not.

Internet is not a place for copyrights
Internet is neither a place for copyright acts and nor for any legislatively made-up acts as it is a place to copy and distribute all possible utilities freely as per its protocol.

Internet can only be innovated beyond all possible legislation
Internet is a different kind of place altogether. You cannot legislate it but can innovate it endlessly further beyond all possible legislation. I hope you may understand its course by this very nature of it.

Freedom of Internet is very much like freedom of thought
Integrating humanity unprecedentedly internet has emerged as mega-mind of humankind so restricting it legislatively is almost like controlling your thoughts by some sort of thought police.

Internet is the movement and humanity is moved
Human-being wants to remain anonymous just to avert the tyranny of states while at the same time wishing to re-occupy the planet Earth just to prevent precious resources of humanity from getting wasted in the hands of states. It is humanity that has moved subsequently once Internet has become its movement. Now nothing can ever stop it from going on forever.