Control textbox size with CSS on CF7 (WP)

TL;DR:
If you’re using Contact Form 7, and need to modify any input size by CSS, use “00” as size. it will do the trick :)


Hey guys,

In one of my current projects I decided to use Contact Form 7, which is a very nice plugin as long as all you need is a simple, quick mail submission form. It is quite extensible and I saw several awesome extensions for better date support, adding maps to your form etc.

However, in my specific case, I did not choose that plugin for a mailing form, but for registration form, and the reason I decided to use it is that the project i’m on is VERY limited on resources. so even though you should never use CF7 for such purposes, sometimes you gotta do what you gotta do. bummer for me.

One of the most annoying things I had to deal with when using CF7, is the fact they have defaults for their input types, which obviously are hard-coded, and added directly to the HTML, so you cannot change it threw CSS :(

I tried putting “0” as size to avoid that, but it seems that someone think it’s not a valid input, so after reading some of its code (here), I noticed that it is possible to use “00” as a valid input!

Of course size=”00″ means nothing, and your sweet CSS can take charge of the size :)

Hope that this tip would help anyone…

Download all dependencies of a package on Ubuntu/Debian

UPDATE: Thanks To Julian, Now I know you can simply use

aptitude download ‘?reverse-depends(PKGNAME)’

 Awesome.


Hey there!

Several days ago a colleague asked me if there’s a way to download the dependencies of a package in a Debian based distribution, for an offline use.
Sound like an easy task, and after a while of thinking, i got remembered in a tool that used to ship with Ubuntu back in the days, called “Synaptic”, that used to have that tool.

However, there are some cons to that tool. first of all it’s a GUI one (GUI? Eeeeww!”), and second, it downloads only the packages missing to your current installation, so if you’re offline installation dismatch your own one, you’ve got a problem.

So I decided to take it as a challenge, and ended up with a little script I hope will help ya’ll. And you may find it in my github of course…

https://github.com/Ddorda/dl-deb-deps/blob/master/dl-deb-deps.sh

I think it’s pretty much straight-forward code, but if you have any questions you’re more than welcome to ask.

Dor.