How to render proxy clips in Kdenlive again (e.g. after you’ve change the quality settings for the proxies):
Double click the clip in the project tree and click the button “Delete proxy”. After that the proxy clip should be created again.
How to render proxy clips in Kdenlive again (e.g. after you’ve change the quality settings for the proxies):
Double click the clip in the project tree and click the button “Delete proxy”. After that the proxy clip should be created again.
The default setup for Munin in Debian seems to miss some packages for the mysql_ plugin.
/usr/share/munin/plugins/mysql_ suggest
will give you
Missing dependency Cache::Cache at /usr/share/munin/plugins/mysql_ line 716.
The solution was easier than excpected:
aptitude install libcache-cache-perl
and done.
There is a little difference between tokenize and split in Groovy:
def csv = "1,,3,4,5"
println csv.split(",")
println csv.tokenize(",")
results in
[1, , 3, 4, 5] [1, 3, 4, 5]
Note that tokenize ignores the empty element.
Edit: I just found this blog-post covering the same topic
I’ve poked around the web for while to find some good resource about how to add my own controller to Magento and this turned out very usful:
http://www.about-magento.com/magento-developper-guide-howto-tutorial-5
Thanks to Pierre! =)
Onliner found here to reset a user password for the OpenVZ Web Panel (admin in this case)
ruby /opt/ovz-web-panel/script/runner -e production 'user = User.find_by_login("admin"); user.password = "admin"; user.save(false)'
Having problems installing Ubunut 11.10 via USB “An attempt to configure apt to install additional packages from the CD failed”
Use this:
sudo rm /usr/lib/ubiquity/apt-setup/generators/40cdrom
I’ve setup a fresh vServer-environment for a few test and developmentmachines to play around with.
When I tried to install gitolite via aptitude everything fails and the whole system is near an explosion:
root@git:~# aptitude install git-daemon-run runit
The following partially installed packages will be configured:
runit
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
/bin/sh: /usr/bin/apt-listchanges: not found
Setting up runit (2.1.1-6.2) ...
kill: 49: No such process
dpkg: error processing runit (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
runit
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up runit (2.1.1-6.2) ...
kill: 49: No such process
dpkg: error processing runit (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
runit
Maybe this can help someone, because below a bunch of mails on the Debian mailinglist there is a bugreport with a workaround:
If you try to install the runit package, and after the failure remove the SV inittab entry, edit /var/lib/dpkg/info/runit.postinst and remove the 'kill -S HUP 1', and then run 'dpkg --configure runit', does the installation succeed, and if yes, is a runsvdir program running?
Yes it does! At least for me.
I just had the case that I needed to rename all old .html-files into .php for a large website.
This little command did it for me
find . -name "*.html" -exec rename -v 's/\.html$/\.php/' {} \;
var gh = require('grasshopper');
gh.configure({
staticsDir: 'public'
});
Install first:
than the install will work smoothly =)