Category: Uncategorized
-
How to delete message from sendmail queue
First find it with$ mailq/var/spool/mqueue (1 request)—–Q-ID—– –Size– —–Q-Time—– ————Sender/Recipient———–w0MEs0vA055142 5289 Mon Jan 22 14:54(Deferred: Operation timed out with some server.) Total requests: 1 Then delete it using qtool.pl (in sendmail’s contrib dir): ./qtool.pl -C /etc/mail/sendmail.cf -d /var/spool/mqueue/w0MEs0vA055142
-
Command for CMake to generate makefiles showing commands
cmake -DCMAKE_VERBOSE_MAKEFILE=on …
-
Nice website with Eclipse programming tutorials
Vogella Eclipse Plugin Development JFace examples from Eclipse project
-
How to run Eclipse with debug info sent to console
By running it from command line with arguments -consoleLog -debug
-
How to build JAR from Eclipse plugin project
Right click project in project explorer window, choose “Export…“, then choose “Deployable plug-ins and fragments” under “Plug-in Development“. After that everything should be simple – when choosing directory to export be aware that inside that directory plugins subdirectory will be created and plugin jar will be placed in it (rather than in directory itself).
-
Clean package cache
Run pkg clean. Quite logical, but I keep forgetting command.