A very old document for help you with javascript, very useful

http://mgarcia.info/JavaScript-Reference/

A little “script” to move your mysql database to another Server.

mysqldump -uusername -ppassword database | ssh username_ssh@hostname.com “mysql -uusername -ppassword database

A small javascript (mootools) for load javascript files.
This is great if you have a lots of javascript and you dont want have your <head> with this javascript.
With this script you can load a javascrip file when you want.

function include_js(file_path){
var js = new Element(’script’)
.setProperties({’src’:file_path,’type’:'text/javascript’})
.injectInside(document.head);
}

Ex.
include_js(’thm/js/calendar.js’);

Sorry, mootools has http://docs.mootools.net/Remote/Assets.js 

http://mgarcia.info/img/singleStroke.jpg

All done with a single stroke of the pen

If you have a server with ssh conection maybe you havent a secure configuration, with this Howto we will have a ssh more secure.

  1. With Root open /etc/ssh/sshd_config
  2. Change to the next … Protocol 2 and PermitRootLogin no
  3. Also you can change ssh’s port for example port 1230: Port 1230

You must to open the port 1230 in you Firewall and create a new user for “su”

Hello again, this time a bought some domains very interesting (I thinks so hehe)

bestmegastore.com
topsent.com
audiokid.com
fotosc.com

Also another domains because i want to do different blogs about travel as

MYADVENTURE-TRAVEL.COM and Kahului-Travel

Buy domains is like a drugs haha… Merry Christmas !!

My new script for Mootools, with this script you can show results for a input

You can see a example here

Sometime in my job, i need a calendar but i had a poor calendar, bad javascript and desing…

Now, i know Mootools and i thought , i should to do a calendar for Mootools.

The Calendar is a spanish version but im working in a new version in English or may be in a version where you can configure the language.

You should add this class (’ncalendar’) to a input and upload images and css from Example web.

You can see a Example , download a extended version or packed version if you want.

Enjoy the scripts ;)

Edit: New Version 09/02/2008
Note :Design by Robert (thanks!)

New Features

  1. You can select max and min Date
  2. You can select a format date, ex. d/m/y m/d/Y etc…
  3. New Design
  4. Bug fixed (32 days??)

Hello again, this is my new script (of course for Mootools) .

With this script you can have forms with small tips, this tips shows when you clicks in a input or textarea, this one its
great when you want show information like ‘please write valid email’ or something like that.

Tips for Mootools its a small script, almost 1.5k , easy to do work and inspirated askthecssguy.com ’s script

Example:

http://www.mgarcia.info/examples/hints.html

Hello again, this is my first script for JQuery (another javascript framework),
its a calendar or datepickers like my last javascritps calendar for mootools.
You can see a example here

If you have a suggestions , please comments , thanks!

Next Page »