<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://wiki.przemoc.net/lib/exe/css.php?s=feed" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Przemoc's wiki tips</title>
    <subtitle></subtitle>
    <link rel="alternate" type="text/html" href="http://wiki.przemoc.net/"/>
    <id>http://wiki.przemoc.net/</id>
    <updated>2010-07-04T03:37:07+02:00</updated>
    <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
<link rel="self" type="application/atom+xml" href="http://wiki.przemoc.net/feed.php" />
    <entry>
        <title>tips:gcc</title>
        <link rel="alternate" type="text/html" href="http://wiki.przemoc.net/tips/gcc"/>
        <published>2009-10-04T18:31:33+02:00</published>
        <updated>2009-10-04T18:31:33+02:00</updated>
        <id>http://wiki.przemoc.net/tips/gcc</id>
        <summary>General

Default defines

$ echo | gcc -E -dM -

MinGW

__declspec(dllexport), __stdcall and lacking underscore


Start with following article: Stdcall and DLL tools of MSVC and MinGW. You can read there that in MSVC DLL functions in stdcall calling convention and marked as __declspec(dllexport) are decorated with leading underscore and closing @nn, where nn is the number of bytes in the argument list. However, in MinGW DLL you won't find the underscore and this is a problem for MSVC application…</summary>
    </entry>
    <entry>
        <title>tips:latex</title>
        <link rel="alternate" type="text/html" href="http://wiki.przemoc.net/tips/latex"/>
        <published>2009-12-02T12:49:42+02:00</published>
        <updated>2009-12-02T12:49:42+02:00</updated>
        <id>http://wiki.przemoc.net/tips/latex</id>
        <summary>Common mistakes

Closed interval

Incorrect

&lt;0,1&gt;




Correct


\langle 0,1 \rangle





Colon in function definition

Incorrect

f: \mathbb{R} \to \mathbb{R}




Correct


f\colon \mathbb{R} \to \mathbb{R}





Comma as decimal point

Incorrect

12,34</summary>
    </entry>
    <entry>
        <title>tips:linux</title>
        <link rel="alternate" type="text/html" href="http://wiki.przemoc.net/tips/linux"/>
        <published>2010-01-28T17:46:05+02:00</published>
        <updated>2010-01-28T17:46:05+02:00</updated>
        <id>http://wiki.przemoc.net/tips/linux</id>
        <summary>Problems

NetBeans 6 - empty window in installer


Turn of Compiz/Beryl and restart installer.

Debian/Ubuntu and VirtualBox with host interface networking and bridging


Have you followed instructions and now you have network problems with host (but not with guest)?</summary>
    </entry>
    <entry>
        <title>tips:mysql</title>
        <link rel="alternate" type="text/html" href="http://wiki.przemoc.net/tips/mysql"/>
        <published>2007-12-02T01:32:24+02:00</published>
        <updated>2007-12-02T01:32:24+02:00</updated>
        <id>http://wiki.przemoc.net/tips/mysql</id>
        <summary>Administration

Resetting forgotten root's password


# /etc/init.d/mysql stop
# mysqld_safe --skip-grant-tables &amp;
# mysql -uroot mysql



mysql&gt; UPDATE user SET password = PASSWORD('YourNewPassword') WHERE user = 'root';
mysql&gt; FLUSH PRIVILEGES;
mysql&gt; \q</summary>
    </entry>
    <entry>
        <title>tips:qtcreator</title>
        <link rel="alternate" type="text/html" href="http://wiki.przemoc.net/tips/qtcreator"/>
        <published>2009-10-07T14:04:53+02:00</published>
        <updated>2009-10-07T14:04:53+02:00</updated>
        <id>http://wiki.przemoc.net/tips/qtcreator</id>
        <summary>Configuration

Where is QtCreator.ini?
    OS         Location    *nix        $HOME/.config/Nokia/QtCreator.ini  Windows     %APPDATA%\Nokia\QtCreator.ini     
Where is a directory containing files with color schemes/styles?
    OS         Location    *nix        $HOME/.config/Nokia/qtcreator/styles  Windows     %APPDATA%\Nokia\qtcreator\styles     
Dark theme


First, I suggest turning off font anti-aliasing, especially on Windows. You can do it in Tools -&gt; Options -&gt; Text Editor -&gt; Font &amp; Colo…</summary>
    </entry>
    <entry>
        <title>tips:thinkpad</title>
        <link rel="alternate" type="text/html" href="http://wiki.przemoc.net/tips/thinkpad"/>
        <published>2007-11-18T13:56:43+02:00</published>
        <updated>2007-11-18T13:56:43+02:00</updated>
        <id>http://wiki.przemoc.net/tips/thinkpad</id>
        <summary>Windows

Slow Inernet Explorer 7 startup


Run IE7, go to menu -&gt; Tools -&gt; Manage Add-ons -&gt; Enable or Disable Add-ons, disable CPwmIEBrowserHelper Object (comes from Lenovo) and restart browser.</summary>
    </entry>
    <entry>
        <title>tips:web</title>
        <link rel="alternate" type="text/html" href="http://wiki.przemoc.net/tips/web"/>
        <published>2008-10-03T19:57:27+02:00</published>
        <updated>2008-10-03T19:57:27+02:00</updated>
        <id>http://wiki.przemoc.net/tips/web</id>
        <summary>YouTube videos in higher quality


To watch any video in higher quality (480×360 instead of 320×240) you must simply add to URL &amp;fmt=18. Test this on The Invisible trailer: normal quality vs higher quality. Difference is clearly visible.

More info at Jimmy Ruska's Blog.</summary>
    </entry>
    <entry>
        <title>tips:windows</title>
        <link rel="alternate" type="text/html" href="http://wiki.przemoc.net/tips/windows"/>
        <published>2008-04-20T16:47:35+02:00</published>
        <updated>2008-04-20T16:47:35+02:00</updated>
        <id>http://wiki.przemoc.net/tips/windows</id>
        <summary>Problems

Finding Uptime


Type in command prompt (Win+R, cmd, [ENTER]):
net stats srv

After “Statistics since” there is a date/time of the last startup.

Inaccessible big network share


My partition is built on RAID0 and has 740 GB. Accessing this admin share was giving an error: 

Not enough server storage is available to process this command.</summary>
    </entry>
</feed>
