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 | |
$mensaje = "Línea 1\r\nLínea 2\r\nLínea 3"; | |
$mensaje = wordwrap($mensaje, 70, "\r\n"); | |
mail('[email protected]', 'Mi título', $mensaje); | |
?> |
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
<div id="player"></div> | |
<script src="http://www.youtube.com/player_api"></script> | |
<script> | |
// create youtube player | |
var player; | |
function onYouTubePlayerAPIReady() { | |
player = new YT.Player('player', { |
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
admin account info" filetype:log | |
!Host=*.* intext:enc_UserPassword=* ext:pcf | |
"# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd | |
"AutoCreate=TRUE password=*" | |
"http://*:*@www" domainname | |
"index of/" "ws_ftp.ini" "parent directory" | |
"liveice configuration file" ext:cfg -site:sourceforge.net | |
"parent directory" +proftpdpasswd | |
Duclassified" -site:duware.com "DUware All Rights reserved" | |
duclassmate" -site:duware.com |
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
syntax on | |
set nu " Enable number lines" | |
set showcmd | |
set incsearch | |
set hlsearch | |
set autoindent | |
" Source a global configuration file if available | |
if filereadable("/etc/vim/vimrc.local") | |
source /etc/vim/vimrc.local | |
endif |
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
from django.db import connection | |
connection.set_schema("other_schema") |
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
-- Manual para 200000 inserts | |
BEGIN | |
FOR i IN 1..200000 LOOP | |
INSERT INTO CIUDAD VALUES(i, 'Ciudad ' || i); | |
COMMIT; | |
END LOOP; | |
END; | |
-- Bulk con 20000 inserts (Cargar en memoria y luego cargar en la tabla) | |
DECLARE |
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
-- Activar el DBMS_OUTUPUT | |
SET SERVEROUTPUT ON | |
Begin | |
Dbms_Output.Put_Line(Systimestamp); | |
End; | |
-- Creacion de tablas | |
CREATE TABLE TBL_EXAMPLE_CHAINED ( | |
Columna_1 number(15), |
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
CREATE TABLE LLAMADAS_PARTICIONADA( | |
ID NUMBER(8), | |
FECHA_INICIO DATE, | |
DURACION NUMBER(8) | |
) | |
PARTITION BY RANGE("FECHA_INICIO") | |
( | |
PARTITION llamadas_enero2014 VALUES LESS THAN (TO_DATE('02/01/2014', 'MM/DD/YYYY')) TABLESPACE USERS, | |
PARTITION llamadas_febrero2014 VALUES LESS THAN (TO_DATE('03/01/2014', 'MM/DD/YYYY')) TABLESPACE USERS, | |
PARTITION llamadas_marzo2014 VALUES LESS THAN (TO_DATE('04/01/2014', 'MM/DD/YYYY')) TABLESPACE USERS, |
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
-- Creating clusters | |
CREATE CLUSTER CLS_Persona_Ciudad (CIUDAD_ID NUMBER(20)); | |
CREATE TABLE CIUDAD_REG | |
( | |
CIUDAD_ID NUMBER(20) NOT NULL PRIMARY KEY, | |
NOMBRE VARCHAR2(20 BYTE) | |
) CLUSTER CLS_Persona_Ciudad (CIUDAD_ID); | |
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
var s = document.createElement("script"); | |
s.src="https://code.jquery.com/jquery-1.12.2.min.js"; | |
document.body.appendChild(s); | |
void(0); |