Pages

Wednesday, January 27, 2016

Installing Gradle 2.1 On Ubuntu

Ubuntu Repository has old version of Gradle, i.e. 1.4


gradle --version

------------------------------------------------------------
Gradle 1.4
------------------------------------------------------------

Gradle build time: Monday, September 9, 2013 8:44:25 PM UTC
Groovy: 1.8.6
Ant: Apache Ant(TM) version 1.9.3 compiled on April 8 2014
Ivy: non official version
JVM: 1.7.0_79 (Oracle Corporation 24.79-b02)
OS: Linux 3.13.0-63-generic amd64


Now In order to install latest version of gradle (2.1 in my case) you need to do following steps

$ sudo add-apt-repository ppa:cwchien/gradle

$ sudo apt-get update

$ sudo apt-get install gradle

After This Step, Wait for Apt-get to Install Grade.

Finally gradle is installed :-) Good Luck
gradle -v

------------------------------------------------------------
Gradle 2.10
------------------------------------------------------------

Build time:   2015-12-21 21:15:04 UTC
Build number: none
Revision:     276bdcded730f53aa8c11b479986aafa58e124a6

Groovy:       2.4.4
Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM:          1.7.0_67 (Oracle Corporation 24.65-b04)
OS:           Linux 3.13.0-63-generic amd64


You can comment or email me if you have any query 

Wednesday, January 20, 2016

How to Fetch All Branch from a Repository?

Well Again !! The problem this blog solves is related to git.

The question is, how to fetch all remote branches at git? Well I found a simple answer to it on Stackoverflow

That is 

cd repo
In this Step, we are changing our directory where we want to clone our project (First needs to be created)

git clone --bare http://github.com/path/to/repo.git ./.git
This clones (bare) repository (only .git directory) to your local

git config unset core.bare
This step unset the variable bare and gives you regular/normal repository


and I think thats it, you can now select your branches using git branch {branch name}

Note: At this point you have a complete copy of the remote repo with all of it's branches (verify with git branch). You can use --mirror instead of --bare if your remote repo has remotes of its own.

Thursday, December 17, 2015

[SOLVED] A Common Bug / Feature in Angular JS UI-Select

Recently I got into a bug which is related to Angular-UI-Select 

which is Ng-model is not updating while using ui-select

which is also reported at following links


http://stackoverflow.com/questions/25937098/ng-model-is-not-getting-changed-in-ui-select

http://stackoverflow.com/questions/27142553/angular-ui-select-ui-not-updating-model-on-select


the simple solution I came accross is to use $parent in ng-model stuff

so instead of using
ng-model="myModelVariable"
you should use
ng-model="$parent.myModelVariable"


Sunday, August 2, 2015

How to Install LAMP

Are you fan of PHP? Want to use it MySQL within Linux OS ? 

MEAN Stack is the best thing out there for you.

What does LAMP Means ?

L = Linux

A = Apache (Web Server)

M = MySql

P = PHP

Similarly in Windows WAMP Exists.

Moving Forward,

You need to Install Apache

sudo apt-get update
sudo apt-get install apache2

Step Two - Install MySQL

sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql

It will ask you for MySQL Server Password, Set one for you.

Now activate it with this command

sudo mysql_install_db
Now run the script
sudo /usr/bin/mysql_secure_installation
Enter password for root
Enter current password for root (enter for none):
OK, successfully used password, moving on... 

Step 3 - Install PHP

sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
It may also be useful to add php to the directory index, to serve the relevant php index files:

sudo nano /etc/apache2/mods-enabled/dir.conf

Well Now PHP Is installed, if you want to install its modules use this command

sudo apt-get install {name of the module}

Congratulations !!

To Restart Apache, Use

sudo service apache2 restart

Saturday, August 1, 2015

How to Add Skype Icon in Ubuntu

So now you are in a state where you have installed Skype (Through apt-get / dkpg) method, and now you want to have it in your ubuntu task bar right here

and you are able to use skype.

Simply Install
sudo apt-get install sni-qt:i386
From your terminal


Now Check your Skype settings

Go on your Skype Window.

Skype (From the taskbar)  > Options > General 

Now Select Start Skype minimized in the System tray.



and Don't forget to Restart Skype / Ubuntu.

P.S. We haven't tested it in different OS, If you do so, share it with us :-) 

Tuesday, January 31, 2012

10 Coolest New Gadgets



SoundArt Canvas Speakers



SoundArt takes canvas art and turns it into a speaker. The system includes a distributed mode
loudspeaker that sits in the frame, your choice of canvas print and a powerful sub woofer.
Just hang it on your wall, plug it in your music source and enjoy the space around you. From
music to movies the audio options are endless. Almost any audio source can be played through
it – your Hi-Fi, iPod, DVD, CD or use the output on your AV system.












iShirt




Want a new way to carry your iPod Shuffle? Check out the iShirt, which uses a patent-pending
magnetic clasp system to make your iPod shuffle part of the t-shirt design. No modification is
needed to your iPod shuffle. Simply place it over the clasp area of the shirt and it locks
into place. The shuffle stays firmly attached even with vigorous activity. A quick pull easily
removes it from the shirt.





$9 MP3 Player



For those who want a no-frills MP3 player, the Evergreen "DN 2000" is a great choice. It plays
music directly from SD-memory cards (1GB max.) and is powered by a single AAA battery for up
to 5 hours of continous playback. This player measures 58×60×13 mm and weighs 30g (without
batteries). Best of all, it costs just $9 — so you won't have to worry about it getting lost
or stolen. Source







Inflatable Massage Chair




Here's a first: a bargain-priced inflatable massage chair that can be taken anywhere — great
for the hotel room. This massage chair includes three intensity levels, nine functions, timer
control, repair kit, and remote. The electric pump (included) inflates this chair in just one
minute. Source



Multifunctional Credit Card




Imagine the device that unites everything that you carry along: a mobile phone, a player, your
credit and discount cards, your apartment and your car keys. This multifunctional credit card
of the future measures 54×85,6 mm. It boasts a video phone, built-in program that displays
discounts, remote control for any device, GPS system, and even a gaming device with network
support. It uses biometric fingerprint technology to authorize users before performing any
secure actions like payment, opening of a car door, etc. Source



Solar Generator Briefcase



Sol8 is an ideal option for anyone who works outdoors and needs a low-cost alternative power
source. This handy package of power is great to run laptops, small electric hand tools, DC
refrigerators, GPS systems, portable electronics, and a whole lot more. It's also great to
charge your batteries. It generates 13W — 14VDC/750mA — of power and detachable connectors for
your laptop/electronics/etc. Source




Cell Phone Mini Projector


Code-named GPP2, this cell phone doubles as a portable mini projector for those emergency
presentations. It features a swivel LCD touch screen along with a d-pad that controls the
navigation menu. Answer calls using buttons located near the bottom. Pricing and availability
have not yet been announced, and the quality of the current engineering model is yet to be
improved. Source




Giovannoni Timesphere





The Giovannoni Timesphere is a nifty alarm clock that is capable of projecting the time onto
any surface via a wireless orb. While sitting on the base, the wireless orb is charged through
induction and once it is completely charged feel free to place it wherever. The orb will
project the time onto a wall or surface and easily be lost when kicked or played with by a
cat. Source<




Mini Desk









Made by MiniStatements, the "Mini Desk" looks good enough to drive. The entire desk is
constructed from what looks like a real Mini with its top chopped off, interior gutted, and
left door panel removed. Style doesn't come cheap, it retails at a whopping.
Source


BenQ Wall Scanner









BenQ has unveiled a new type of scanner which can be hung on a wall (2cm - 9cm wide) via a
hook to scan large posters or other images — horizontally/vertically depending on their
thickness. The front cover can be replaced by a mirror for cosmetic "touchups" at the office
or by a whiteboard for use as a notepad.

Source




All the above article is taken from
http://www.oddee.com/item_64501.aspx








Saturday, January 28, 2012

Safety & Security :: 7 Security Tips for Gmail





Screen shot 2009 11 08 at 4.35.42 PM
Here I have note down few tips which will help you to keep your Gmail account secure and safe.



Logging Out

Whenever not using your own computer, make sure you end you authenticated session with Google by signing out once your work is over. However if you forgot to sign out you need not panic. You could open a new session by signing in from another computer and use remote sign out to close any possibly open sessions.

gmail2


gmail1

Strong Password

Ordinarily you should change your password at least once a year. I definitely do. And also make sure your password is not a very easy string but a combination of characters and numbers. You could also make it more secure by using case-sensitive characters or special characters. You can read earlier tutorials on How to create strong and smart password and also check your password strength with brute force calculator.


Beware of Phishing

Always make sure of the website address in the address bar of your browser before you enter your Google account credentials. It could possibly be trying to steal your access info. If you are unsure of the page’s origin refrain from signing in there. Same goes for emails you might receiver asking for your password. Beware of these.


Use of HTTPS\

gmail3

Your computer rapidly sends and receives data from the Google servers when you access your account. If you enable this service from the Settings page, your data is encrypted before transmission. You will also see the HTTPS instead of HTTP when you access Gmail site after enabling this.



Review Attachments

Although Google has inbuilt virus scan features for both incoming and outgoing attachments, still its advised not to open an attachment that you have not been expecting. It could carry malware that might harm your computer. You could mail the person back, if curious, and ask about the attachment first.


Use Authentication Icon

Recently Gmail added a new feature Authentication icon for Ebay and paypal, and we are expecting that they will increase the no. of websites in the list. In this feature any email coming from ebay or paypal site will have a verified icon else no icons means, that email is a phishing email.


Update Recovery Info

Whenever you lose access to your account, by losing the password for instance, this information comes in handy and helps you restore your account access. So make sure this info is always updated. Your security answer should be unique and should not be easily crack down using hit and trial method. You could also include a secondary email address and your mobile number where you will receive the account reset link if the need arises.

Tell us if you found any of these helpful. Or if you have any effective tips of your own do share them with us.


Credit: http://www.shoutmeloud.com/tips-to-keep-gmail-account-secure.html

Safety & Security :: 5 tips to be Safe on Internet

We wrote many articles about anti-virus softwares on Shoutmeloud. The main reason for making you aware about these anti-virus softwares was to make your online surfing secure. But just downloading Anti-virus software on your system is not enough, you need to secure your system by other threats which can easily hack your personal details or confidential documents from your system. If you are connected to internet, there are chances that you might face hacking problem.
onlinesecurity
Credit : Flickr
Here are 5 tips to surf online stuffs carefully and keep your system safe when connected to internet :


Avoid Using Same Password

Many of us have habit to choose same passwords for all our social media, email or bank accounts. The reason for choosing same password is that it becomes easy to remember for all our important accounts. But this habit can create a big problem for you if any one of the sites is compromised then hackers can easily find password of another account, if they are same. Try to use different passwords or you can do a bit variation in all the passwords which will make you easy to remember.



Download from secure websites