Often we need run a web site or web application via different version of firefox , for example firefox 3.5 and firefox 11 . For this action you can create multi profile for firefox , please follow me to create different profile (in MS Windows) :

1 -  Open CMD : c:\Program Files\Mozilla Firefox\firefox -profilemanager -no-remote

2 – Now Create new profile for firefox 3.5 & 11

3 – After create profiles you most change Target in firefox shotrcut to  :

"C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -P FireFox35 -no-remote
Note : FireFox35 is a profile

Note : You most install Firefox 3 and 11 in different places .

Congratulation .

Set TimeZone in JAVA

No comments

Set time zone in a web application is very important , The importance for it is more peresent a service
in several point in world (Internet logic) with different time , for example a customer use from you application in london
and another customer use it from tehran , … .

Example Code :

First import =>  java.util.Date , java.util.TimeZone , java.text.SimpleDateFormat

Define a function for :
Date cd = new Date();
SimpleDateFormat sdf = new SimpleDateFormat();
TimeZone tz = TimeZone.getTimeZone(“GMT”); // Set` TimeZone` on local time ‘GMT’
sdf.setTimeZone(tz);
sdf.format(cd);
Download Sample Class

What is Padre ?

No comments

Hello For My friends and happy new year , in last year (1390) , my manager defined a task for me about learning and implement application via PERL and defined sequence time for do it , of course I try start it in first day of new year (1391 jalali) but I didn’t think for use IDE , So I searched it on Synaptec and Debian Repositories !!! don’t panic ! In Debian repository you can find just FOSS softwares and you can use it without any preocuparse for free in use .

A simple IDE For PERL is Padre , Padre is an open source project with many participants. for download it you can visit it on : http://padre.perlide.org/download.html
Padre Is The Perl Application Development and Refactoring Environment (written in Perl 5).
Padre is Ready for Windows, Linux and Mac OS X.

Other screenshots : http://padre.perlide.org/screenshots.html
A table with many tools for Perl development. : Click Here
Padre blogs for learn it : http://blogs.padre.perlide.org/

Discipline in workplace

No comments

Discipline in the workplace is the means by which supervisory personnel correct behavioural deficiencies and ensure adherence to established company rules. The purpose of discipline is correct behaviour. It is not designed to punish or embarrass an employee.

Often, a positive approach may solve the problem without having to discipline. However, if unacceptable behaviour is a persistent problem or if the employee is involved in a misconduct that cannot be tolerated, management may use discipline to correct the behaviour.

In general, discipline should be restricted to the issuing of letters of warning, letters of suspensions, or actual termination. Employers should refrain from “disciplining” employees by such methods as altering work schedules, assigning an employee to do unpleasant work, or denying vacation requests.

 

Examples of misconduct which could result in discipline:

  1. Excessive tardiness
  2. Failure to notify of an absence
  3. Insubordination
  4. Rude or abusive language in the workplace
  5. Failure to follow “Departmental Rules or Policies “
  6. Dishonesty
  7. Theft

Text From HR Department in University Of British Columbia
Text in Farsi : Download

Objectives in LPI 1 exam : Junior Level Linux Certification

Exam 101
Exam 102
More Info…
Objectives in Farsi (PDF)
a book for prepare in the test :  LPI Linux Certification in a Nutshell


For buy in iran : http://www.sito.ir

Objective in LPI 2 exam : Advanced Level Linux Certification
prerequisite : LPI 1

Exam 201
Exam 202
More Info…

Objective in LPI 3 exam : Senior Level Linux Certification
prerequisite : LPI 2

Exam 301
More info…

LPI Map Career : http://kamari.bidcorpe.net/2010/11/14/lpi-map-carrer/
Supporter Companies :

Bertrand Russell

No comments

The fact that an opinion has been widely held is no evidence whatever that it is not utterly absurd; indeed, in view of the silliness of the majority of mankind, a wide-spread belief is more likely to be foolish than sensible.

Bertrand Russell

CSS3 3D

2 comments

Often we say about CSS 3 , but don’t think about CSS 3 Properties . When i do research for css 3 got good knowledge about it .
in CSS 3 you are ability for create vector objects in 3 dimenssion (X,Y, Z) .

Of course CSS3 is not yet a W3C standard .

CSS3 Supported by (Details in below table) :

Nice Sample for 3D in CSS3 :http://www.addyosmani.com/resources/googlebox/
and more :
http://www.netmagazine.com/features/20-stunning-examples-css-3d-transforms
Manual for use :http://www.w3.org/TR/css3-3d-transforms/
A good web application for create css3 objects + sample in IE : http://css3pie.com/
For Learning CSS3 : http://www.css3.info/
CSS3 Generator : http://css3gen.com/border-radius/


 

Sample Download

Sample Create :

in HTML :

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”><head>
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″>
<title>Sample For CSS 3D</title>
<link rel=”stylesheet” type=”text/css” href=”style.css” media=”screen”>

</head>
<body>
<div id=”wrapper”>
<h1>Mehdi Kamari</h1>
<p>Nice Sample For 3D in Mehdi Kamari’s blog</p>
</div>

</body></html>

in CSS File :

body
{
background:#d5d5d5;
}
#wrapper
{
width:960px;
min-height:500px;
padding:50px 10px 0 10px;
margin:0 auto;
text-align:center;
}
#wrapper h1
{
font:normal 60pt Arial;
color:#FFFFFF;
text-shadow: 0 1px 0 #ccc,
0 2px 0 #c9c9c9,
0 3px 0 #bbb,
0 4px 0 #b9b9b9,
0 5px 0 #aaa,
0 6px 1px rgba(0,0,0,.1),
0 0 5px rgba(0,0,0,.1),
0 1px 3px rgba(0,0,0,.3),
0 3px 5px rgba(0,0,0,.2),
0 5px 10px rgba(0,0,0,.25),
0 10px 10px rgba(0,0,0,.2),
0 20px 20px rgba(0,0,0,.15);
-webkit-transform:rotate(-5deg);
-moz-transform:rotate(-5deg);
}
#wrapper p
{
font:normal 40pt Arial;
color:#FFFFFF;
text-shadow: 0 1px 0 #ccc,
0 2px  0 #c9c9c9,
0 3px 0 #bbb,
0 4px 0 #b9b9b9,
0 5px 0 #aaa,
0 6px 1px rgba(0,0,0,.1),
0 0 5px rgba(0,0,0,.1),
0 1px 3px rgba(0,0,0,.3),
0 3px 5px rgba(0,0,0,.2),
0 5px 10px rgba(0,0,0,.25),
0 10px 10px rgba(0,0,0,.2),
0 20px 20px rgba(0,0,0,.15);
-webkit-transform:rotate(-5deg);
-moz-transform:rotate(-5deg);
}

Most Used Command

No comments

Do you want know witch command most used with you ?

 

Follow below Command :

history | awk ‘{print $2}’ | sort | uniq -c | sort -rn | head

Multi Router Traffic Grapher

No comments




For monitoring and Creating graph for your servers and routers, you should use MRTG (Multi Router Traffic Grapher) . MRTG Made by Perl Technology under GPL License and FOSS. MRTG for executing use SNMP Network Devices . Of course MRTG Graphs is not online and have a delay for showing result analysis. MRTG can create HTML files to show graphs and you can use it for sharing between lots of users .

Demo

For install MRTG just required run SNMP Service (if installed) And that’s enought download compatible version for your OS.

Note: Don’t required use of Apache / MySQL / PHP , But if you want share result on http you can install Apache .

MRTG Website

IBM Education Assistant

No comments




Today before starting my work @ office I started to research about standard books and a manual for using IBM Software of IBM references for learning and using for beginner users (Own).
I found nice manual in IBM Website , one part of IBM Website named `Education Assistant` .

In IBM Education Assistant you can find Simple Documents and Workflow movies  . of course these education assitans is contain documents for WebSphere , Tivoli , Rational ,Information Management ,Lotus .

of course IBM descrip about this part : IBM Education Assistant is a collection of multimedia educational modules designed to help you gain a better understanding of IBM software products and use them more effectively to meet your business requirements.

Link

Empowered by My Advanced Settings, by Xhanch Studio