How to use swagger in node.js hapi framework
Swagger is the good and effective way to create documentation of your project.
Step 1: Install hapi-swagger:

pixel skylines
Lint Roller? I Barely Know Her
Three Goblin Art
DEAR READER

ellievsbear
d e v o n

Kaledo Art
"I'm Dorothy Gale from Kansas"
Peter Solarz
$LAYYYTER
YOU ARE THE REASON
Game of Thrones Daily

❣ Chile in a Photography ❣
will byers stan first human second
we're not kids anymore.

blake kathryn
Sade Olutola
styofa doing anything
Show & Tell
Jules of Nature
seen from Sri Lanka
seen from United States
seen from France
seen from Netherlands
seen from Bangladesh
seen from United States

seen from Netherlands

seen from Malaysia
seen from Bangladesh
seen from Malaysia

seen from Germany

seen from Australia
seen from United States

seen from United States
seen from United States
seen from United States
seen from United States

seen from United States
seen from United States
seen from United States
@deepak365365
How to use swagger in node.js hapi framework
Swagger is the good and effective way to create documentation of your project.
Step 1: Install hapi-swagger:
[Justunfollow] Yes ! We are growing
March 2013 : Team of 5 people
August 2013 : Team of 8 people
October 2013 : Team of 10 people
August 2014 : Team of 17 People
PS: If you don't know justunfollow (My workplace) visit http://www.justunfollow.com
Today I saw one message on my friends facebook timeline “people wait all week for Friday, all year for summer, all life for happiness…..” . This message reminds me the message i read something ago.
Loved this message…
A boat is docked in a tiny Mexican fishing village.
A tourist...
Quick command for python-django
How to create New project :
1. Install django
2. django-admin.py startproject
How to create new App :
python manage.py startapp
How to run server :
./manage.py runserver
How to syncdb/ create db :
./manage.py syncdb
How to activate admin :
To do this, open the polls/admin.py file, and edit it to look like this: admin.site.register()
My recommended android apps
Must Have Apps :
How can we use Trello. By investing 10 minutes daily we can do this.
What is Trello ?
How cool my work place is :)
2. We do a lot of things to get relaxed. For example "Jung ki raat" ( counter strike)
Not only computer games :P :P
3. Almost every weekend we go for movie. (In my office people are movie addicts).
4. Once a month we go for lunch ( or twice.. last month it was thrice ). Remember, every-time we go to new place. (I guess in navi -mumbai nothing is left :P :P )
5. Freedom to setup your workstation (important because in last office I missed Ubuntu :P :P ). In this pic one can see difference in laptop colors :P :P
6. Believe me we all are bowling champions :P :P
In other words : We are a group of crazy people :P :P Seriously
Follow all crazy people : Deepak , Shardul ,Nischal ,Sameer ,Chetan ,Siddarth, Sneha ,Siddharth , Anirudh ,Urooj ,Moujhuri ,Nishant, Faisal.
PS: BTW I am working in Justunfollow
This time 4 % more MP have criminal cases.
People are saying that AAP is lost because of his focus moved from corruption to Modi. But..
People are saying that AAP is lost because of his focus moved from corruption to Modi.
3 Must-Have Android Apps.
Tips for new user : It is whole new concept in launcher so initially you find it is very annoying. But try it for at-least 7 days. Believe me you are going to love it. 2. Wunderlist (Todo) In this category i tried lots of todo like any.do , google keep, todist , evernote. But for me wunderlist is the todo which complete my necessity .
My use case for Todo lists : 1. Keep my daily todo (Office todo separately ) 2. Keep my recursive (monthly) todo 3. Keeping my notes. 4. It should be available in every platform. So for above all cases wunderlist is best option. 3.Pocket ( read it later) This app help me to save my article to read it later. Before pocket i tried to save link in one sheet or i make it bookmark, that is horrible and i never read that links. Pocket is filling this gap. How pocket is useful to me 1. I can save article using browser plugin or from my mobile for read it later. 2. It works with my twitter too. (Web and yes with twitter mobile app) 3. Yo ! It is available for my laptop and android too. 4. I am using this pocket as a rss reader. Thanks to ifttt.
PS: All apps helps me to increase my productivity
How to create chrome webapp shortcut in ubuntu.
Chrome web app gives the native app feels for website. You can create a shortcut either desktop or application menu and use app like native app in separate window. Step 1 : Right click on app icon . Select "Open as window" .
Step 2 : Click on "Create Shortcuts" . This will create shortcut in your application menu.
Step 3: Wanted to launch app . Click on dash search and type "app name".
Note : You can install chrome apps from chrome app store if it is not available then you can create it own .
How To Create a Chrome Web App from any website
Chrome web app gives the native app feels for website. You can create a web app for any website on the Internet. Step 1 : You need to create a plain text file with the following contents. Rename/edit the contents as per your web app.
{ "name": "App Name", "description": "App description (132 characters or less, no HTML)", "version": "1.0.0", "manifest_version": 2, "icons": { "128": "icon_128.png" }, "app": { "urls": [ "http://www.justunfollow.com/" ], "launch": { "web_url": "http://www.justunfollow.com/" } } }
Step 2 : Saved the file, renaming it to “manifest.json” (make sure the .txt file extension is gone).
Step 3 : In this same folder, download/create an icon for the app (it needs to be a 128×128 PNG file), rename it “icon_128.png”.
Step 4 : Open the ‘Extensions’ page from Chrome’s Settings menu. Tick “Developer Mode”. Click “Load Unpacked Extension” and select the web app folder.
Step 5 : Your app will be available at Chrome app section.
Source : http://www.omgchrome.com/how-to-create-a-chrome-web-app/
Understanding Linux File Permissions :Basic File Permissions
Permission Groups :
Each file and directory has three user based permission groups:
owner - The Owner permissions apply only the owner of the file or directory, they will not impact the actions of other users. group - The Group permissions apply only to the group that has been assigned to the file or directory, they will not effect the actions of other users. all users - The All Users permissions apply to all other users on the system, this is the permission group that you want to watch the most.
Permission Types :
Each file or directory has three basic permission types: read - The Read permission refers to a user's capability to read the contents of the file. write - The Write permissions refer to a user's capability to write or modify a file or directory. execute - The Execute permission affects a user's capability to execute a file or view the contents of a directory
Command to viewing the permissions : "ls -l"
The permission in the command line is displayed as: _rwxrwxrwx 1 owner:group
User rights/Permissions
The first character that I marked with an underscore is the special permission flag that can vary.
First set ( three characters ) : owner permissions.
Second set ( three characters ) : Group permissions.
Third set (three characters ) : All Users permissions.
Following that grouping since the integer/number displays the number of hardlinks to the file.
The last piece is the Owner and Group assignment formatted as Owner:Group.
Modify Permissions Command : chmod
The Permission Groups used are:
u - Owner
g - Group
o or a - All Users
Assignment Operators are + (plus) and - (minus); these are used to tell the system whether to add or remove the specific permissions.
The Permission Types that are used are:
r - Read
w - Write
x - Execute
To make this modification you would invoke the command: chmod a-rw file1 To add the permissions above you would invoke the command: chmod a+rw file1
Using Binary References to Set permissions :
For example : chmod 640 file1, which means
owner : read and write permissions
group : read permissions,
all other user : no rights to the file.
Representation of numbers in permission :
First number represents : Owner permission
Second represents : Group permissions
Last number represents : permissions for all other users.
The numbers are a binary representation of the rwx string.
r = 4
w = 2
x = 1
So to set a file to permissions on file1 to read _rwxr_____, you would enter chmod 740 file1.
Full article : Read More
How to Install Numix 2.0 & Icon theme in Ubuntu 13.10.
Numix is a modern flat theme with a combination of light and dark elements. It supports Gnome, Unity, and more. Screenshot :
Gnome 3.8 "Show Application" in numix theme with icons
Gnome 3.8 Browser , Music player and File Manager in numix theme with flat design
Numix theme in unity
Steps to install in Ubuntu 13.10: 1. Open terminal 2. Add PPA sudo add-apt-repository ppa:numix/ppa 3. sudo apt-get update
2. sudo apt-get install numix-gtk-theme numix-icon-theme numix-wallpaper-saucy
Linux Directory Structure
How To Enable WebGL In Chrome On Ubuntu ?
For WebGL to work in Google Chrome, Here are the steps to enable WebGL in Google Chrome. Step 1: Open Google Chrome
Step 2: Type chrome://flags in the address bar
Step 3: Press Ctrl + f and type ” Rendering list “, “Override software rendering list” should come up,Now click on Enable and restart the browser.
Now check chrome://gpu/
Source : http://askubuntu.com/questions/299345/how-to-enable-webgl-in-chrome-on-ubuntu
How to remove an icon from Unity Dash?
Sometimes after uninstalling software the icon is still there in your unity dash. So a question pops up in my mind , How can it be completely removed from my system ?
Dash picks up its entries from .desktop files placed , so if we remove it from there it will solve the problem.
Steps to remove :
Delete .desktop file corresponding to your program (in this case skype.desktop) from
1. /usr/share/applications and
2. ~/.local/share/applications.