<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nisi's work blog &#187; user</title>
	<atom:link href="http://wiki.nisi.ro/tag/user/feed/" rel="self" type="application/rss+xml" />
	<link>http://wiki.nisi.ro</link>
	<description>Nisi's work blog - programing tips</description>
	<lastBuildDate>Mon, 21 Nov 2011 08:43:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>WordPress: get the role of the current user</title>
		<link>http://wiki.nisi.ro/2010/03/wordpress-get-the-role-of-the-current-user/</link>
		<comments>http://wiki.nisi.ro/2010/03/wordpress-get-the-role-of-the-current-user/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 10:08:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[caps]]></category>
		<category><![CDATA[current_user]]></category>
		<category><![CDATA[role]]></category>
		<category><![CDATA[user]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wpdb]]></category>

		<guid isPermaLink="false">http://wiki.nisi.ro/?p=216</guid>
		<description><![CDATA[/* get the role of the current user */ global $current_user, $wpdb; $var = $wpdb-&#62;prefix . &#8216;capabilities&#8217;; $caps = $current_user-&#62;$var;]]></description>
			<content:encoded><![CDATA[<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="coMULTI">/* get the role of the current user */</span></div>
</li>
<li class="li1">
<div class="de1"><a href="http://www.php.net/global"><span class="kw3">global</span></a> <span class="re0">$current_user</span>, <span class="re0">$wpdb</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$var</span> = <span class="re0">$wpdb</span>-&gt;<span class="me1">prefix</span> . <span class="st0">&#8216;capabilities&#8217;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$caps</span> = <span class="re0">$current_user</span>-&gt;<span class="re0">$var</span>;</div>
</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://wiki.nisi.ro/2010/03/wordpress-get-the-role-of-the-current-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restore MySql database using command line</title>
		<link>http://wiki.nisi.ro/2009/12/restore-mysql-database-using-command-line/</link>
		<comments>http://wiki.nisi.ro/2009/12/restore-mysql-database-using-command-line/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 11:55:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP & MySQL]]></category>
		<category><![CDATA[dbname]]></category>
		<category><![CDATA[dump.sql]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://wiki.nisi.ro/?p=169</guid>
		<description><![CDATA[mysql -u USER -p DBNAME &#60; dump.sql Where: USER is your username DBNAME is Databas witch will be restored dump.sql (any .sql file can be used) is your database dump]]></description>
			<content:encoded><![CDATA[<p>mysql -u USER -p DBNAME &lt; dump.sql</p>
<p>Where:</p>
<ul>
<li><strong>USER</strong> is your username</li>
<li><strong>DBNAME</strong> is Databas witch will be restored</li>
<li><strong>dump.sql</strong> (any .sql file can be used) is your database dump</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://wiki.nisi.ro/2009/12/restore-mysql-database-using-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

