mardi 31 mai 2011

locate vs whereis vs find

whereis: will search only particular paths to find binaries and or manpages. The manpages tells you where whereis looks.( work for opensuse)

locate: locate uses a database created by an updatedb to efficiently locate files. Works great, assuming your database is updated often enough to be reasonable upto date. Most boxes using locate have the updatedb occuring in cron.(work for ubuntu and fedora)



ces 2 snt utilisé pr trouvé les chemins d emplacmnt des logiciel ou package


************************
find: find is perhaps one of the most powerful commands there is. For just locating a file/program of a particular name, it'll definitely be slower than locate or whereis becuase it will search each and every path recursively from it's start point. But for instance tell me how to use locate or where is to things like the following:

historique d achat mysql-sun-orcl

le 16 janvier 2008. Sun Microsystems Inc. annonce un accord définitif d’acquisition de MySQL AB, l’une des figures emblématiques de l’open source et le développeur de l’une des bases de données les plus dynamiques de ce domaine. Le montant de la transaction est d’environ 1 milliard de dollars. Cette acquisition renforce la position de Sun sur le marché de l’informatique d’entreprise, l’élargissant à celui des bases de données, qui représente 15 milliards de dollars. Cette annonce réaffirme la position de leader de Sun en matière de plates-formes destinées à l’économie Web, ainsi que de plus grand participant de l’open source commercial.

On April 20, 2009, Sun and Oracle announced a definitive agreement under which Oracle will acquire Sun

konqueror instal in fedora 15

actually at first I was a bit confuse of how to install konqueror in fedora 10, I kept trying to use command like this
yum install konqueror
but the output is that yum cannot find any package that name konqueror, so after much time searching in the internet I found that there is no package name konqueror in fedora repository. you have to install kdebase if you want to have konqueror in a gnome environment. so I do this
yum install kdebase

dimanche 29 mai 2011

Conserver le noyau de Windows 7 en mémoire vive!



Si vous avez plus de 2 Go de mémoire, vous pouvez limiter les échanges de données avec le disque dur  et gagner du temps en conservant le noyau de Windows 7 dans la mémoire vive de votre ordinateur. Notez que cela est également valable pour Windows Vista.
Pour cela il suffit modifier la valeur du clé de registre :


HKEY_LOCAL_MACHINE\ SYSTEM\\CurrentControlSet\ Control\Session Manager\ Memory Management\\DisablePagingExecutive
SystemW7-01
de 0 en 1 avec le programme regEdit.

jeudi 26 mai 2011

Fedora problem partition no enougth space

when we try to install it at side of windows
even the partition is a free(under windwos) it s not alowed to use it for fedora
so the solution is to delete it under the partition program
to becaom free not labled "ntfs" :p
so its so easy

mercredi 25 mai 2011

office 365 ??? les webap de microsoft

http://www.microsoft.com/fr-fr/office365/small-business/about.aspx#office-web-apps
office en lign +sharpoint +etcccc

vendredi 20 mai 2011

stream media from my computer via UPnP to tv or ps3

http://lifehacker.com/5803975/what-is-upnp-and-how-do-i-use-it-to-stream-media-to-my-tv

write an gmail gadget

http://code.google.com/apis/gadgets/docs/basic.html
get start
http://code.google.com/apis/gadgets/docs/gs.html
use gwt google framwork
http://code.google.com/p/gwt-google-apis/wiki/GadgetsGettingStarted



contextuel gadget c a d inseré au mail ( pour les google app :s)

lundi 16 mai 2011

creer un boot /contact

http://www.labnol.org/internet/tutorial-create-bot-for-gtalk-yahoo-messenger/4354/

composant sqlserver /agent

SQL Server Agent is a Microsoft Windows service that executes scheduled administrative tasks, which are called jobs

jeudi 12 mai 2011

Itanuim

Itanium   is a family of 64-bit Intel microprocessors that implement the Intel Itanium architecture (formerly called IA-64). Intel markets the processors for enterprise servers and high-performance computing systems. The architecture originated at Hewlett-Packard (HP), and was later jointly developed by HP and Intel.


SQL Server Native Client 10.0 ODBC Driver


The SQL Server Native Client...

...contains the SQL Server ODBC driver and the SQL Server OLE DB provider in one native dynamic link library (DLL) supporting applications using native-code APIs (ODBC, OLE DB and ADO) to Microsoft SQL Server.
+



http://www.connectionstrings.com/Providers/sql-server-native-client-10-0-odbc-driver


Importing-MS-Excel-data-to-SQL-Server

http://dotnetslackers.com/articles/sql/Importing-MS-Excel-data-to-SQL-Server-2008.aspx
++++

  "C:\Program Files\Microsoft SQL Server\90\DTS\Binn\DTSWizard.exe"

boot from usb for xp

It is not possible to boot WinXP from a USB-Mass-Storage-Device which is not a supported boot device under Windows XP. This issue is related with WinXP, since it doesn't allow booting from a removable drive.
XP Embedded or WEPOS allow booting from USB.
Use a IDE hard disk to install Windows XP on Woodpecker or use Windows Embedded Standard, XP Embedded or WEPOS.
but possible for sata

mercredi 11 mai 2011

ATM ou ip

Débit ATM



Le débit ATM est le débit mesuré au niveau du DSLAM, contrairement au débit IP qui est mesuré entre le DSLAM et l'abonné.
Désormais, les FAI ne communiquent plus que par des débits ATM, coup marketing permettant de relancer la course aux débits.
Ex : 20 Mbps ATM = 16 Mbps IP.


http://www.clubic.com/actualite-18327-adsl-les-fai-jouent-sur-les-debits-ip-et-atm.html

what-difference-between-Dataset-DataSource

http://www.dotnetspider.com/forum/54623-what-difference-between-Dataset-DataSource.aspx

Mysql // ODBC // crystal report

pour utiliser mysql comme source de donne fo
installer le mysql_odbc-driver
http://dev.mysql.com/downloads/mirror.php?id=396600#mirrors

ensuite ajouter





mardi 10 mai 2011

redirection selon ip en php

<?php
 header("Status: 301 Moved Permanently", false, 301);
$ip = $_SERVER["REMOTE_ADDR"];

echo $ip;
$needle="192.168.14";
if (strpos($ip,$needle) !== false) {
  header("Location: http://aaaa/");
}
else
 header("Location: http://bbbbbb/");

//
exit();
 ?>

lundi 9 mai 2011

How To: Using m0n0wall to create a Wireless Captive Portal

http://www.tomsguide.com/us/how-to-monowall-portal,review-319.html

How to Create a Simple Captive Portal

The captive portal technique forces an HTTP client on a network to see a special web page (usually for authentication purposes) before using the Internet normally. A captive portal turns a Web browser into an authentication device.[1] This is done by intercepting all packets, regardless of address or port, until the user opens a browser and tries to access the Internet. At that time the browser is redirected to a web page which may require authentication and/or payment, or simply display an acceptable use policy and require the user to agree. Captive portals are used at most Wi-Fi hotspots, and it can be used to control wired access (e.g. apartment houses, hotel rooms, business centers, "open" Ethernet jacks) as well.


http://www.buzzle.com/articles/how-to-create-a-simple-captive-portal.html

vendredi 6 mai 2011

chnger index du site

view deflt canvas layout

du theme

.htaccess PRboblem with opensuse

j ai un prb li hress li rassi
apre changmnt de dossier pour mn web folder vers /srv/www/htdc
j ai eu prblm avec .htaccess
c est que apache sous open sue ne prd po en consideration le .htaccess qu j ai ds mn dossier web
opur cela il a fallu
Open up default-server.conf +Just change AllowOverride None to All.


<Directory "/srv/www/htdocs">

    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs-2.2/mod/core.html#options
    # for more information.
    Options None
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    AllowOverride all
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
</Directory>

jeudi 5 mai 2011

delete non empty folder

Linux delete diretory, Recursive non-empty Directory Delete, Remove files,


rm -rf *

mardi 3 mai 2011

activer mod_rewrite dans apache2 sous opensuse

http://ajitabhpandey.info/2010/08/enable-apache-mod_rewrite-module-on-opensuse/

les modules se trouve sous

usr/lib/apache2
grep "^APACHE_MODULES" /etc/sysconfig/apache2

to enable curl just download it and restart apache

Nombre total de pages vues