This file contains 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
jQuery.validator.addMethod("pattern", function (b, a, c) { | |
if (this.optional(a)) { | |
return true | |
} | |
if (typeof c === "string") { | |
c = new RegExp("^(?:" + c + ")$") | |
} | |
return c.test(b) | |
}, "Invalid format."); |
This file contains 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 | |
use Doctrine\ORM\Mapping as ORM; | |
use Symfony\Component\HttpFoundation\File\UploadedFile; | |
use Symfony\Component\Validator\Constraints as Assert; | |
use Gedmo\Mapping\Annotation as Gedmo; | |
/** | |
* | |
* @ORM\Table() |
This file contains 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
SELECT * FROM DBA_DATA_FILES; | |
ALTER TABLESPACE TBS_DB | |
ADD DATAFILE 'D:\APP\RBS\PRODUCT\11.2.0\DBHOME_1\DATABASE\TBS_DB5.DBF' | |
SIZE 10G | |
AUTOEXTEND ON; | |
ALTER DATABASE DATAFILE 'D:\APP\RBS\PRODUCT\11.2.0\DBHOME_1\DATABASE\TITAS_DB2.DBF' AUTOEXTEND ON; |
This file contains 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
/* | |
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | |
For licensing, see LICENSE.md or http://ckeditor.com/license | |
*/ | |
CKEDITOR.dialog.add("placeholder", function (a) { | |
var b = a.lang.placeholder; | |
a = a.lang.common.generalTab; | |
return { | |
title: b.title, | |
minWidth: 300, |
This file contains 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
CREATE USER TITAS | |
IDENTIFIED BY TITAS_PASSWORD | |
DEFAULT TABLESPACE TITAS_DB | |
TEMPORARY TABLESPACE temp | |
QUOTA UNLIMITED ON TITAS_DB; | |
GRANT create session TO TITAS; | |
GRANT create table TO TITAS; | |
GRANT create view TO TITAS; | |
GRANT create trigger TO TITAS; |
This file contains 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 | |
// Page créé par Shepard [Fabian Pijcke] <Shepard8@laposte.net> | |
// Arno Esterhuizen <arno.esterhuizen@gmail.com> | |
// et Romain Bourdon <rromain@romainbourdon.com> | |
// et Hervé Leclerc <herve.leclerc@alterway.fr> | |
// | |
// Mise a jour par Herve Leclerc herve.leclerc@alterway.fr | |
// Ici par Mark James <http://www.famfamfam.com/lab/icons/silk/> |
This file contains 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
... | |
new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(), | |
... |
This file contains 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
while true | |
do | |
if nc -w 2 server2 9999 < /dev/null > /dev/null 2>&1 | |
then | |
# Service is currently running | |
[ "$PREV" = "NOT" ] && /path/to/your/script | |
PREV="RUNNING" | |
else | |
# Service 2 is not running on server2 | |
PREV="NOT" |
This file contains 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
CREATE FUNCTION func01(value1 INT , monto DECIMAL (10,2)) | |
RETURNS DECIMAL(10,2) | |
DETERMINISTIC | |
BEGIN | |
DECLARE var_name DECIMAL(10,2); | |
SET var_name = 0; | |
SELECT if(value1 = 1,monto *divisa_dolar,monto *divisa_euro) INTO var_name | |
FROM table | |
WHERE data_init = 1; | |
RETURN var_name; |
This file contains 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
CREATE TABLE `patient` ( | |
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, | |
`national_id` varchar(17) DEFAULT NULL, | |
`uid` varchar(11) DEFAULT NULL, | |
`bin_brn` varchar(19) DEFAULT NULL, | |
`given_name` varchar(255) DEFAULT NULL, | |
`sur_name` varchar(255) DEFAULT NULL, | |
`full_name_bangla` varchar(255) DEFAULT NULL, | |
`address_line` varchar(255) DEFAULT NULL, |
NewerOlder