This is a really simple plugin I always add to my default installation of WPMU. Nowadays embedded media are really commons in blog’s post and all my customers were asking for it.
I found the plugin “Allow Embedded Videos” (http://wpmudev.org/project/Allow-Embedded-Videos) but still the button in the editor didn’t show up.
If you have access on the machine with MySQL and you need to export all tables in a database you can use:
hpatoio@namazu:~$ mysqldump -uroot -p DATABASE_NAME -T '/home/simone/export_csv' --fields-terminated-by "," --fields-enclosed-by '"' --lines-terminated-by "\n"
the script will create a files for each table of the DB and will place it in export_csv.
If you need to export a custom resultset or you need to export data from a remote MySQL server on your machine you can use this command :
hpatoio@namazu:~$ mysql -uroot -h HOSTNAME -p DATABASE_NAME -B -e "select field1,field2 ... fieldX from \`TABLE_NAME\`;" | sed 's/\t/","/g;s/^/"/;s/$/"/;s/\n//g' > my_export.csv
I was looking for a good and clean editor for one of my customers, and I end up to WYMeditor !
That’s the way I like, that’s the way I meant !
shiftDay = 10
var myDate = new Date();
myDate.setDate(myDate.getUTCDate() + shiftDay)
day = myDate.getUTCDate()
month = myDate.getUTCMonth()*1 + 1
year = myDate.getUTCFullYear()
This code is quite easy:
last_day_of_the_month = (Date.parse(year_to_process + "-" + (month_to_process.to_i + 1).to_s + "-01") - 1).mday().to_s
My interest for XUL is groving every day. Today I started to develop a Thunderbird Extension.
Nothing special, just want to explore the XUL world.
Here some usefull links: