Archive for MovableApp.com

PowerString::passwd() API

PowerString::passwd() generates a random string, useful for passwords generation:

echo PowerString::passwd();

It generates a random password string with a length of 8 chars.

Source Namespaces:

To generate a random password PowerString uses some namespace strings self contained into a public static property.
You are able to alter it’s defaults!

These namespaces are available by default:

n -> 0123456789
c -> qazwsxedcrfvtgbyhnujmikolp
m -> QAZWSXEDCRFVTGBYHNUJMIKOLP
s -> ,;.:-_@#*!\"$%&/()=?^+[]'
i -> @#-_.

A random password is created using all of these chars by default!

Altering Random Password Length:

You can set a numeric first argument to teach PowerString::passwd() how long random password should be:

echo PowerString::passwd( 14 );

Random Password Length:

You can also set a min length and a max length for your password; password length is chosen as random value between $min and $max:

echo PowerString::passwd( 10, 14 );

Change Namespace:

You can define a custom namespace to use for password generation:

echo PowerString::passwd( 14, 'abc123' );
echo PowerString::passwd( 10, 14, 'abc123' );

Above code generates passwords with only “a”, “b”, “c”, “1″, “2″, “3″ chars inside.

You can also import a namespace into your custom namespace string:

echo PowerString::passwd( 14, ':n-' );

Above code generates passwords composed by numbers and “-” char.

Posted in MovableApp.com | Leave a comment

Old Developers VS New Developers

In developing universe there are two kind of developers.

You can think to them like Jedi VS Sith.

I am a Jedi, and you?

Continue reading »

Posted in MovableApp.com | Leave a comment

Execute complex Javascript in LessCSS

Today I was playing with my public project LessMixin adding some cool features when I ran into a LessCSS limit: loops!

Loops – for, while – are not implemented yet (but the author said it will never be!).

Continue reading »

Posted in MovableApp.com, Script, Tips & Tricks | 2 Comments

LiveMockup jQuery Plugin

Hi to all, today I want to share with you a little yet useful jQuery Plugin I made to create dynamic wireframes and mockups online: LiveMockup!

Continue reading »

Posted in MovableApp.com | 1 Comment

Learning Backbone – BackboneJS Tutorials and Examples

I’m learning BackboneJS, Underscore and related coding strategies. I will share with you my experience on this stuff publishing a set of full documented examples in a GitHub repository.

» Go to the Learning Backbone repo on GitHub! «

Continue reading »

Posted in MovableApp.com | 12 Comments

Cache Manifest Generator (PHP utility)

Today I played with jQueryMobile to create a simple and quick webapp composed by multiple pages linked together using standard jQueryMobile API.

 

>>> Go Quickly to the GitHub Repo! <<<

Continue reading »

Posted in MovableApp.com | Leave a comment

Swedish Greys - a WordPress theme from Nordic Themepark.