<?xml version="1.0" encoding="UTF-8" standalone="no"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" version="2.0">

<channel>
	<title>Technophileshub</title>
	<atom:link href="http://www.technophileshub.com/feed/" rel="self" type="application/rss+xml"/>
	<link>https://www.technophileshub.com/</link>
	<description>Everything About Technology</description>
	<lastBuildDate>Thu, 16 Aug 2018 22:37:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
<site xmlns="com-wordpress:feed-additions:1">214978380</site>	<itunes:explicit>no</itunes:explicit><itunes:subtitle>Everything About Technology</itunes:subtitle><item>
		<title>How to undo/cancel a Friend Request on Facebook</title>
		<link>https://www.technophileshub.com/2018/08/16/how-to-undo-cancel-a-friend-request-on-facebook/</link>
					<comments>https://www.technophileshub.com/2018/08/16/how-to-undo-cancel-a-friend-request-on-facebook/#respond</comments>
		
		<dc:creator><![CDATA[pavankumar.p1990]]></dc:creator>
		<pubDate>Thu, 16 Aug 2018 22:37:20 +0000</pubDate>
				<category><![CDATA[How-To's]]></category>
		<guid isPermaLink="false">http://technophileshub.com/?p=1804</guid>

					<description><![CDATA[<p>You might have received friend requests from many people but from few you would have not accepted or rejected because you were not sure and kept them waiting in your friend request list. Ever wondered the same could have happened for your requests to others. In this post we are going to learn how you [&#8230;]</p>
<p>The post <a href="https://www.technophileshub.com/2018/08/16/how-to-undo-cancel-a-friend-request-on-facebook/">How to undo/cancel a Friend Request on Facebook</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></description>
										<content:encoded><![CDATA[<body>
<p class="wp-block-paragraph" style="text-align:left">You might have received friend requests from many people but from few you would have not accepted or rejected because you were not sure and kept them waiting in your friend request list. Ever wondered the same could have happened for your requests to others. In this post we are going to learn how you can find out those people who didn’t accept/reject your friend requests and also learn how to cancel those pending friend requests. Don’t worry, your friend wouldn’t know that you have canceled the request.</p>



<p class="wp-block-paragraph"><strong>How to find Pending Facebook Friend Requests</strong></p>



<p class="wp-block-paragraph">Log onto Facebook on your desktop browser and click on the friend requests icon on top right corner. It would open up a menu to show the list of friend requests that you have received. On the bottom of the screen there would be an option “See All”, which when clicked would show you an option to view the requests that you have sent.</p>



<figure class="wp-block-image"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2018/08/image-1.png?w=720" alt="" class="wp-image-1806" loading="lazy"></figure>



<figure class="wp-block-image"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2018/08/image-2.png?w=720" alt="" class="wp-image-1807" loading="lazy"></figure>



<p class="wp-block-paragraph">You should be looking at something like below. If you still couldn’t follow, please click on this <a href="https://www.facebook.com/friends/requests/?fcref=jwl&amp;outgoing=1">link</a>.</p>



<figure class="wp-block-image"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2018/08/image-3.png?w=720" alt="" class="wp-image-1808" loading="lazy"></figure>



<p class="wp-block-paragraph"><strong></strong></p>



<p class="wp-block-paragraph"><strong></strong></p>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph"><strong>How to cancel/undo a friend request</strong></p>



<p class="wp-block-paragraph">Now, if you have changed your mind and would like to cancel the Friend request that you have sent to any of these, you can hover on the “Friend Request Sent” and it would show an option to cancel the request.</p>



<figure class="wp-block-image"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2018/08/image-4.png?w=720" alt="" class="wp-image-1809" loading="lazy"></figure>



<p class="wp-block-paragraph">Alternatively, if you know the person who you sent the request you can visit their profile page and when you hover on the “Friend Request Sent” option, you should be able to cancel the same request.</p>



<figure class="wp-block-image"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2018/08/image-5.png?w=720" alt="" class="wp-image-1810" loading="lazy"></figure>



<p class="wp-block-paragraph"></p>
</body><p>The post <a href="https://www.technophileshub.com/2018/08/16/how-to-undo-cancel-a-friend-request-on-facebook/">How to undo/cancel a Friend Request on Facebook</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technophileshub.com/2018/08/16/how-to-undo-cancel-a-friend-request-on-facebook/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1804</post-id>	</item>
		<item>
		<title>Automatically sync your custom folders to Google Drive or One Drive</title>
		<link>https://www.technophileshub.com/2018/08/14/automatically-sync-your-custom-folders-to-google-drive-or-one-drive/</link>
					<comments>https://www.technophileshub.com/2018/08/14/automatically-sync-your-custom-folders-to-google-drive-or-one-drive/#respond</comments>
		
		<dc:creator><![CDATA[pavankumar.p1990]]></dc:creator>
		<pubDate>Tue, 14 Aug 2018 12:39:44 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<guid isPermaLink="false">http://technophileshub.com/?p=1792</guid>

					<description><![CDATA[<p>As a common user utilizing the cloud services offered by various vendors such as Google, Dropbox, Microsoft, Box and others. I faced many challenges in terms of managing the content backup across devices and one of them is to back up a folder that is not part of the cloud folder. For example, One Drive [&#8230;]</p>
<p>The post <a href="https://www.technophileshub.com/2018/08/14/automatically-sync-your-custom-folders-to-google-drive-or-one-drive/">Automatically sync your custom folders to Google Drive or One Drive</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><body>As a common user utilizing the cloud services offered by various vendors such as Google, Dropbox, Microsoft, Box and others. I faced many challenges in terms of managing the content backup across devices and one of them is to back up a folder that is not part of the cloud folder. For example, One Drive has an option to automatically sync the folders that are part of your My Documents but not the folder you stored elsewhere and same applies for Google drive where the content back up only happens for those folder in Drive main folder. As time passes, you will realize that you don’t have enough storage space left in the drive where cloud storage happens (or) you have realized that you need to sync the folder that is not part of the cloud storage folder.</p>
<p>Either way, in this post we are going to address this problem through a Windows only technique called Junction, a variant of symbolic link. In case if you are wondering what a Symbolic Link is (a.k.a symlink), it is a shortcut that point to the original data that is stored in filesystem. There are different types of symlinks and Junction is a combination of soft and hard link. Let’s not get into details of these types for the sake of simplicity but just know that Junction is a shortcut that points to original file/directory.</p>
<p>Sync Folders to OneDrive (or) Dropbox (or) Google Drive</p>
<p>All the cloud service providers have their own software program that creates a sync folder on your PC. In most probabilities considering you have not changed the sync folder location they are available under your user folder in C drive. Look at the screenshots for each of these cloud services and their sync folder location.</p>
<p>1) Dropbox – Download and install <a href="https://www.dropbox.com/download?os=win">Dropbox for Windows</a></p>
<p><img data-recalc-dims="1" decoding="async" class="alignnone size-large wp-image-1794" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2018/08/Dropbox-1024x434.png?resize=720%2C305" alt="Dropbox" width="720" height="305" loading="lazy"></p>
<p>2) Google Drive – Download and install <a href="https://www.google.com/drive/download/backup-and-sync/">Backup and Sync</a><img data-recalc-dims="1" decoding="async" class="alignnone size-full wp-image-1795" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2018/08/Googledrive.png?resize=720%2C399" alt="Google Drive" width="720" height="399" loading="lazy"></p>
<p>3) OneDrive – Download and install <a href="https://onedrive.live.com/about/en-us/download/">OneDrive</a> <img data-recalc-dims="1" decoding="async" class="alignnone size-large wp-image-1796" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2018/08/OneDrive-1024x446.png?resize=720%2C314" alt="OneDrive" width="720" height="314" loading="lazy"></p>
<p>Assuming that you know the location of the folder from which your cloud service syncs your files, next step is to sync the custom folder you want to be automatically synced.</p>
<p>As an illustration, let us sync one of our custom folders to Google Drive. Back up and Sync is linked to the folder “C:\Users\pavan\Google Drive”, so I would have to create a Junction in this folder pointing to the new custom folder that I wanted to be automatically synced.</p>
<p>The way we can create a Symbolic Link in windows is using command line command “MKLNK”. We have to use it with “/J” option to create a Junction link. For example</p>
<pre class="lang:batch decode:true  " title="Junction">mklink /J "C:\Users\pavan\Google Drive\Documents" "E:\Pavans\Documents"</pre>
<p>The first parameter for above command is the directory location where the Junction has to be created and the second location is the location where the Junction should point to.</p>
<p>With the above command we will now be able to sync all the files in Document folder of E drive to Google Drive without consuming the storage in C drive. You can try the same for different sync folder and should be able to get the same result.</p>
<p>Note: Please remember that your filesystem will not wipe off the memory allocated to the Junction folder as long as all the Junctions pointing to the directory are removed.</p>
<p>Hope you enjoyed the article and for any queries please comment below.</body></p>
<p>The post <a href="https://www.technophileshub.com/2018/08/14/automatically-sync-your-custom-folders-to-google-drive-or-one-drive/">Automatically sync your custom folders to Google Drive or One Drive</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technophileshub.com/2018/08/14/automatically-sync-your-custom-folders-to-google-drive-or-one-drive/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1792</post-id>	<enclosure length="-1" type="application/json" url="https://www.dropbox.com/download?os=win"/><itunes:explicit>no</itunes:explicit><itunes:subtitle>As a common user utilizing the cloud services offered by various vendors such as Google, Dropbox, Microsoft, Box and others. I faced many challenges in terms of managing the content backup across devices and one of them is to back up a folder that is not part of the cloud folder. For example, One Drive [&amp;#8230;] The post Automatically sync your custom folders to Google Drive or One Drive appeared first on Technophileshub.</itunes:subtitle><itunes:summary>As a common user utilizing the cloud services offered by various vendors such as Google, Dropbox, Microsoft, Box and others. I faced many challenges in terms of managing the content backup across devices and one of them is to back up a folder that is not part of the cloud folder. For example, One Drive [&amp;#8230;] The post Automatically sync your custom folders to Google Drive or One Drive appeared first on Technophileshub.</itunes:summary><itunes:keywords>Tips</itunes:keywords></item>
		<item>
		<title>Creating a simple conversational speech bot using Dialogflow</title>
		<link>https://www.technophileshub.com/2018/08/14/creating-a-simple-conversational-speech-bot-using-dialogflow/</link>
					<comments>https://www.technophileshub.com/2018/08/14/creating-a-simple-conversational-speech-bot-using-dialogflow/#respond</comments>
		
		<dc:creator><![CDATA[pavankumar.p1990]]></dc:creator>
		<pubDate>Tue, 14 Aug 2018 03:27:38 +0000</pubDate>
				<category><![CDATA[How-To's]]></category>
		<guid isPermaLink="false">http://technophileshub.com/?p=1776</guid>

					<description><![CDATA[<p>Hello There, In this post we are going to learn how we can create a simple conversational speech/chat bot that uses artificial intelligence to aid the IT Support Services. This post just serves as a proof of concept but not a complete solution. Knowledge Requirements Developing this bot requires you to have knowledge on Node [&#8230;]</p>
<p>The post <a href="https://www.technophileshub.com/2018/08/14/creating-a-simple-conversational-speech-bot-using-dialogflow/">Creating a simple conversational speech bot using Dialogflow</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><body>Hello There,</p>
<p>In this post we are going to learn how we can create a simple conversational speech/chat bot that uses artificial intelligence to aid the IT Support Services. This post just serves as a proof of concept but not a complete solution.</p>
<p><strong>Knowledge Requirements</strong></p>
<p>Developing this bot requires you to have knowledge on Node and AI platforms.</p>
<p><strong> Approach / Design</strong></p>
<p>We are going to use DialogFlow AI (Formerly API.AI) to develop an intelligent Bot that can convert user concerns into an incident in Service Now, a major ticketing tool by market share (approx 52% as of today). The approach is to develop a NodeJS Server, which will act as back end and receive user inputs and queries AI. AI here acts as NLP by processing user input and gets required information from the conversation. We use the extracted information from AI in Node and consume services of ticketing tool to perform actions.</p>
<p>Action could be anything that you wish to perform and some of them could be</p>
<ol>
<li>Creating a new Incident</li>
<li>Getting the current status of an existing Incident</li>
<li>Updating ticket with current status</li>
</ol>
<p><img data-recalc-dims="1" decoding="async" class="aligncenter wp-image-1777 size-large" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2017/12/Design-1024x839.jpg?resize=720%2C590" alt="Chat Bot Design" width="720" height="590" loading="lazy"></p>
<p> </p>
<p><strong>Build / Deployment</strong></p>
<p>As you can already see from Flow diagram we have to set up AI, NodeJS Application, Sandbox for Service Now and User Interface to complete the process. Let us go through each of them</p>
<p><strong>AI Platform</strong></p>
<p>We have to set up AI Platform first and it requires you to learn a little about how AI works. There are four key terms that you need to know and they are</p>
<ol>
<li>Intent – To understand what user is trying to say from the conversation</li>
<li>Entity – To capture relevant parameters from the conversation</li>
<li>Action – Perform action based on the intent</li>
<li>Contexts – Understanding the situation of the conversation</li>
</ol>
<p>Please go through documentation of any AI Platform to understand these terms better and for the sake of post, we are not going to go through them in detail.</p>
<p>Log into <a href="https://console.dialogflow.com/" target="_blank" rel="noopener">Dialgoflow</a> with your email account and create an Agent.  This Agent responds to our application requests.</p>
<p><img data-recalc-dims="1" decoding="async" class="aligncenter wp-image-1781 size-large" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2017/12/Agent-1024x630.jpg?resize=720%2C443" alt="Dialogflow Agent" width="720" height="443" loading="lazy"></p>
<p>But as of now there is nothing to respond to our application. So, Google provided a simple plugin called Small Talk. By enabling this plugin, we can right away start a basic conversation and Agent can respond to that conversation. Enable this from your side navigation bar and save the Agent.</p>
<p><img data-recalc-dims="1" decoding="async" class="alignnone size-large wp-image-1782" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2017/12/SmallTalk-1024x497.jpg?resize=720%2C349" alt="Enable Small Talk plugin" width="720" height="349" loading="lazy"></p>
<p>For now, we are done with basic conversation set up and I will share complete design of AI Project in download section.</p>
<p><strong>NodeJS Application</strong></p>
<p>We are going to use NodeJS as a hop between user and AI to have better control over the flow and bring in any programmatic changes during the process.</p>
<p>We have choice to use different packages in our Node application based on our requirement and design approach that we want to follow.</p>
<ol>
<li style="list-style-type: none">
<ol>
<li style="list-style-type: none;">
<ol>
<li>Express / Microsoft Bot Framework</li>
</ol>
<p style="padding-left: 30px;">We need a UI Interface and we have multiple choices for this interface. We could have an experimental WebSpeech Interface to convert Speech to text and sent it to AI (or) We could use Skype chat interface. This leaves us to decide between Express and Microsoft Bot Framework and for the example, I am going to use Express.</p>
<p style="padding-left: 30px;">2. Socket.IO</p>
<p style="padding-left: 30px;">Socket.io enables real time bi-directional communication between user and NodeJS server through events and other option would be is to use asynchronous Ajax calls from the web application and provide the response in real-time back to the web application which in my opinion is not so effective.</p>
<p style="padding-left: 30px;">3. NLP/AI</p>
<p style="padding-left: 30px;">Not but not the least, we would need an NLP package to process the information that we have received from the user. Since we are talking about Google’s DialogFlow, the package required is apiai (Dialogflow is formerly api.ai). This package would need developer key and random access token for an instance and all it would take is a textRequest call to access our DialogFlow platform which we created above.</p>
<p>Note: Please ensure that your design is compatible for future enhancements such as Google Actions. In case if you are writing application logic, please do it so as a programmable functions so that it can integrate well with google actions in future.</li>
</ol>
</li>
</ol>
<p>Now that application is ready, all it takes is to write application logic to read the response from AI or alternatively configure webhooks in AI and call the desired functions. For example, if the intent of the user was to create a ticket, call the function that provides the details to create ticket api of incident management tool.</p>
<p>In case if you are still wondering, I have <a href="https://github.com/technophileshub/chatbot_v1/blob/master/index.js">github project</a> for your reference to get you started or please feel free to leave comments below for any queries that you may have.</body></p>
<p>The post <a href="https://www.technophileshub.com/2018/08/14/creating-a-simple-conversational-speech-bot-using-dialogflow/">Creating a simple conversational speech bot using Dialogflow</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technophileshub.com/2018/08/14/creating-a-simple-conversational-speech-bot-using-dialogflow/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1776</post-id>	</item>
		<item>
		<title>How to manage remote wordpress website using Git</title>
		<link>https://www.technophileshub.com/2016/02/21/how-to-manage-remote-wordpress-website-using-git/</link>
					<comments>https://www.technophileshub.com/2016/02/21/how-to-manage-remote-wordpress-website-using-git/#respond</comments>
		
		<dc:creator><![CDATA[pavankumar.p1990]]></dc:creator>
		<pubDate>Sun, 21 Feb 2016 08:59:10 +0000</pubDate>
				<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">http://technophileshub.com/?p=1762</guid>

					<description><![CDATA[<p>Hello, In this post we are going to learn how we can manage a remote wordpress website/blog. To manage any remote website, we have two tasks at hand Manage Files Manage Databases It would be a lengthy post to explain about both files and database in a single post, so we will discuss about managing [&#8230;]</p>
<p>The post <a href="https://www.technophileshub.com/2016/02/21/how-to-manage-remote-wordpress-website-using-git/">How to manage remote wordpress website using Git</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><body>Hello, In this post we are going to learn how we can manage a remote wordpress website/blog. To manage any remote website,  we have two tasks at hand</p>
<ol>
<li>Manage Files</li>
<li>Manage Databases</li>
</ol>
<p>It would be a lengthy post to explain about both files and database in a single post, so we will discuss about managing files in this post and in other post we will discuss about managing databases</p>
<p>As the post name suggests, we are going to use Git to manage files in our remote website. Previously we used to use FTP to transfer files between web server and our local server. There are times when we missed to update a file on web server from local repository because we were not able to track the changes we have made to the files in our project. With Git, we can easily track changes in our local repository and web repository and ensure that we do not have any version discrepancies between repositories.  This post assumes that you have SSH access to your web server, in case if you do not have access you may look for other alternatives such as Git-FTP for managing website but this post needs you to have SSH access.</p>
<p>In our first step, let us create a repository in our local system and this repository is root of our wordpress installation. Since we do not want every file to be managed by git. ( For example, the remote WordPress configuration is different from our local wordpress configuration, hence we do not want to manage “wp-config.php” file ). Let us create a “.gitignore” file and maintain list of files that should not be tracked by Git. I am using following gitignore file but you are free to create your own gitignore file based on your requirement.</p>
<pre class="lang:default decode:true" title=".gitignore"># -----------------------------------------------------------------
# .gitignore for WordPress
# Bare Minimum Git
# http://ironco.de/bare-minimum-git/

# ver 20150227
#
# This file is tailored for a WordPress project 
# using the default directory structure
#
# This file specifies intentionally untracked files to ignore
# http://git-scm.com/docs/gitignore
#
# NOTES:
# The purpose of gitignore files is to ensure that certain files not
# tracked by Git remain untracked.
#
# To ignore uncommitted changes in a file that is already tracked,
# use `git update-index --assume-unchanged`.
#
# To stop tracking a file that is currently tracked,
# use `git rm --cached`
#
# Change Log:
# 20150227 Ignore hello.php plugin. props @damienfa
# 20150227 Change theme ignore to wildcard twenty*. props @Z33
# 20140606 Add .editorconfig as a tracked file
# 20140404 Ignore database, compiled, and packaged files
# 20140404 Header Information Updated
# 20140402 Initially Published
#
# -----------------------------------------------------------------

# ignore everything in the root except the "wp-content" directory.
/*
!wp-content/

# ignore all files starting with .
.*

# track this file .gitignore (i.e. do NOT ignore it)
!.gitignore

# track .editorconfig file (i.e. do NOT ignore it)
!.editorconfig

# track readme.md in the root (i.e. do NOT ignore it)
!readme.md

# ignore all files that start with ~
~*

# ignore OS generated files
ehthumbs.db
Thumbs.db

# ignore Editor files
*.sublime-project
*.sublime-workspace
*.komodoproject

# ignore log files and databases
*.log
*.sql
*.sqlite

# ignore compiled files
*.com
*.class
*.dll
*.exe
*.o
*.so

# ignore packaged files
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# ignore everything in the "wp-content" directory, except:
# "mu-plugins" directory
# "plugins" directory
# "themes" directory
wp-content/*
!wp-content/mu-plugins/
!wp-content/plugins/
!wp-content/themes/
!wp-content/uploads/

# ignore these plugins
wp-content/plugins/hello.php

# ignore specific themes
wp-content/themes/twenty*/

# ignore node/grunt dependency directories
node_modules/</pre>
<p> </p>
<p>With “.gitignore” in place, let us now create a local git repository.</p>
<pre class="lang:sh decode:true" title="Local Repository">$ cd &lt;local_repo_dir&gt;
$ git init
$ git add -A
$ git commit -m "Initial Version"</pre>
<p>( &lt;local_repo_dir&gt;  will be your wordpress installation directory )</p>
<p>We now have a local repository, let us create a remote repository as well, which will accept the changes from our local repository. Login to your ssh account.</p>
<pre class="lang:sh decode:true">ssh -p 2222 username@ipaddres</pre>
<p>Once you logged in, verify if your server has git installed on it, this can be done by executing the command “git”. If command gives you an error, then your server do not have git installed. If you have authorizations, you can install git else you can raise a support ticket with webmaster.</p>
<p>Create a folder for remote repository,  preferably above public web folder so that remote repository cannot be accessed from web. Since the remote repository on our server should accept push’s and pull’s from local repositories we need to make it a bare repository.</p>
<pre class="lang:sh decode:true">$ mkdir website.git &amp;&amp; cd website.git
$ git init --bare</pre>
<p>Now our remote repository is ready to receive the files from our local repository.  At this point of time when you push the changes from your local repository to your server, changes would be in remote repository but they will not be reflected on your website because we did not move the files from our remote repository to the document root. If you want to move the files from this repository to document root as soon as you push from your local repository you can utilize the post-receive hook. Following post-receive script is a simple example for moving the changes to actual web repository</p>
<pre class="lang:default decode:true">$ cat &gt; hooks/post-receive
#!/bin/sh
GIT_WORK_TREE=&lt;document_root&gt; git checkout -f
$ chmod +x hooks/post-receive</pre>
<p> </p>
<p><strong>Note:</strong></p>
<ul>
<li>A bare git repository keeps files in compressed format so that it can transfer files between local repositories. By providing details of document root to GIT_WORK_TREE and checkout, we are telling git to keep files in working directory.</li>
<li>We are using force checkout which will ignore remote repository HEAD detached state.</li>
<li>Allowing the post-receive hook to have execution privilege is an important step for git to be able to move files to document root.</li>
</ul>
<p>Let us now go back to our local repository and configure remote repository details so that we can push changes from local to remote repository. Following are the commands that you should execute</p>
<pre class="lang:default decode:true ">$ git remote add production ssh://yourdomain.com:&lt;port&gt;/&lt;website.git&gt;
$ git push production master</pre>
<p>As soon as you execute these commands you must see that document root contains the files from our local repository. At this point of time we have only deployed our website from our local repository to remote repository and moving files from remote repository to document root. We are not tracking any changes to our document root folder and any changes to document root will not be present in our local repository. If you want to track the changes that you have made to the document root, it has to be a git repository as well.</p>
<p>Before we make our document root a git repository, let us add gitignore file from our local repository. Execute following command from your local repo.</p>
<pre class="lang:default decode:true">scp -P2222 .gitignore username@domain.com:&lt;document_root&gt;</pre>
<p>Now let us make our document root a git repository.</p>
<pre class="lang:default decode:true" title="Cloning Repository">git clone ~/&lt;yourwebsite.git&gt; temp
mv temp/.git &lt;document_root&gt;/.git
rm -rf temp</pre>
<p>Now we are ready to track changes to our document root using git. It would be a good idea to compare the differences between document root and remote repository before we push any changes from local repository.  Alternatively, we can provide temporary path instead of document root and move files between temporary folder and document root but it would be little tedious task.</p>
<p>Making document root a git repository will allow us to push and pull from our remote repo.</p>
<pre class="lang:default decode:true" title="Document root to Remote Repo">git push production master</pre>
<p> </p>
<p>We can also use our remote repo to push or pull changes from our local repository.</p>
<pre class="lang:default decode:true" title="Remote Repo to Local Repo">git pull production master</pre>
<p> </p>
<p>One more thing that I would like to do before I wrap up this post is to edit your “.htaccess” file. Please add following line to your .htaccess file at top level root directory.</p>
<pre class="lang:default decode:true " title=".htaccess">RedirectMatch 404 /\.git</pre>
<p> </p>
<p>In our next post, we will discuss how we can manage our database. Please feel free to provide feedback/comments/suggestions if you have any better way to manage.</body></p>
<p>The post <a href="https://www.technophileshub.com/2016/02/21/how-to-manage-remote-wordpress-website-using-git/">How to manage remote wordpress website using Git</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technophileshub.com/2016/02/21/how-to-manage-remote-wordpress-website-using-git/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1762</post-id>	</item>
		<item>
		<title>How to Add Google Map Driving Directions in your Website ?</title>
		<link>https://www.technophileshub.com/2015/05/09/google-map-driving-directions-in-website/</link>
					<comments>https://www.technophileshub.com/2015/05/09/google-map-driving-directions-in-website/#comments</comments>
		
		<dc:creator><![CDATA[pavankumar.p1990]]></dc:creator>
		<pubDate>Sat, 09 May 2015 07:58:18 +0000</pubDate>
				<category><![CDATA[How-To's]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Maps]]></category>
		<guid isPermaLink="false">http://technophileshub.com/?p=1709</guid>

					<description><![CDATA[<p>You might have come across a situation where you needed to insert business address in your company’s about page and felt that embedding a Google Maps driving directions would make it look better but you don’t know how you can do this. Always, there is a naive way of taking a screenshot and inserting in [&#8230;]</p>
<p>The post <a href="https://www.technophileshub.com/2015/05/09/google-map-driving-directions-in-website/">How to Add Google Map Driving Directions in your Website ?</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><body>You might have come across a situation where you needed to insert business address in your company’s about page and felt that embedding a Google Maps driving directions would make it look better but you don’t know how you can do this. Always, there is a naive way of taking a screenshot and inserting in the web page but because you are reading this post on a tech blog, I assume that you are looking for a real solution.</p>
<p>There are many different ways to embed Google driving directions, Following are some options</p>
<ol>
<li>Fixed Destination</li>
<li>Fixed Destination address and User provided source address</li>
<li>Fixed Destination address and Dynamic Source Address Determination</li>
<li>User provided Destination Address and User provided Source Address</li>
<li>User provided Destination Address and Dynamic Source Address Determination</li>
</ol>
<p>I cannot think of any other ways but there could be some other way that you might have in your mind. All these ways can be implemented in many different ways as pointed out earlier. Let us take a look at the options that we have</p>
<h1>1) Embed Code from Google Maps</h1>
<p>Google directly provides you with the embed code once you have loaded the map in Google Maps. But the disadvantage with this method is that you do not have neither the dynamic source or dynamic destination. If you do not need these dynamic determination of addresses, this is the way for you. All you have to do is load up the map in http://www.google.com/maps and provide the source and destination. This will load the map that you want and once it is loaded click on that little gear icon below to open up the settings menu. Here you find the “Share or embed map” option. In case if that button below is not available, you will find expand icon just above the source address which when clicked opens up the side panel where you have the same embed option.</p>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2015/05/Map-Embed.jpg"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1711" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2015/05/Map-Embed.jpg?resize=720%2C610" alt="Google Map Embed" width="720" height="610" loading="lazy"></a></p>
<p>Map below is embedded using this technique.</p>
<p><iframe width="600" height="450" style="border: 0;" src="https://www.google.com/maps/embed?pb=!1m29!1m12!1m3!1d60901.13413962578!2d78.32007181320999!3d17.44434918526504!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!4m14!1i0!3e6!4m5!1s0x3bcb91efe7a295b7%3A0xd84b29ae559eb424!2zSE1UIEhpbGxzLCBQcmFnYXRoaSBOYWdhciBSZCwgSE1UIEhpbGxzLCBLdWthdHBhbGx5LCBIeWRlcmFiYWQsIOCwhuCwguCwp-CxjeCwsCDgsKrgsY3gsLDgsKbgsYfgsLbgsY0gNTAwMDkwLCBJbmRpYQ!3m2!1d17.50314!2d78.395299!4m5!1s0x3bcb9422532fb3f7%3A0xc793fad03d2e2af1!2sManikonda%2C+Hyderabad%2C+Telangana!3m2!1d17.4023796!2d78.3728538!5e0!3m2!1sen!2sin!4v1431114104160" frameborder="0"></iframe></p>
<p> </p>
<h1>2) Google Map API</h1>
<p>Google has the Embed API just for this, you can read more about this API @ <a href="https://developers.google.com/maps/documentation/embed/" target="_blank" rel="noopener">https://developers.google.com/maps/documentation/embed/</a> . Although this is a simple API to use, you need to register your application to get the API key. Following is the syntax that you have to use to embed a map.</p>
<pre class="lang:default decode:true" title="Google Maps API">&lt;iframe width="600" height="450" frameborder="0" style="border:0"
src="https://www.google.com/maps/embed/v1/directions?origin=...&amp;destination=...&amp;key="&gt;&lt;/iframe&gt;</pre>
<p>By looking at the pattern above we can notice that it is form data with origin, destination and key parameters. Hence we can develop our own form and submit the result to an iFrame to get the directions. I have written a sample HTML page to do this you can clone it from <a href="https://github.com/technophileshub/google-map-directions" target="_blank" rel="noopener">Google Map Directions</a> GitHub.</p>
<pre class="lang:default decode:true" title="Google Map Directions">&lt;!doctype html&gt;
&lt;html lang="en"&gt;
   &lt;head&gt;
        &lt;title&gt;jQuery mobile with Google maps&lt;/title&gt;
        &lt;script src="https://maps.googleapis.com/maps/api/js?v=3.exp&amp;signed_in=true&amp;libraries=places"&gt;&lt;/script&gt;
        &lt;script type="text/javascript"&gt;
        function setiFrameSource(){
            var iFrame = document.getElementById("iFrame");
            var Url = "https://www.google.com/maps/embed/v1/directions?";
            var origin = "origin=".concat(document.getElementById("origin").value).concat("&amp;");
            var destination = "destination=".concat(document.getElementById("destination").value).concat("&amp;");
            var key = "key=".concat(document.getElementById("key").value);
            Url = Url.concat( origin, destination, key );
            iFrame.src= Url;
        }
        function initialize() {
          // Create the autocomplete object, restricting the search
          // to geographical location types.
          origin = new google.maps.places.Autocomplete(
              /** @type {HTMLInputElement} */(document.getElementById('origin')),
              { types: ['geocode'] });
          destination = new google.maps.places.Autocomplete(
              /** @type {HTMLInputElement} */(document.getElementById('destination')),
              { types: ['geocode'] });
          // When the user selects an address from the dropdown,
          // populate the address fields in the form.
          google.maps.event.addListener(origin, 'place_changed', function() {
            fillInAddress();
          });
          google.maps.event.addListener(destination, 'place_changed', function() {
            fillInAddress();
          });
        }
        // [START region_geolocation]
        // Bias the autocomplete object to the user's geographical location,
        // as supplied by the browser's 'navigator.geolocation' object.
        function geolocate() {
          if (navigator.geolocation) {
            navigator.geolocation.getCurrentPosition(function(position) {
              var geolocation = new google.maps.LatLng(
                  position.coords.latitude, position.coords.longitude);
              var circle = new google.maps.Circle({
                center: geolocation,
                radius: position.coords.accuracy
              });
              autocomplete.setBounds(circle.getBounds());
            });
          }
        }
&lt;/script&gt;
    &lt;/head&gt;
    &lt;body onload="initialize()"&gt;
        &lt;form method="get" target="iFrame"&gt;
        &lt;input id="origin" style="width:82%;" placeholder="Put Origin here" name="origin" type="text" onFocus="geolocate()"/&gt;
        &lt;input id="destination" style="width:82%;" placeholder="Put Origin here" name="destination" type="text" onFocus="geolocate()"/&gt;
        &lt;input id="key" type="hidden" name="key" value="AIzaSyD4iE2xVSpkLLOXoyqT-RuPwURN3ddScAI"&gt;
        &lt;input style="width:8%;" type="button" value="Go" onclick="setiFrameSource();"/&gt;
        &lt;/form&gt;
        &lt;iframe id="iFrame" name="iFrame" src="https://www.google.com/maps/embed/v1/directions?origin=Hyderabad&amp;destination=JNTU Busstop&amp;key=AIzaSyD4iE2xVSpkLLOXoyqT-RuPwURN3ddScAI" style="height:500px;width:500px" &gt;&lt;/iframe&gt;


    &lt;/body&gt;
&lt;/html&gt;</pre>
<p>This is just an example of what  you can do with Google Maps API, you can refer to the documentation to know more about it. While writing this post I have come across a <a href="http://stackoverflow.com/questions/13345479/clean-example-of-directions-with-google-maps-in-jquery-mobile" target="_blank" rel="noopener">stack overflow</a> discussion page which was useful, you might want to see.</p>
<h1>3) GMAPS jQuery Javascript</h1>
<p>Generally the above methods should be able to do what you wanted to achieve but in case if you are a web-designer and looking through jQuery based maps, GMaps is one such library for embedding maps in a webpage. You can go through the library at <a href="https://github.com/marioestrada/jQuery-gMap" target="_blank" rel="noopener">Github</a> for more information. It is very easy to setup and you can read through the documentation to know more about it. Following code is a function call to gMap with different parameters.</p>
<pre class="lang:js decode:true">$('#map_controls').gMap(
{
     latitude: -2.206,
     longitude: -79.897,
     maptype: 'ROADMAP',
     zoom: 8,
     controls: {
         panControl: true,
         zoomControl: false,
         mapTypeControl: true,
         scaleControl: false,
         streetViewControl: false,
         overviewMapControl: false
     }
});</pre>
<h1> 4) Old Google Maps</h1>
<p>In our previous example of Google Maps, we have seen that the new parameters are origin and destination but previous maps used to have these parameters as “saddr” meaning source address and “daddr” meaning destination address. Following example of HTML code may be helpful for you to get the directions. Note that this has been implemented in a HTML page and you might want to use it an iFrame to embed in a particular page.</p>
<pre class="lang:default decode:true " title="Google Old Maps">&lt;!doctype html&gt;
&lt;html lang="en"&gt;
   &lt;head&gt;
        &lt;title&gt;Google Map Directions&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form action="http://maps.google.com/maps" method="get"&gt;
Enter your starting address:
&lt;input type="text" name="saddr" /&gt;
&lt;input type="text" name="daddr"/&gt;
&lt;input type="submit" value="Go" /&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p> </p>
<p>As you can see there are many possibilities for a simple requirement of embedding a map into a web page. I hope that above examples are useful for you to provide a starting point for your work. Thanks for reading, good day.</body></p>
<p>The post <a href="https://www.technophileshub.com/2015/05/09/google-map-driving-directions-in-website/">How to Add Google Map Driving Directions in your Website ?</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technophileshub.com/2015/05/09/google-map-driving-directions-in-website/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1709</post-id>	</item>
		<item>
		<title>Create a bootable WinPE ISO/USB using AOMEI PE Builder</title>
		<link>https://www.technophileshub.com/2015/02/14/create-a-bootable-winpe-isousb-using-aomei-pe-builder/</link>
					<comments>https://www.technophileshub.com/2015/02/14/create-a-bootable-winpe-isousb-using-aomei-pe-builder/#respond</comments>
		
		<dc:creator><![CDATA[pavankumar.p1990]]></dc:creator>
		<pubDate>Sat, 14 Feb 2015 08:12:19 +0000</pubDate>
				<category><![CDATA[Application Softwares]]></category>
		<category><![CDATA[AOMEI]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[WinPE]]></category>
		<guid isPermaLink="false">http://technophileshub.com/?p=1682</guid>

					<description><![CDATA[<p>In my previous post, I have written about Creating a WinPE image using Windows Assessment and Deployment Kit. In this post I am going to use one of the existing softwares called AOMEI PE builder for creating a bootable WinPE image. Since we have learned the process of creating a WinPE image using the microsoft [&#8230;]</p>
<p>The post <a href="https://www.technophileshub.com/2015/02/14/create-a-bootable-winpe-isousb-using-aomei-pe-builder/">Create a bootable WinPE ISO/USB using AOMEI PE Builder</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><body>In my <a title="Create WinPE ISO Bootable Image" href="http://technophileshub.com/1668/create-a-winpe-bootable-iso-image-usb-drive/http://" target="_blank" rel="noopener">previous post</a>, I have written about Creating a WinPE image using Windows Assessment and Deployment Kit. In this post I am going to use one of the existing softwares called AOMEI PE builder for creating a bootable WinPE image. Since we have learned the process of creating a WinPE image using the microsoft provided ADK way, you will appreciate AOMEI PE Builder for creating a WinPE image in simple two clicks.</p>
<p>Install the AOMEI PE Builder by downloading the software from below link.</p>
<pre class="lang:default decode:true" title="Download link for AOMEI PE Builder">http://www.aomeitech.com/pe-builder.html</pre>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2015/02/AOMEI.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1683" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2015/02/AOMEI.png?resize=720%2C505" alt="AOMEI PE Builder" width="720" height="505" loading="lazy"></a></p>
<p>The complicated process of setting up ADK, installing additional packages and creating a bootable WinPE image is made easy by simple to use graphical user interface of AOMEI PE Builder. All you need to do is select the packages or browse the files that you want to add and click next to provide you with choices of locations to write WinPE image.</p>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2015/02/AOMEI-PE-Builder-Location.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1684" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2015/02/AOMEI-PE-Builder-Location.png?resize=720%2C502" alt="AOMEI PE Builder Location" width="720" height="502" loading="lazy"></a></p>
<p>Once you select your choice and click next, you can relax and AOMEI PE Builder will take care of the rest for you and provide a bootable ISO image for you to start working.</p>
<p> </body></p>
<p>The post <a href="https://www.technophileshub.com/2015/02/14/create-a-bootable-winpe-isousb-using-aomei-pe-builder/">Create a bootable WinPE ISO/USB using AOMEI PE Builder</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technophileshub.com/2015/02/14/create-a-bootable-winpe-isousb-using-aomei-pe-builder/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1682</post-id>	</item>
		<item>
		<title>Create a WinPE Bootable ISO image / USB drive</title>
		<link>https://www.technophileshub.com/2015/02/14/create-a-winpe-bootable-iso-image-usb-drive/</link>
					<comments>https://www.technophileshub.com/2015/02/14/create-a-winpe-bootable-iso-image-usb-drive/#respond</comments>
		
		<dc:creator><![CDATA[pavankumar.p1990]]></dc:creator>
		<pubDate>Sat, 14 Feb 2015 00:58:03 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows8]]></category>
		<category><![CDATA[WinPE]]></category>
		<guid isPermaLink="false">http://technophileshub.com/?p=1668</guid>

					<description><![CDATA[<p>We need a WinPE image as a per-requisite for us to capture the operating system. WinPE is a pre installation environment which allows us to do many things. If you haven’t installed WinPE on your system you can download and install WinPE by downloading “Windows Assessment and Deployment tool kit” (ADK). This software is essential [&#8230;]</p>
<p>The post <a href="https://www.technophileshub.com/2015/02/14/create-a-winpe-bootable-iso-image-usb-drive/">Create a WinPE Bootable ISO image / USB drive</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><body>We need a WinPE image as a per-requisite for us to capture the operating system. WinPE is a pre installation environment which allows us to do many things.</p>
<p>If you haven’t installed WinPE on your system you can download and install WinPE by downloading “Windows Assessment and Deployment tool kit” (ADK). This software is essential for us to create a WinPE bootable ISO image. Alternatively you can download the WinPE ISO image from sources on internet.</p>
<p>Let’s see how we can create a bootable WinPE ISO image.</p>
<p>After installing ADK on your machine, run the ADK tool as administrator and run the command</p>
<pre class="lang:batch decode:true" title="WinPE Copy">copype amd64 c:WinPE</pre>
<p>The above command creates a directory containing a standard set of Windows Pre installation Environment (Windows PE) files. We use these files to customize images and create bootable media.</p>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2015/02/CopyPE.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-big wp-image-1671" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2015/02/CopyPE-768x334.png?resize=720%2C313" alt="CopyPE" width="720" height="313" loading="lazy"></a></p>
<p>We can verify the directory the above command created at “C:WinPE”. This command creates a “WinPE” directory with 3 sub directories with names “mount”, “media” and “fwfiles”. “media” folder contains all the necessary files for creating WinPE ISO image.</p>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2015/02/WinPE-Folder-Structure.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1673" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2015/02/WinPE-Folder-Structure.png?resize=696%2C311" alt="WinPE Folder Structure" width="696" height="311" loading="lazy"></a></p>
<p>Since the goal of this exercise is to capture an operating system. We need not add any additional packages or features that WinPE allows us to do.</p>
<p>So let’s create a simple WinPE image. This can be done using the command</p>
<pre class="lang:batch decode:true" title="Make WinPE Media">makewinpemedia /iso "C:WinPE" "C:WinPEWinPE64.iso"</pre>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2015/02/makewinpemedia.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-big wp-image-1672" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2015/02/makewinpemedia-768x337.png?resize=720%2C316" alt="makewinpemedia" width="720" height="316" loading="lazy"></a></p>
<p>Now you can use the ISO image at “C:WinPEWinPE64.iso” to burn onto a CD/DVD or alternatively can copy the files of this ISO image into a bootable USB partition.</p>
<h2>Creating a Bootable USB drive</h2>
<p>Now let us create a bootable USB drive for the WinPE ISO image that we have just created. Open up the command prompt by typing “cmd” in runbox.</p>
<p>Plug in the USB device and open up the diskpart by typing the following command</p>
<pre class="lang:batch decode:true" title="Diskpart">diskpart</pre>
<p>It opens up the Microsoft diskpart utility using which we can manage the volumes attached to our machine.</p>
<p>List all the volumes connected to the device using the following command</p>
<pre class="lang:batch decode:true " title="List Volume">list volume</pre>
<p>Now select the volume of the USB in which you want to create a bootable ISO image using the command</p>
<pre class="lang:batch decode:true " title="Select Volume">select volume 5</pre>
<p>*Please be noted that the volume number will differ in your system.</p>
<p>As we have selected the volume, let us clean the volume for removing any previous MBR or GPT partition data using the command</p>
<pre class="lang:batch decode:true " title="Cleaning MBR and GPT">clean</pre>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2015/02/list-volume.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1675" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2015/02/list-volume.png?resize=720%2C372" alt="Create Bootable USB" width="720" height="372" loading="lazy"></a></p>
<p>Now lets create a primary partition in the volume using the command</p>
<pre class="lang:batch decode:true " title="Create Primary Partition">create partition primary</pre>
<p>unlike previous volumes, partitions start numbered from 1. To verify lets list partition using list partition and select the only partition that we have created as follows</p>
<pre class="lang:batch decode:true" title="List Partitions">list partition</pre>
<p> </p>
<pre class="lang:batch decode:true" title="Select Partition">select partition 1</pre>
<p>Now let us make the partition active so that BIOS or EFI can recognize our partition as a valid system partition and quick format the drive using NTFS file format.</p>
<pre class="lang:batch decode:true " title="Format the drive">active
format fs=NTFS quick</pre>
<p>Lets assign a letter to the drive so we can copy our WinPE files onto the drive.</p>
<pre class="lang:batch decode:true " title="Assign ">assign</pre>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2015/02/USB-drive-Boot.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-big wp-image-1678" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2015/02/USB-drive-Boot-768x414.png?resize=720%2C388" alt="USB drive Boot" width="720" height="388" loading="lazy"></a></p>
<p>Once you have copied the WinPE iso files onto the USB drive. Pendrive is ready to boot.</p>
<p>Following is the summary of list of commands we have used.</p>
<pre class="lang:batch decode:true " title="Diskpart Commands for USB boot">list volume
select volume # //where # is the volume number of USB drive
clean
create partition primary
select partition 1
active
format fs=NTFS quick
assign</pre>
<p>Please let me know your comments/feedback in comments section.</body></p>
<p>The post <a href="https://www.technophileshub.com/2015/02/14/create-a-winpe-bootable-iso-image-usb-drive/">Create a WinPE Bootable ISO image / USB drive</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technophileshub.com/2015/02/14/create-a-winpe-bootable-iso-image-usb-drive/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1668</post-id>	</item>
		<item>
		<title>Create your own wordpress theme from Scratch – WordPress Development Tutorials</title>
		<link>https://www.technophileshub.com/2014/03/10/create-your-own-wordpress-theme-from-scratch-wordpress-development-tutorials/</link>
					<comments>https://www.technophileshub.com/2014/03/10/create-your-own-wordpress-theme-from-scratch-wordpress-development-tutorials/#respond</comments>
		
		<dc:creator><![CDATA[pavankumar.p1990]]></dc:creator>
		<pubDate>Mon, 10 Mar 2014 14:12:23 +0000</pubDate>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://technophileshub.com/?p=1575</guid>

					<description><![CDATA[<p>If you are thinking of creating your own wordpress theme, you are at the right place. Creating a wordpress theme for the first time may be little confusing but once you get hold of the way wordpress themes are developed, you will feel lot better. The first and foremost thing that you need to understand [&#8230;]</p>
<p>The post <a href="https://www.technophileshub.com/2014/03/10/create-your-own-wordpress-theme-from-scratch-wordpress-development-tutorials/">Create your own wordpress theme from Scratch &#8211; WordPress Development Tutorials</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><body>If you are thinking of creating your own wordpress theme, you are at the right place. Creating a wordpress theme for the first time may be little confusing but once you get hold of the way wordpress themes are developed, you will feel lot better. The first and foremost thing that you need to understand before we start developing a wordpress theme is <a title="Wordpress theme structure" href="http://technophileshub.com/1498/wordpress-development-tutorials-theme-structure-theory" target="_blank" rel="noopener">WordPress Theme Structure</a> which we have already covered in our previous post but let me remind the important points</p>
<ul>
<li>WordPress themes are modularly developed by splitting the code into multiple template files.</li>
<li>These template files will have a targeted purpose with a unique name.</li>
<li>style.css, header.php, footer.php, index.php, single.php, sidebar.php, comments.php …, are some of the template files in a WordPress theme.</li>
</ul>
<p><strong>Pr-requisites:</strong></p>
<ul>
<li>HTML, CSS, PHP</li>
<li>Text Editor ( I will be using Sublime Text )</li>
<li><a title="Local WordPress Installation" href="http://technophileshub.com/543/how-to-install-wordpress-on-your-local-system-windows" target="_blank" rel="noopener">Local WordPress Installation</a></li>
<li><a title="Wordpress Theme Structure" href="http://technophileshub.com/1498/wordpress-development-tutorials-theme-structure-theory" target="_blank" rel="noopener">WordPress Theme Structure</a></li>
</ul>
<h2>Theme Structure</h2>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/03/Structure.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1581" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/03/Structure.png?resize=720%2C812" alt="Wordpress Theme Structure" width="720" height="812" loading="lazy"></a>There are many other template files like page.php, 404.php, archive.php that I did not mention in the above image because a theme can be developed without having these template files but the two important template files that we should have are “index.php” and “style.css” without which WordPress will not allow to proceed any further. Hope you are geared up for coding these files, let us begin</p>
<h2>Theme Development</h2>
<p>Create a new folder inside of your “/wp-content/themes/” folder and give it a name (generally theme name). This folder will contain all your theme files like images, scripts etc. Now, create the two important template files “style.css” and “index.php” inside this folder. After creating these two important template files if you look at Themes list in WordPress Dashboard at “Appearance-&gt;Themes”, you will find that your new theme is not being displayed, this is because of the fact that WordPress reads any theme information by the declaration maintained in theme Stylesheet(style.css)  which we did not maintain yet. This declaration has a specific syntax and following snippet is a sample of such declaration</p>
<pre class="lang:css decode:true">/*
Theme Name: Basic Theme
Theme URI: http://technophileshub.com/?p=1575
Author: Pavan Kumar
Author URI: http://technophileshub.com/about/
Description: A basic WordPress theme
Version: 1.0
License: N/A
License URI: N/A
Tags: basic theme
 
Theme developed to demonstrate wordpress theme development at technophileshub
*/</pre>
<p>Please go ahead and maintain this declaration in your “style.css” file of your theme. After defining this declaration, if you refresh the Themes list, you will find your new theme with the given Theme Name in Themes list.</p>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/03/New-Theme.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1585" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/03/New-Theme.png?resize=720%2C226" alt="New WordPress Theme" width="720" height="226" loading="lazy"></a></p>
<p>Probably if you notice, the new theme is not showing any logo or image while displaying the theme list, this is because we did not maintain any “screenshot.png” image file in the theme directory which WordPress will need to display the image in this list. Never mind, let’s go ahead and activate our new theme. If you look at your blog, Now you are running your blog on a theme that you have created. Yay !!!, our new theme is live but as we haven’t written single line of code a blank page will appear.</p>
<p>Now it’s time for some real coding but nothing to be worried, we will work in a series of progressive steps from top to down of a page and understand every line of code that we are writing. So, let’s begin with header.php template file.</p>
<h2>header.php Template File</h2>
<p>I believe I need not explain what is header of a webpage and what does it contain as most of us are already aware of this and this is no different than what you already know. header.php is a template file that contains the code written for header section of your blog. It is not a strict rule that you have to maintain only header part of your blog in header.php file but to leverage the full potential WordPress, it is good to put the code in header.php that is common for every page of your theme like Logo, Navigation menu’s etc. After all that’s the purpose of having these template files than individual page where we repeat our code. Isn’t it ?</p>
<p>There are many things that go into header file but since we are focused on creating only a theme, Let’s make it simple. Following is the snippet for a basic header.php file</p>
<pre class="lang:php decode:true" title="header.php">&lt;!DOCTYPE html&gt;
&lt;!--[if IE 7]&gt;
&lt;html class="ie ie7" &lt;?php language_attributes(); ?&gt;&gt;
&lt;![endif]--&gt;
&lt;!--[if IE 8]&gt;
&lt;html class="ie ie8" &lt;?php language_attributes(); ?&gt;&gt;
&lt;![endif]--&gt;
&lt;html &lt;?php language_attributes(); ?&gt;&gt;
&lt;head id="#" profile="http://gmpg.org/xfn/11"&gt;
    &lt;meta charset="&lt;?php bloginfo( 'charset' ); ?&gt;"&gt;
    &lt;meta name="viewport" content="width=device-width"&gt;
        
        &lt;meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"&gt;
    &lt;title&gt;&lt;?php wp_title( '|', true, 'right' ); ?&gt;&lt;/title&gt;
    &lt;link rel="pingback" href="&lt;?php bloginfo( 'pingback_url' ); ?&gt;"&gt;
    &lt;!--[if lt IE 9]&gt;
    &lt;script src="&lt;?php echo get_template_directory_uri(); ?&gt;/js/html5.js"&gt;&lt;/script&gt;
    &lt;![endif]--&gt;
    &lt;?php wp_head(); ?&gt;
&lt;/head&gt;
&lt;body &lt;?php body_class(); ?&gt;&gt;
    &lt;div id="page-wrap"&gt;
        &lt;header id="header"&gt;
            &lt;h1&gt;&lt;a href="&lt;?php echo get_option('home'); ?&gt;/"&gt;&lt;?php bloginfo('name'); ?&gt;&lt;/a&gt;&lt;/h1&gt;
            &lt;div&gt;&lt;?php bloginfo('description'); ?&gt;&lt;/div&gt;
        &lt;/header&gt;
</pre>
<p>To explain the code written in header,</p>
<ul>
<li>First line is basic Document type declaration for HTML5 document type.</li>
</ul>
<ul>
<li>From line number 2 to line number 7, we have conditional comments to identify Internet Explorer browser so that we can write IE specific CSS based on ie7 and ie8 classes declared. You can learn more about conditional style sheets in a <a title="Conditional Stylesheets" href="http://css-tricks.com/how-to-create-an-ie-only-stylesheet/" target="_blank" rel="nofollow noopener">blog post by Chris at CSS-Tricks</a>.</li>
<li><code>language_attributes();</code> is a PHP function by WordPress which will return HTML tag language attributes, in my case it will return “en-US” .</li>
<li>Then we have our head with important meta tags for <a title="Meta Charset" href="https://www.youtube.com/watch?v=S-_332hi7eo" target="_blank" rel="noopener">Charset </a>and Viewport.</li>
<li><a title="Blog Info" href="http://codex.wordpress.org/Function_Reference/bloginfo" target="_blank" rel="nofollow noopener"><code>bloginfo( $show );</code> is a WordPress function</a> that takes a keyword($show) as input and returns the blog information based on keyword used.</li>
<li><a title="wp_title" href="http://codex.wordpress.org/Function_Reference/wp_title" target="_blank" rel="nofollow noopener"><code>wp_title();</code></a> is a wordpress function that will help us to use different titles for different pages of wordpress theme.</li>
<li><a title="WP_HEAD" href="http://codex.wordpress.org/Plugin_API/Action_Reference/wp_head" target="_blank" rel="nofollow noopener"><code>wp_head();</code></a> is an essential action hook usually inserted in header of a wordpress theme.</li>
<li><a title="body_class" href="https://codex.wordpress.org/Function_Reference/body_class" target="_blank" rel="nofollow noopener"><code>body_class();</code></a> helps us style better with CSS. You can read more about the classes that it assigns for body tag at wordpress codex page for body_class.</li>
<li><a title="get_option" href="http://codex.wordpress.org/Function_Reference/get_option" target="_blank" rel="nofollow noopener"><code>get_option('home')</code></a> returns the URL for home page.</li>
</ul>
<p>These are very basic lines of code that will go into header of our blog page. Now, Let’s create a  header.php file and paste the code from above snippet into that file. To test these changes we still need to write one line of code</p>
<div>
<div id="highlighter_627214" class="syntaxhighlighter notranslate php">
<div class="toolbar"></div>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="gutter">
<div class="line number1 index0 alt2">1</div>
</td>
<td class="code">
<div class="container">
<div class="line number1 index0 alt2"><code class="php plain">&lt;?php get_header(); ?&gt;</code></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<p>in our “index.php” file for our code to trigger. Write this one line in index.php and open your blog home page, you must see title of your blog with hyperlink and a description below.</p>
<p>I hope you are with me, I understand that I have introduced many wordpress functions in a single go but can’t help it. Now let’s finish our blog home page from where we have left and then take a look at individual post page.</p>
<h2>index.php Template file</h2>
<p>index.php is the template file for your blog home page and generally displays the list of blog posts (THE LOOP) with header, footer and sidebar. As of now, we have written only one line of code, which will call the header code from our index.php file. Now we are developing index.php to output blog posts and call functions to display template files for sidebar and footer. Following is the snippet for index.php file</p>
<pre class="lang:php decode:true " title="index.php">&lt;?php get_header(); ?&gt;
    &lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt;
        &lt;article &lt;?php post_class() ?&gt; id="post-&lt;?php the_ID(); ?&gt;"&gt;
            &lt;h2&gt;&lt;a href="&lt;?php the_permalink() ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
            &lt;div class="entry"&gt;
                &lt;?php the_content(); ?&gt;
            &lt;/div&gt;
        &lt;/article&gt;
    &lt;?php endwhile; ?&gt;
    &lt;?php else : ?&gt;
        &lt;h2&gt;Not Found&lt;/h2&gt;
    &lt;?php endif; ?&gt;
&lt;?php get_sidebar(); ?&gt;
&lt;?php get_footer(); ?&gt;</pre>
<p>Paste the above snippet which is called as WordPress Loop  in the index.php file of your theme folder. For the purpose of conceptual clarity, I want to say</p>
<pre class="lang:php decode:true " title="index.php">&lt;?php get_header(); ?&gt;
&lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt;
//POST content
&lt;?php endwhile; ?&gt;
&lt;?php else : ?&gt;
&lt;h2&gt;Not Found&lt;/h2&gt;
&lt;?php endif; ?&gt;</pre>
<p>is exactly same if we write as</p>
<pre class="lang:php decode:true" title="index.php">&lt;?php
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
//
// Post Content here
//
} // end while
} else{ ?&gt;
&lt;h2&gt; Not found &lt;/h2&gt;
&lt;?php
} // end if
?&gt;</pre>
<p>where <a title="have_posts" href="https://codex.wordpress.org/Function_Reference/have_posts" target="_blank" rel="nofollow noopener"><code>have_posts()</code></a> is a boolean function which will return true if there are any more posts to fetch else it will return false.</p>
<p>While looping through the posts we are using <a title="post_class" href="http://codex.wordpress.org/Function_Reference/post_class" target="_blank" rel="nofollow noopener"><code>post_class()</code></a> and <a title="the_ID" href="http://codex.wordpress.org/Function_Reference/the_ID" target="_blank" rel="nofollow noopener"><code>the_ID()</code></a> functions of WordPress to take advantage of CSS styling.</p>
<p><a title="the_permalink" href="http://codex.wordpress.org/Function_Reference/the_permalink" target="_blank" rel="nofollow noopener"><code>the_permalink()</code></a>, <a title="the_title" href="http://codex.wordpress.org/Function_Reference/the_title" target="_blank" rel="nofollow noopener"><code>the_title()</code></a> and <a title="the_content" href="http://codex.wordpress.org/Function_Reference/the_content" target="_blank" rel="nofollow noopener"><code>the_content();</code></a> will return article link, article title and article content respectively.</p>
<p><a title="get_sidebar" href="http://codex.wordpress.org/Function_Reference/get_sidebar" target="_blank" rel="nofollow noopener"><code>get_sidebar();</code></a> and <a title="get_footer" href="http://codex.wordpress.org/Function_Reference/get_footer" target="_blank" rel="nofollow noopener"><code>get_footer();</code></a> will fetch the code in the template files of sidebar(sidebar.php) and footer(footer.php) respectively.</p>
<p>With this we are done with index.php, We now have only 3 more template files single post, sidebar and footer.</p>
<h2>sidebar.php Template file</h2>
<p>Generally in WordPress, you will control the sidebar section of your blog by using widgets. These widgets dynamically will be loaded onto sidebar section but for that Sidebar section to be there in your widgets section, you need to register sidebar with WordPress.</p>
<p>Create a file with name <strong>“functions.php”</strong> in your theme folder and paste the following snippet of code</p>
<pre class="lang:php decode:true " title="sidebar.php">&lt;?php
if (function_exists('register_sidebar')) {
        register_sidebar(array(
            'name' =&gt; 'Sidebar Widgets',
            'id'   =&gt; 'sidebar-widgets',
            'description'   =&gt; 'These are widgets for the sidebar.',
            'before_widget' =&gt; '&lt;div id="%1$s" class="widget %2$s"&gt;',
            'after_widget'  =&gt; '&lt;/div&gt;',
            'before_title'  =&gt; '&lt;h2&gt;',
            'after_title'   =&gt; '&lt;/h2&gt;'
        ));
    }
?&gt;</pre>
<p>Now let us have these dynamic sidebar widgets in our sidebar section. Copy the below snippet into <strong>sidebar.php</strong> file, it will show the dynamic sidebar if any is in use</p>
<pre class="lang:php decode:true " title="sidebar.php">&lt;aside id="sidebar"&gt;
&lt;?php if (function_exists('dynamic_sidebar') &amp;&amp; dynamic_sidebar('Sidebar Widgets')) : else : ?&gt;
//Content for if no dynamic sidebar widgets goes here
&lt;?php endif; ?&gt;
&lt;/aside&gt;</pre>
<p>functions.php is theme functions file where you can write your essential function declarations in this file. This functions.php file will be executed before any of our other theme files can be executed. In the above snippet we have used only three wordpress functions</p>
<ul>
<li><code>function_exists(</code><code>'register_sidebar'</code><code>)</code> which will return a boolean value of true if the mentioned function declaration exists.</li>
<li><code></code><code>register_sidebar(</code><code>array</code><code>()) </code>will register our dynamic sidebar widget.</li>
<li><code>dynamic_sidebar(</code><code>'Sidebar Widgets'</code><code>)</code> will be calling our dynamic sidebar.</li>
</ul>
<p>Now let us quickly finish our footer section and see how our blog looks like</p>
<h2>footer.php Template file</h2>
<p>Similar to sidebar section you can chose to have dynamic widgets for footer with the section split into multiple columns. Here for the simplicity, I am going to insert only Credit links without any dynamic widgets.</p>
<pre class="lang:php decode:true " title="footer.php">        &lt;footer id="footer"&gt;
            &lt;small&gt;©&lt;?php echo date("Y"); echo " "; bloginfo('name'); ?&gt;&lt;/small&gt;
        &lt;/footer&gt;
 
    &lt;/div&gt;
 
    &lt;?php wp_footer(); ?&gt;
&lt;/body&gt;
 
&lt;/html&gt;</pre>
<ul>
<li><code><code>echo</code> <code>date</code><code>(</code><code>"Y"</code><code>); </code><code>echo</code> <code>" "</code><code>; bloginfo(</code><code>'name'</code><code>);</code></code> returns the Year and Blog name to display.</li>
<li><a title="WP_Footer" href="http://codex.wordpress.org/Function_Reference/wp_footer" rel="nofollow"><code>wp_footer();</code></a> is the footer hook. We must always use this hook before we are closing the body tag because there are many other plugins that will use this footer hook to insert code.</li>
</ul>
<p>So, these are all the basic things that we need to set up to create a WordPress theme, If you have followed me through the post, your theme must be looking something like below.</p>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/03/Screenshot.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1636" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/03/Screenshot.png?resize=594%2C339" alt="Basic WordPress Theme" width="594" height="339" loading="lazy"></a>There are plenty of other things that we can do to improve our theme but you can consider that these are the important files that needs to be in place for our theme to work. In the next post, let us add the remaining template files to the theme and take a look at CSS to design our blog UI.</p>
<p><a title="Basic Theme Source" href="http://technophileshub.com/downloads/BasicTheme.zip"><strong>Download Source</strong></a></body></p>
<p>The post <a href="https://www.technophileshub.com/2014/03/10/create-your-own-wordpress-theme-from-scratch-wordpress-development-tutorials/">Create your own wordpress theme from Scratch &#8211; WordPress Development Tutorials</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technophileshub.com/2014/03/10/create-your-own-wordpress-theme-from-scratch-wordpress-development-tutorials/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1575</post-id>	</item>
		<item>
		<title>Creating your First Android Application / Android Project</title>
		<link>https://www.technophileshub.com/2014/03/04/creating-your-first-android-application-android-project/</link>
					<comments>https://www.technophileshub.com/2014/03/04/creating-your-first-android-application-android-project/#respond</comments>
		
		<dc:creator><![CDATA[pavankumar.p1990]]></dc:creator>
		<pubDate>Tue, 04 Mar 2014 13:31:08 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<guid isPermaLink="false">http://technophileshub.com/?p=1533</guid>

					<description><![CDATA[<p>In our previous posts we have learned Setting up your PC for Android development and Configuring AVD in Eclipse. In this post, Let us create your First Android Application by Creating a Project in Eclipse. Creating an Android Application is a very simple process if you have already setup the IDE and SDK. Follow these [&#8230;]</p>
<p>The post <a href="https://www.technophileshub.com/2014/03/04/creating-your-first-android-application-android-project/">Creating your First Android Application / Android Project</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><body>In our previous posts we have learned <a title="Setting Up your PC for Developing Android Applications" href="http://technophileshub.com/1460/setting-up-your-pc-for-developing-android-applications" target="_blank" rel="noopener">Setting up your PC for Android development </a>and <a title="Configure Android Virtual Device (AVD)" href="http://technophileshub.com/1486/how-to-configure-android-virtual-device-avd" target="_blank" rel="noopener">Configuring AVD in Eclipse</a>. In this post, Let us create your First Android Application by Creating a Project in Eclipse. Creating an Android Application is a very simple process if you have already setup the IDE and SDK. Follow these simple steps to create your first Android Application.</p>
<h1>Step by Step</h1>
<ul>
<li>Open your Eclipse IDE, It will open Workspace Launcher window asking for folder path of workspace. Workspace is the location where all your projects files will be stored and optionally you can set this as default location for your workspace.</li>
</ul>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/02/Workspace-Launcher.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1534" alt="Workspace Launcher" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/02/Workspace-Launcher.png?resize=630%2C291" width="630" height="291" loading="lazy"></a></p>
<ul>
<li>As you continue, It will open up the ADT Welcome message which includes tutorial links from Android Developers blog and a button for starting your first Android Project.</li>
</ul>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/02/Android-IDE.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1536" alt="Android IDE" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/02/Android-IDE.png?resize=720%2C324" width="720" height="324" loading="lazy"></a></p>
<ul>
<li>Let’s go ahead and close the window and “Reset the Perspective” from “Window” menu so that all of us are on the same page.</li>
</ul>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/02/Reset-Perspective.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1542" alt="Reset Perspective" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/02/Reset-Perspective.png?resize=629%2C284" width="629" height="284" loading="lazy"></a></p>
<ul>
<li>Now select “New Android Application Project” from “File-&gt;New” to Create an Android Project</li>
</ul>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/02/New-Android-Application-Project.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1544" alt="New Android Application Project" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/02/New-Android-Application-Project.png?resize=720%2C222" width="720" height="222" loading="lazy"></a></p>
<ul>
<li>It will take you to “New Android Application” Project screen where in you need to provide</li>
</ul>
<table width="100%" border="1px">
<colgroup>
<col width="25%">
<col width="75%"></colgroup>
<tbody>
<tr>
<td><strong>Application Name</strong></td>
<td>Name of the Application that you want to create</td>
</tr>
<tr>
<td><strong>Project Name</strong></td>
<td>It is the directory name under which all your application files will be stored.</td>
</tr>
<tr>
<td><strong>Package Name</strong></td>
<td>This is the name of the bundle in which your objects are grouped. It should be unique across all the packages installed on the Android system so that each object can be uniquely accessed using this namespace.</td>
</tr>
<tr>
<td><strong>Minimum Required SDK</strong></td>
<td>It is the lowest version of Android that your app supports. To support as many devices as possible you may want to select the lowest version available but on the contrary you will be cutting down your app features to support the lowest version.</td>
</tr>
<tr>
<td><strong>Target SDK</strong></td>
<td>It is the highest version of the Android that your app supports.</td>
</tr>
<tr>
<td><strong>Compile With</strong></td>
<td>It indicates the version using which you want to compile your Android Application.</td>
</tr>
<tr>
<td><strong>Theme</strong></td>
<td>Each theme will have its own user interface style and the selected user interface style will be applied to your Application.</td>
</tr>
</tbody>
</table>
<p>Since it is your first Android Project, you need not worry about these options for now and provide any details and click next to continue. <a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/02/New-Android-Application-Project1.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1551" alt="New Android Application Project" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/02/New-Android-Application-Project1.png?resize=583%2C543" width="583" height="543" loading="lazy"></a></p>
<ul>
<li>Once you click on Continue you will be taken to Project Configurations page where you have options for Custom Launcher Icon, Activity and other options like making this project as library or adding the project to existing worksets. For now just click on next to continue.</li>
</ul>
<table>
<tbody>
<tr>
<td><strong>Creating Custom Launcher Icon</strong></td>
<td>The Logo for your Application.</td>
</tr>
<tr>
<td><strong>Creating Activity </strong></td>
<td>Initial Screen for your Application</td>
</tr>
</tbody>
</table>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/02/Configure-Project.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1554" alt="Configure Project" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/02/Configure-Project.png?resize=460%2C480" width="460" height="480" loading="lazy"></a></p>
<ul>
<li>As we have selected the option for creating “Custom Launcher Icon”, It will take us to the “Custom Launcher” icon configuration page where you have to provide the Application logo path.</li>
</ul>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/03/LauncherIcon.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-medium wp-image-1559" alt="LauncherIcon" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/03/LauncherIcon-300x290.png?resize=300%2C290" width="300" height="290" loading="lazy"></a></p>
<ul>
<li>Keep note of this MDPI, HDPI, XHDPI &amp; XXHDPI, we will talk more about these different DPI’s in the next blog post. After this step the next step is Creating an Activity. As per Android Developers page</li>
</ul>
<blockquote><p>An Activity is an application component that provides a screen with which users can interact in order to do something, such as dial the phone, take a photo, send an email, or view a map. Each activity is given a window in which to draw its user interface. The window typically fills the screen, but may be smaller than the screen and float on top of other windows.</p></blockquote>
<ul>
<li>At this stage think of an “Activity” as the Screen that you see on your mobile, we will learn more about Activities in future blog posts. In the screen that you have provided with, there are 3 different options</li>
</ul>
<blockquote>
<ul>
<li><strong>Blank Activity</strong> – Contains only Action &amp; Navigational Elements.</li>
<li><strong>Full screen Activity</strong> – Hides System UI and Action bar but toggles when you hover.</li>
<li><strong>Master/Detail Flow</strong> – Creates two different Activities with two columns. Best suited for tablets and requires minimum SDK version of 11.</li>
</ul>
</blockquote>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/03/Activity.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1561" alt="Activity" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/03/Activity.png?resize=522%2C607" width="522" height="607" loading="lazy"></a></p>
<ul>
<li>Click “Next” selecting “Blank Activity” this will take you to, one last and final step, where you need to provide “Activity Name” and “Layout Name” for the Activity that you just have created. By Layout Name we are referring to an XML file that provides the layout for the “Activity” that you have created.</li>
</ul>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/03/ActivityName.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1568" alt="Activity Name" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/03/ActivityName.png?resize=626%2C607" width="626" height="607" loading="lazy"></a> That is all we need to do create our first Android Project. As soon as you click on Finish, ADT will open the Activity layout file “activity_main.xml” and the “MainActivity.java” files allowing you to start developing. Now you can directly test the Application you have created by running the application on Virtual Device that we have created as per the earlier post or on the Physical device that you have with you. In some cases you might need to Run Configurations first to run your application. Please comment below if you have any queries/suggestions.</body></p>
<p>The post <a href="https://www.technophileshub.com/2014/03/04/creating-your-first-android-application-android-project/">Creating your First Android Application / Android Project</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technophileshub.com/2014/03/04/creating-your-first-android-application-android-project/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1533</post-id>	</item>
		<item>
		<title>WordPress Development Tutorials – Theme Structure Theory</title>
		<link>https://www.technophileshub.com/2014/02/22/wordpress-development-tutorials-theme-structure-theory/</link>
					<comments>https://www.technophileshub.com/2014/02/22/wordpress-development-tutorials-theme-structure-theory/#respond</comments>
		
		<dc:creator><![CDATA[pavankumar.p1990]]></dc:creator>
		<pubDate>Sat, 22 Feb 2014 11:08:58 +0000</pubDate>
				<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">http://technophileshub.com/?p=1498</guid>

					<description><![CDATA[<p>WordPress needs no introduction to any one in the web community.It is a content management system, running on every 60 out of 100 websites that you see on the Internet and I am one among the proud users of WordPress since past 5 years.In a series of posts on Technophileshub, I would like to put [&#8230;]</p>
<p>The post <a href="https://www.technophileshub.com/2014/02/22/wordpress-development-tutorials-theme-structure-theory/">WordPress Development Tutorials &#8211; Theme Structure Theory</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><body>WordPress needs no introduction to any one in the web community.It is a content management system, running on every 60 out of 100 websites that you see on the Internet and I am one among the proud users of WordPress since past 5 years.In a series of posts on Technophileshub, I would like to put pen to paper on everything that I have learned during my course of journey with WordPress.In this post, we are going to take a look at the WordPress structure to understand it better and learn how it works.I am assuming that you know the basics of HTML, PHP and CSS.In<br />
case if you don ‘t know then probably it might be the right time for you to sit back for a day or two and learn the very basics of HTML, PHP and CSS and come back.</p>
<p>In a traditional HTML page, you write your complete code in a single file other than the CSS but in the case of WordPress, it splits the code in that single page into multiple template files based on the page structure and below is a typical structure of a WordPress page.</p>
<p><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/02/Wordpress-Structure.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-full wp-image-1503" alt="Wordpress Structure" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/02/Wordpress-Structure.png?resize=300%2C343" width="300" height="343" loading="lazy"></a></p>
<p>Templates are nothing but pieces of a page and WordPress combines them at run time based on query strings in the URL while trying to open a page to create a complete page. Above is the structure of a typical WordPress page which will be rendered by multiple template files. Template files are not just the random pieces of a page but are very specific and have their own purpose with a unique template name. Following are few template files of a WordPress theme for us to get started.</p>
<ol>
<li><strong>Front Page</strong>
<ul>
<li><strong>index.php</strong><br />
The root of any directory is powered by index file and it is also same with the case of WordPress. Your theme root directory contains this index file and will be the first one to be loaded.</li>
<li><strong>front.php</strong><br />
This file if defined will take precedence over index.php to be displayed as front page of your blog or website.</li>
</ul>
</li>
<li><strong>Basic building blocks</strong>
<ul>Header, Footer and Content page are basic building blocks of WordPress as they are common for every WordPress page.</p>
<li><strong>header.php</strong><br />
Header file contains the code up to the top head section of the page and is written in header.php file and will be called from a content page./li&gt;</li>
<li><strong>Content Page (index.php, single.php, page.php)</strong><br />
These files are content section of your wordpress page. It is up to you to decide what you want to do in content section. For example index.php contains Sidebar and “The Loop” of wordpress which is responsible to display the list of posts. single.php is a single post page which includes sidebar and a section to display the post which also contains the comments section.</li>
<li> </li>
<li><strong>footer.php</strong><br />
Footer is the bottom section of your page which includes copyright, credits and important link details. header.php and footer.php are the only two files that will be called on every page.</li>
</ul>
</li>
<li><strong>Single Post Page</strong>
<ul>
<li><strong>single.php</strong><br />
The purpose of this file is to display the content of your post in the content section and you may chose to have a sidebar or opt for full page content. Generally, it calls the template files for both sidebar and comments and finally ends by calling footer.</li>
<li><strong>page.php</strong><br />
This is the template file for your pages in wordpress. As usual, it is up to you to decide how you want to display pages in your wordpress theme. Generally, a page contains header and footer without sidebar or comments section.</li>
</ul>
</li>
<li><strong>Multiple Posts Page</strong>
<ul>
<li><strong>category.php</strong><br />
The purpose of this file is to display the posts filed under the specific category.</li>
<li><strong>tag.php</strong><br />
The purpose of this file is to display the posts filed under the specific tag</li>
<li><strong>archive.php</strong><br />
The purpose of this file is to display the archived posts</li>
<li><strong>search.php</strong><br />
The purpose of this file is to display the search results of a query raised in the search form.</li>
</ul>
</li>
<li><strong>Comments Page</strong>
<ul>
<li><strong>comments.php</strong><br />
The purpose of the file is to display the comment form and comments filed under a particular post.</li>
</ul>
</li>
</ol>
<p style="text-align: center;"><a href="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/02/Structure.png"><img data-recalc-dims="1" decoding="async" class="aligncenter size-medium wp-image-1509" alt="Structure" src="https://i0.wp.com/technophileshub.com/wp-content/uploads/2014/02/Structure1-262x300.png?resize=262%2C300" width="262" height="300" loading="lazy"></a></p>
<p>These individual template files helps WordPress to work in a modular way. We will discuss more about these files in the future posts when we are actually working on them and for now I am wrapping up this post. Thanks for reading.<br />
Source: <a title="Wordpress Codex" href="http://codex.wordpress.org/Templates" target="_blank" rel="noopener">WordPress Codex</a><br />
DZFFQKVR9XKS </body></p>
<p>The post <a href="https://www.technophileshub.com/2014/02/22/wordpress-development-tutorials-theme-structure-theory/">WordPress Development Tutorials &#8211; Theme Structure Theory</a> appeared first on <a href="https://www.technophileshub.com">Technophileshub</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technophileshub.com/2014/02/22/wordpress-development-tutorials-theme-structure-theory/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1498</post-id>	</item>
	</channel>
</rss>