Go to www directory with subdirectory option
wwwdir() { cd /var/www/$1 }
alias www=wwwdir
Go to www directory with subdirectory option
wwwdir() { cd /var/www/$1 }
alias www=wwwdir
svn checkout https://github.com/foobar/Test/trunk/foo
where trunk = tree/master
aspectRatio = Window.GetWidth() / 1366;logo.image = Image (logo_filename).Scale (logo.screen_size, logo.screen_size);logo.image = Image (logo_filename).Scale (logo.screen_size * aspectRatio, logo.screen_size);logo_blurred)sudo update-initramfs -u| function jsp_switch_category_template() { | |
| if (is_category()) { | |
| $ancestors = get_ancestors(get_query_var('cat'),'category'); | |
| $catname = get_query_var('category_name'); | |
| if ($ancestors) { | |
| $templatePath = TEMPLATEPATH . '/'; | |
| $prefix = 'category-'; //default page template prefix | |
| $ext = '.php'; | |
| $appender = '_child'; | |
| $parent_id = $ancestors[0]; |
| function jsp_switch_page_template() { | |
| global $post; | |
| if (is_page() && !get_page_template_slug( $post->ID )) { //if no template was selected via WP | |
| $ancestors = $post->ancestors; | |
| if ($ancestors) { | |
| $templatePath = TEMPLATEPATH . '/'; | |
| $prefix = 'page-'; //default page template prefix | |
| $ext = '.php'; |