Thursday, September 18, 2014

Download emmet for Faster coding

Emmet takes the snippets idea to a whole new level: you can type CSS-like expressions that can be dynamically parsed, and produce output depending on what you type in the abbreviation. Emmet is developed and optimised for web-developers whose workflow depends on HTML/XML and CSS, but can be used with programming languages too.


Emmet is a plugin for many popular text editors which greatly improves HTML & CSS workflow:


Download your Emmet plugin for your Text Editor


 Sublime Text       Atom OSX                      Eclipse/Aptana       TextMate (OS X)


 Coda (OS X)        Espresso (OS X)           Chocolat (OS X)       Komodo Edit


Notepad++            PSPad                              textarea                    CodeMirror


 Brackets                   NetBeans                   Adobe Dreamweaver


 


 


 



Download emmet for Faster coding

Wednesday, September 17, 2014

The domain is already pointed to an IP address that does not appear to use DNS servers associated with this server

Some times we recive like that message when we  try to add new Addon domain on server.


Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server. Please transfer the domain to this servers nameservers or have your administrator add one of its nameservers to /etc/ips.remotedns and make the proper A entries on that remote nameserver


you can solve this 2 way

check your domain nameserver:

change your nameservers to point to the 4 server’s nameservers (all of them, not just one or two). This can result in downtime, however, and isn’t really recommended.


 

Also you can solve this problem if you have access in root whm

just login your whm and search tweak settings-> Allow Remote Domains ON


Now you can add your domain as a addon domain.

NOTE: This can be a major security problem. If you must have it enabled, be sure to not allow users to park common internet domains.

after add domain for security reason again disable this function OFF


 



The domain is already pointed to an IP address that does not appear to use DNS servers associated with this server

Saturday, September 13, 2014

how to solve Warning: ini_set() has been disabled for security reasons from whm

Sometimes we see this message in our website Warning: ini_set() has been disabled for security reasons

if you have acess root whm. u can easily solve this issue from


PHP Configuration Editor -> Advanced Mode -> disable_functions
and remove this part ini_set
And save  your PHP Configuration Editor

thats it :) now its work without this warning.


if you dont have access your root WHM you can solve this issue from your  cpanel also

just see this tutorial Warning: ini_set() has been disabled for security reasons



how to solve Warning: ini_set() has been disabled for security reasons from whm

Thursday, September 11, 2014

how to Get current category ID of the active page in wordpress

In this tutorial will learn how to Get current category ID of the active page


 


If it is a category page,you can get id of current category by:


 $category = get_category( get_query_var( 'cat' ) );
$cat_id = $category->cat_ID;

if you want to get category id of any particular category on any page,try using :


 $category_id = get_cat_ID('Category Name');

 


 



how to Get current category ID of the active page in wordpress

Saturday, September 6, 2014

how to change localhost name In mac

Just Open Your Terminal and type


macbooks-mbp:~ User$ sudo nano /private/etc/hosts

and change 127.0.0.1 localhost to


127.0.0.1 [name] localhost


 GNU nano 2.0.6 File: /private/etc/hosts 

##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 xpeed localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost


I have Use name xpeed for my localhost name.

You can now use both [name] and localhost ;)


 



how to change localhost name In mac

Monday, August 18, 2014

Mac Keyboard Symbols

If you are newbie in mac, learning the keyboard symbols that appear in the menus and what keys they stand for is essential for accessing various shortcuts. 
You see them on a lot of Mac keyboards and on plenty of keyboard shortcut lists, looking like strange glyphs (⌥), shapes (⇪), and bugs splattered on windshields (⌘). They can be fairly confusing.


 


 Here is the Full Keyboard Symbol List for mac:

⌘ is command

⌥ is option

⌃ is control

⇧ is shift

⇪ is caps lock

← is left arrow

→ is right arrow

↑ is up arrow

↓ is down arrow

⇥ is tab

⇤ is backtab

↩ is return

⌤ is enter

⌫ is delete

⌦ is forward delete

⇞ is page up

⇟ is page down

↖ is home

↘ is end

⌧ is clear

␣ is space

⎋ is escape

⏏ is eject


You can type the European Currency symbol (€) with Option + Shift + 2
Option+Shift+8 produced one like this: Temperature Symbol: 85°
Option+K types a symbol like this: Degree Symbol: 24˚



Mac Keyboard Symbols

Sunday, August 17, 2014

keyboard shortcuts for linux


Shortcut keys save lots of time when we work on pc. Linux keyboard shortcuts



This shortcut keys work fine in Tab and window




















































Ctrl+NOpens a new window.
Ctrl+TOpens a new tab.
Ctrl+Shift+NOpens a new window in incognito mode.
Press Ctrl+O, then select file.Opens a file from your computer in Google Chrome.
Press Ctrl and click a link. Or click a link with your middle mouse button (or mousewheel).Opens the link in a new tab in the background .
Press Ctrl+Shift and click a link. Or press Shift and click a link with your middle mouse button (or mousewheel).Opens the link in a new tab and switches to the newly opened tab.
Press Shift and click a link.Opens the link in a new window.
Ctrl+Shift+TReopens the last tab you’ve closed. Google Chrome remembers the last 10 tabs you’ve closed.
Drag a link to a tab.Opens the link in the tab.
Drag a link to a blank area on the tab strip.Opens the link in a new tab.
Drag a tab out of the tab strip.Opens the tab in a new window.
Drag a tab out of the tab strip and into an existing window.Opens the tab in the existing window.
Press Esc while dragging a tab.Returns the tab to its original position.
Ctrl+1 through Ctrl+8Switches to the tab at the specified position number on the tab strip.
Ctrl+9Switches to the last tab.
Ctrl+Tab or Ctrl+PgDownSwitches to the next tab.
Ctrl+Shift+Tab or Ctrl+PgUpSwitches to the previous tab.
Ctrl+Shift+QCloses Google Chrome.
Ctrl+W or Ctrl+F4Closes the current tab or pop-up.
Click a tab with your middle mouse button (or mousewheel).Closes the tab you clicked.
Right-click, or click and hold either the Back or Forward arrow in the browser toolbar.Displays your browsing history in the tab.
Press Alt and the left arrow together.Goes to the previous page in your browsing history for the tab.
Press Alt and the right arrow together.Goes to the next page in your browsing history for the tab.
Click either the Back arrow, Forward arrow, or Go button in the toolbar with your middle mouse button (or mousewheel).Opens the button destination in a new tab in the background.
Double-click the blank area on the tab strip.Maximizes or minimizes the window.


Linux Google Chrome feature shortcuts




















Alt+FOpens the Tools menu, which lets you customize and control settings in Google Chrome.
Ctrl+Shift+BToggles the bookmarks bar on and off.
Ctrl+HOpens the History page.
Ctrl+JOpens the Downloads page.
Shift+EscOpens the Task Manager.
Ctrl+Shift+JOpens Developer Tools.
Ctrl+Shift+DeleteOpens the Clear Browsing Data dialog.
F1Opens the Help Center in a new tab (our favorite).
Ctrl+Shift+MSwitch between multiple users.



Linux Address bar shortcuts


Use the following shortcuts in the address bar:
























Type a search term, then press Enter.Performs a search using your default search engine.
Type a search engine keyword, press Space, type a search term, and press Enter.Performs a search using the search engine associated with the keyword.
Begin typing a search engine URL, press Tab when prompted, type a search term, and press Enter.Performs a search using the search engine associated with the URL.
Ctrl+LHighlights the URL.
Ctrl+K or Ctrl+EPlaces a ‘?’ in the address bar. Type a search term after the question mark to perform a search using your default search engine.
Press Ctrl+Shift and the left arrow together.Moves your cursor to the preceding key term in the address bar
Press Ctrl+Shift and the right arrow together.Moves your cursor to the next key term in the address bar
Ctrl+BackspaceDeletes the key term that precedes your cursor in the address bar
Select an entry in the address bar drop-down menu with your keyboard arrows, then press Shift+Delete.Deletes the entry from your browsing history, if possible.
Click an entry in the address bar drop-down menu with your middle mouse button (or mousewheel).Opens the entry in a new tab in the background.
Press Page Up or Page Down when the address bar drop-down menu is visible.Selects the first or last entry in the drop-down menu.



Linux Webpage shortcuts








































Ctrl+PPrints your current page.
Ctrl+SSaves your current page.
Ctrl+RReloads your current page.
EscStops the loading of your current page.
Ctrl+FOpens the find bar.
Ctrl+G or EnterFinds the next match for your input in the find bar.
Ctrl+Shift+G or Shift+EnterFinds the previous match for your input in the find bar.
Press Alt and click a link.Downloads the target of the link.
Ctrl+UOpens the source of your current page.
Drag a link to bookmarks barSaves the link as a bookmark.
Ctrl+DSaves your current webpage as a bookmark.
Ctrl+Shift+DSaves all open pages as bookmarks in a new folder.
F11Opens your page in full-screen mode. Press F11 again to exit full-screen.
Ctrl and +, or press Ctrl and scroll your mousewheel up.Enlarges everything on the page.
Ctrl and -, or press Ctrl and scroll your mousewheel down.Makes everything on the page smaller.
Ctrl+0Returns everything on the page to normal size.
Space barScrolls down the web page.
HomeGoes to the top of the page.
EndGoes to the bottom of the page.


Linux Text shortcuts










Ctrl+CCopies highlighted content to the clipboard.
Ctrl+V or Shift+InsertPastes content from the clipboard.
Ctrl+Shift+VPaste content from the clipboard without formatting.
Ctrl+X or Shift+DeleteDeletes the highlighted content and copies it to the clipboard.




keyboard shortcuts for linux