Archive

Posts Tagged ‘list’

Random Post List without plugin – Wordpress

September 13th, 2009 No comments
Random Post List without plugin – Wordpress how to make a random post list on your sidebar: <ul> <?php $myq = new WP_Query('showposts=10&orderby=rand'); if($myq->have_posts()) : while($myq->have_posts()) : $myq->the_post(); ?> <li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent link to'); ?> <?php the_title(); ?>"><?php the_title(); ?></a></li> <?php endwhile; endif; ?> </ul>
Categories: Bookmarks, Tech, Wordpress Tags: , , ,

List number of files in a particular folder – Linux Command

September 9th, 2009 No comments
List number of files in a particular folder – Linux Command Determine how many files there are in the current folder/directory: many ways ;) 1.  list files and folders: [root@server1]# du -a /folders/test | cut -d/ -f2 | sort | uniq -c | sort -nr 17616 data 2. list files and folders [root@server1]# ls -Ra1 /folders/test|grep -v ...

Wedding Crashers, Sundtrack Movie – Full List

May 4th, 2009 No comments
Wedding Crashers, Sundtrack Movie – Full List Aside Written by The Weakerthans and John K. Samson Performed by The Weakerthans Courtesy of Hopeless Records/G7 Welcoming Committee Records Celebrity Judges Written by R. Cronholm and M. Weinberg Performed by Crumb Courtesy of Qwest Records By Arrangement with Warner Strategic Marketing I Hope Tomorrow Is Like Today Written by ...

Linux – List only Directories

September 23rd, 2007 No comments
Linux – List only Directories 1. ls -d */ 2. ls -l | grep “^d” 3. find -L -maxdepth 1 -type d -name “*” ! -name “.*” -printf “%f\n” 4. find -L -maxdepth 1 -type d -name “*” ! -name “.*” 5. find -type d
Categories: Bookmarks, Linux Tags: , , ,

Linux – List only Directories

September 22nd, 2007 No comments
Linux – List only Directories 1. ls -d */ 2. ls -l | grep "^d" 3. find -L -maxdepth 1 -type d -name "*" ! -name ".*" -printf "%f\n" 4. find -L -maxdepth 1 -type d -name "*" ! -name ".*" 5. find -type d
Categories: Bookmarks, Linux Tags: , , ,
GoCache - ByREV-Cache v1.0 - live served in : 0.372202 sec (gzip)