<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Commentaires sur : Bashrc collaboratif</title>
	<atom:link href="http://linux-attitude.fr/post/bashrc-collaboratif/feed" rel="self" type="application/rss+xml" />
	<link>http://linux-attitude.fr/post/bashrc-collaboratif</link>
	<description>Le libre est un état d&#039;esprit</description>
	<lastBuildDate>Fri, 12 Mar 2010 14:12:34 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Par : anonyme</title>
		<link>http://linux-attitude.fr/post/bashrc-collaboratif/comment-page-1#comment-995</link>
		<dc:creator>anonyme</dc:creator>
		<pubDate>Tue, 20 Oct 2009 20:45:29 +0000</pubDate>
		<guid isPermaLink="false">http://dev.linux-attitude.fr/post/bashrc-collaboratif#comment-995</guid>
		<description># Generate PDF files from man pages
man2pdf () {
    MANPAGEPATH=$HOME/&quot;Manpages&quot;
    mkdir -p &quot;$MANPAGEPATH&quot;

    if which ${1} &gt; /dev/null; then
        man -t ${1} &#124; ps2pdf - $MANPAGEPATH/${1}.pdf
    fi  
}</description>
		<content:encoded><![CDATA[<p># Generate PDF files from man pages<br />
man2pdf () {<br />
    MANPAGEPATH=$HOME/&nbsp;&raquo;Manpages&nbsp;&raquo;<br />
    mkdir -p &laquo;&nbsp;$MANPAGEPATH&nbsp;&raquo;</p>
<p>    if which ${1} &gt; /dev/null; then<br />
        man -t ${1} | ps2pdf &#8211; $MANPAGEPATH/${1}.pdf<br />
    fi<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : StalkR</title>
		<link>http://linux-attitude.fr/post/bashrc-collaboratif/comment-page-1#comment-909</link>
		<dc:creator>StalkR</dc:creator>
		<pubDate>Wed, 07 Oct 2009 14:54:20 +0000</pubDate>
		<guid isPermaLink="false">http://dev.linux-attitude.fr/post/bashrc-collaboratif#comment-909</guid>
		<description>Je viens rajouter ma pierre à l&#039;édifice avec mon petit prompt, coloré, avec user@host, répertoire courant, date &amp; heure, qui met le titre (user@host cwd) sur les terminaux capables, et qui sera différent selon si je suis dans un screen (où je vois le load average) ou pas (et alors je veux voir le load average).
Avec tout ça le prompt est sur 2 lignes, et je sais que ça n&#039;est pas du goût de tout le monde ;)

///
# Colors (use echo -e to display) -- type &#039;colors&#039; for more info
COLOR_BLACK=&#039;\e[0;30m&#039;;  COLOR_LBLACK=&#039;\e[1;30m&#039;;
COLOR_RED=&#039;\e[0;31m&#039;;    COLOR_LRED=&#039;\e[1;31m&#039;;
COLOR_GREEN=&#039;\e[0;32m&#039;;  COLOR_LGREEN=&#039;\e[1;32m&#039;;
COLOR_YELLOW=&#039;\e[0;33m&#039;; COLOR_LYELLOW=&#039;\e[1;33m&#039;;
COLOR_BLUE=&#039;\e[0;34m&#039;;   COLOR_LBLUE=&#039;\e[1;34m&#039;;
COLOR_PURPLE=&#039;\e[0;35m&#039;; COLOR_LPURPLE=&#039;\e[1;35m&#039;;
COLOR_CYAN=&#039;\e[0;36m&#039;;   COLOR_LCYAN=&#039;\e[1;36m&#039;;
COLOR_NONE=&#039;\e[0m&#039;;

# Prompt
PROMPT_LOADAVG=&quot; \[$COLOR_RED\]\$(uptime&#124;sed -e &#039;s/.*: \([^,]*\), \([^,]*\), \([^,]*\).*/\1 \2 \3/&#039;)&quot;
PROMPT_DATE=&quot; \[$COLOR_BLUE\]\D{%Y-%m-%d %H:%M:%S}&quot;
# No load average for screen since it&#039;s already in the bottomline
if [ &quot;$TERM&quot; == &quot;screen&quot; ]; then PROMPT_LOADAVG=&quot;&quot;; fi
PROMPT=&quot;\[$COLOR_LRED\]\u\[$COLOR_LBLUE\]@\[$COLOR_GREEN\]\h \[$COLOR_YELLOW\]\w$PROMPT_LOADAVG$PROMPT_DATE\[$COLOR_NONE\]\n\\$ &quot;
# Only set title for capable terminals
case &quot;$TERM&quot; in
  xterm*&#124;rxvt*&#124;screen) PS1=&quot;\[\e]0;\u@\h \w\a\]$PROMPT&quot;;;
  *) PS1=$PROMPT;;
esac
///</description>
		<content:encoded><![CDATA[<p>Je viens rajouter ma pierre à l&#8217;édifice avec mon petit prompt, coloré, avec user@host, répertoire courant, date &amp; heure, qui met le titre (user@host cwd) sur les terminaux capables, et qui sera différent selon si je suis dans un screen (où je vois le load average) ou pas (et alors je veux voir le load average).<br />
Avec tout ça le prompt est sur 2 lignes, et je sais que ça n&#8217;est pas du goût de tout le monde ;)</p>
<p>///<br />
# Colors (use echo -e to display) &#8212; type &#8216;colors&#8217; for more info<br />
COLOR_BLACK=&#8217;\e[0;30m';  COLOR_LBLACK='\e[1;30m';<br />
COLOR_RED='\e[0;31m';    COLOR_LRED='\e[1;31m';<br />
COLOR_GREEN='\e[0;32m';  COLOR_LGREEN='\e[1;32m';<br />
COLOR_YELLOW='\e[0;33m'; COLOR_LYELLOW='\e[1;33m';<br />
COLOR_BLUE='\e[0;34m';   COLOR_LBLUE='\e[1;34m';<br />
COLOR_PURPLE='\e[0;35m'; COLOR_LPURPLE='\e[1;35m';<br />
COLOR_CYAN='\e[0;36m';   COLOR_LCYAN='\e[1;36m';<br />
COLOR_NONE='\e[0m';</p>
<p># Prompt<br />
PROMPT_LOADAVG=" \[$COLOR_RED\]\$(uptime|sed -e &#8217;s/.*: \([^,]*\), \([^,]*\), \([^,]*\).*/\1 \2 \3/&#8217;)&nbsp;&raquo;<br />
PROMPT_DATE=&nbsp;&raquo; \[$COLOR_BLUE\]\D{%Y-%m-%d %H:%M:%S}&nbsp;&raquo;<br />
# No load average for screen since it&#8217;s already in the bottomline<br />
if [ "$TERM" == "screen" ]; then PROMPT_LOADAVG=&nbsp;&raquo;"; fi<br />
PROMPT=&nbsp;&raquo;\[$COLOR_LRED\]\u\[$COLOR_LBLUE\]@\[$COLOR_GREEN\]\h \[$COLOR_YELLOW\]\w$PROMPT_LOADAVG$PROMPT_DATE\[$COLOR_NONE\]\n\\$ &nbsp;&raquo;<br />
# Only set title for capable terminals<br />
case &laquo;&nbsp;$TERM&nbsp;&raquo; in<br />
  xterm*|rxvt*|screen) PS1=&nbsp;&raquo;\[\e]0;\u@\h \w\a\]$PROMPT&nbsp;&raquo;;;<br />
  *) PS1=$PROMPT;;<br />
esac<br />
///</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : erdnaxeli</title>
		<link>http://linux-attitude.fr/post/bashrc-collaboratif/comment-page-1#comment-902</link>
		<dc:creator>erdnaxeli</dc:creator>
		<pubDate>Mon, 05 Oct 2009 13:49:29 +0000</pubDate>
		<guid isPermaLink="false">http://dev.linux-attitude.fr/post/bashrc-collaboratif#comment-902</guid>
		<description>le bon lien : http://tuxce.selfip.org/informatique/ajouter-une-barre-de-progression-a-cp</description>
		<content:encoded><![CDATA[<p>le bon lien : <a href="http://tuxce.selfip.org/informatique/ajouter-une-barre-de-progression-a-cp" rel="nofollow">http://tuxce.selfip.org/informatique/ajouter-une-barre-de-progression-a-cp</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : erdnaxeli</title>
		<link>http://linux-attitude.fr/post/bashrc-collaboratif/comment-page-1#comment-901</link>
		<dc:creator>erdnaxeli</dc:creator>
		<pubDate>Mon, 05 Oct 2009 13:48:06 +0000</pubDate>
		<guid isPermaLink="false">http://dev.linux-attitude.fr/post/bashrc-collaboratif#comment-901</guid>
		<description>Mettre un artiste au hasard dans la playlist de mpd (pratique quand on ne veut pas faire un choix) : alias zioup=&quot;mpc clear &gt; /dev/null &amp;&amp; mpc ls &#124; sort -R &#124; line &#124; mpc add &amp;&amp; mpc play &gt; /dev/null&quot;.
Une fonction qui permet d&#039;afficher une barre de progression à cp : http://linuxerie.midiblogs.com/archive/2009/04/19/urxvt-mon-nouveau-terminal-avec-des-onglets.html</description>
		<content:encoded><![CDATA[<p>Mettre un artiste au hasard dans la playlist de mpd (pratique quand on ne veut pas faire un choix) : alias zioup=&nbsp;&raquo;mpc clear &gt; /dev/null &amp;&amp; mpc ls | sort -R | line | mpc add &amp;&amp; mpc play &gt; /dev/null&nbsp;&raquo;.<br />
Une fonction qui permet d&#8217;afficher une barre de progression à cp : <a href="http://linuxerie.midiblogs.com/archive/2009/04/19/urxvt-mon-nouveau-terminal-avec-des-onglets.html" rel="nofollow">http://linuxerie.midiblogs.com/archive/2009/04/19/urxvt-mon-nouveau-terminal-avec-des-onglets.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Arnaud</title>
		<link>http://linux-attitude.fr/post/bashrc-collaboratif/comment-page-1#comment-831</link>
		<dc:creator>Arnaud</dc:creator>
		<pubDate>Wed, 23 Sep 2009 10:16:31 +0000</pubDate>
		<guid isPermaLink="false">http://dev.linux-attitude.fr/post/bashrc-collaboratif#comment-831</guid>
		<description>#ajouter un nouvel alias rapidement
alias setalias=&#039;vi ~/.bashrc&#039; #ou emacs,etc...</description>
		<content:encoded><![CDATA[<p>#ajouter un nouvel alias rapidement<br />
alias setalias=&#8217;vi ~/.bashrc&#8217; #ou emacs,etc&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Peck</title>
		<link>http://linux-attitude.fr/post/bashrc-collaboratif/comment-page-1#comment-168</link>
		<dc:creator>Peck</dc:creator>
		<pubDate>Mon, 28 Jul 2008 14:41:07 +0000</pubDate>
		<guid isPermaLink="false">http://dev.linux-attitude.fr/post/bashrc-collaboratif#comment-168</guid>
		<description>&lt;p&gt;Si toujours, mais j&#039;ai tellement l&#039;habitude de le taper en même temps que le -l que je n&#039;ai pas pris l&#039;habitude d&#039;en faire un racourci.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Si toujours, mais j&#8217;ai tellement l&#8217;habitude de le taper en même temps que le -l que je n&#8217;ai pas pris l&#8217;habitude d&#8217;en faire un racourci.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : greg</title>
		<link>http://linux-attitude.fr/post/bashrc-collaboratif/comment-page-1#comment-167</link>
		<dc:creator>greg</dc:creator>
		<pubDate>Mon, 28 Jul 2008 08:23:55 +0000</pubDate>
		<guid isPermaLink="false">http://dev.linux-attitude.fr/post/bashrc-collaboratif#comment-167</guid>
		<description>&lt;p&gt;Curieux, personne n&#039;utilise l&#039;option «h» de ls dans ses alias ce qui est pourtant bien pratique (et ne coute rien).&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Curieux, personne n&#8217;utilise l&#8217;option «h» de ls dans ses alias ce qui est pourtant bien pratique (et ne coute rien).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!--
This site's performance optimized by W3 Total Cache:

W3 Total Cache improves the user experience of your blog by caching
frequent operations, reducing the weight of various files and providing
transparent content delivery network integration. The goal is to improve the
user experience for the readers of your blog without having to change
WordPress, your theme, your plugins or how you produce your content. When fully
utilized, your blog will be able to sustain extremely high traffic spikes
without requiring hardware upgrades or removing features or functionality from
your theme.
	
Features and benefits include:

	- Improved progressive render (non-blocking CSS and JS embedding)
	- Reduced HTTP Transactions, DNS lookups, reduced document load time
	- Transparent content delivery network (CDN) support with automated media
		library import
	- Bandwidth savings via Minify and HTTP compression (gzip / deflate) for HTML, CSS
		and JS
	- Minification (concatenation, white space removal) of inline, external or 3rd
		party JS and CSS with scheduled updates
	- Optional embedding of JS just above </body>
	- Support for caching pages, posts, feeds, database objects, CSS, JS in memory
		with APC or memcached or both
	- Caching of RSS/Atom Feeds (comments, page and site), URIs with query string
		variables (like search result pages), Database queries, Pages, Posts, CSS and JS
	- Complete header management including Etags
	- Increased web server concurrency and reduced resource consumption, increased scale


Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using file
Page Caching using apc
Database Caching 1/18 queries in 0.014 seconds using apc

Served from: madrid @ 2010-03-13 00:44:52 in 2.000 seconds -->