This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | -- Comptage du nombre de procédure stockée Utilisateur | |
| select count(*) 'Procédures stockées' from sysobjects where OBJECTPROPERTY(id, N'IsProcedure')=1 and OBJECTPROPERTY(id, N'IsMSShipped')=0 | |
| go | |
| -- Comptage du nombre de triggers sur des tables Utilisateur | |
| select count(*) 'Triggers' from sysobjects where OBJECTPROPERTY(id, N'IsTrigger')=1 and OBJECTPROPERTY(parent_obj, N'IsMSShipped')=0 | |
| go | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| // On démarre la session | |
| // (ceci est indispensable dans TOUTES les pages de notre section membre, mais une seul fois pas page -si on fait des includes....) | |
| // TOUJOURS AU TOUT DEBUT DE LA PAGE | |
| session_start (); | |
| // pour une page de connection | |
| $_SESSION['login'] = $_POST['login']; | |
| $_SESSION['pwd'] = $_POST['pwd']; | |
| ?> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Lister les fichiers d'un répertoire dans un fichier: | |
| Dos: dir > file.txt | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* | |
| // Maven package | |
| <dependency> | |
| <groupId>javax.mail</groupId> | |
| <artifactId>mail</artifactId> | |
| <version>1.4.7</version> | |
| </dependency> | |
| */ | |
| package com.xxx.commons; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | IF EXISTS ( | |
| SELECT * FROM INFORMATION_SCHEMA.TABLES | |
| WHERE TABLE_SCHEMA = 'RTO_REFERENTIELS' AND TABLE_NAME = 'TR_MAPPING_TO_TSO_METHODE_RMOM' | |
| ) | |
| DROP TABLE [RTO_REFERENTIELS].[TR_MAPPING_TO_TSO_METHODE_RMOM] | |
| GO | |
| -- VUE | |
| IF EXISTS (SELECT TABLE_NAME, TABLE_SCHEMA FROM INFORMATION_SCHEMA.VIEWS | |
| WHERE TABLE_SCHEMA = 'UTI_REFERENTIELS' AND TABLE_NAME = 'VR_OUVRAGE_UTI_ASTEC') | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // Initialisé à la date et l'heure courrante. | |
| GregorianCalendar calendar = new java.util.GregorianCalendar(); | |
| // Initialisé avec une instance de Date. | |
| calendar.setTime( maDate ); | |
| /* sur le champs "jour" (7 jours plus tôt) : */ | |
| calendar.add (Calendar.DATE, -7); | |
| /* sur le champs "mois" (5 mois plus tard) : */ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* | |
| http://java.developpez.com/faq/java/?page=langage_chaine#LANGAGE_STRING_conversion_string | |
| */ | |
| // IMPORT | |
| import java.util.Locale; | |
| import java.text.DateFormat; | |
| // 1. Choix de la langue | |
| Locale locale = Locale.getDefault(); | |
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* French initialisation for the jQuery UI date picker plugin. */ | |
| /* Written by Keith Wood (kbwood{at}iinet.com.au), | |
| Stéphane Nahmani (sholby@sholby.net), | |
| Stéphane Raimbault <stephane.raimbault@gmail.com> | |
| https://github.com/jquery/jquery-ui/tree/master/ui/i18n | |
| */ | |
| jQuery(function($){ | |
| $.datepicker.regional['fr'] = { | |
| closeText: 'Fermer', | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <a class="emboss lightAgain" title="Lorem ipsum">Lorem ipsum</a> | |
| <a class="emboss darkAgain" title="Lorem ipsum">Lorem ipsum</a> | |
| .emboss { | |
| font-size:4em; padding:50px; font-weight:bold; background:#0A539C; display:block; font-family: arial, sans-serif; | |
| } | |
| .lightAgain { color:#FFFFFF; position:relative; } | |
| .lightAgain:before { | |
| content: attr(title); | |
| position:absolute; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // Getting the EntityManagerFactory from a singleton in the PersistenceManager class | |
| public class PersistenceManager { | |
| public static final boolean DEBUG = true; | |
| private static final PersistenceManager singleton = new PersistenceManager(); | |
| protected EntityManagerFactory emf; | |
| public static PersistenceManager getInstance() { |