3/2/2014 - 1:32 PM




 $ sudo apt-get install python-markdown
 2026  sudo apt-get install python-docutils
 2027  sudo apt-get install python-markdown
 2028  sudo apt-get install pymarkups [niente..]
 2029  sudo apt-get install python3-markups
 2030  sudo apt-get install python3-markdown 

python virtualenv

On a Debian-based system:
     apt-get install python-virtualenv

Create the virtualenv (call it "devel"): virtualenv devel
Acivate the "devel" virtualenv: source devel/bin/activate

$ deactivate

#tid work on hilite


rogera@rogera:~/proj/gh.joyent.d$ git clone https://github.com/joyent/node


make [ oder: make -j n mit n=pocessor-count]
sudo make install

[und vorm rausgehen...]

rogera@rogera:~/proj/gh.joyent.d/node$ npm -v 
rogera@rogera:~/proj/gh.joyent.d/node$ sudo npm -g update npm


[title] php dbpost.md [/title]

[category] first one wins, test [/category]

[tag] php, md, trial [/tag]

[status] pending [/status]

[comment] closed [/comment]

[ping] closed [/ping]

[id] 17 [/id]




sunset explanation here: http://blog.useost.com/2013/03/06/sunset/ training dbpost.md

wolfhesse, r20140302 filed: Apps/Post_via_Dropbox/dbpost.md

{% highlight php %}

 * Determine if user is a site admin.
 * @since 3.0.0
 * @param bool|int $user_id (Optional) The ID of a user. Defaults to the current user.
 * @return bool True if the user is a site admin.
function is_super_admin($user_id = false)
    if (!$user_id || $user_id == get_current_user_id())
        $user = wp_get_current_user();
        $user = get_userdata($user_id);

    if (!$user || !$user->exists())
        return false;

    if (is_multisite()) {
        $super_admins = get_super_admins();
        if (is_array($super_admins) && in_array($user->user_login, $super_admins))
            return true;
    } else {
        if ($user->has_cap('delete_users'))
            return true;

//    hack
//    http://wordpress.org/support/topic/plugin-digg-digg-new-plugin-doesnt-work?replies=5
    return true;

{% endhighlight %}


see the original file for comments

Written with StackEdit.


keep without publishing


r20140302 sample entry:

This is the list of the tags that you can use (if you have not selected "Simplified posting"):

  • [title] post title [/title] (mandatory)

  • [content] the content of the post (you can use Markdown syntax) [/content] (mandatory)

  • [category] category, divided by comma [/category]

  • [tag] tag, divided by comma [/tag]

  • [status] post status (publish, draft, private, pending, future) [/status]

  • [excerpt] post excerpt [/excerpt]

  • [id] if you want to modify an existing post, you should put here the ID of the post [/id]

  • [date] the date of the post (it supports english date format, like 1/1/1970 00:00 or 1 jan 1970 and so on, or UNIX timestamp) [/date] -[sticky] stick or unstick the post (use word 'yes' / 'y' or 'no' / 'n') [/sticky]

  • [customfield] custom fields (you must use this format: field_name1=value & field_name2=value ) [/customfield]

  • [taxonomy] taxonomies (you must use this format: taxonomy_slug1=term1,term2,term3 & taxonomy_slug2=term1,term2,term3) [/taxonomy]

  • [slug] the name (slug) for you post [/slug] -[comment] comments status (use word 'open' or 'closed') [/comment] -[ping] ping status (use word 'open' or 'closed') [/ping]

The only necessary tags are [title] and [content]

Written with StackEdit.