Skip to content

Instantly share code, notes, and snippets.

@FinalDestiny
FinalDestiny / HTTP e stateless.txt
Created August 15, 2011 20:40
soluţiile mele pentru yap-phpro-book (FinalDestiny)
HTTP este un protocol stateless, nu stocheaza datele trimise la fiecare cerere trimisa catre Apache. Fiecare cerere este tratata independent, nedepinzand de oricare alta cerere trimisa anterior. Cum in viitor voi programa aplicatii dinamice, va trebui sa stochez anumite informatii primite de la utilizatori, pentru a genera continut dinamic. Putem stoca informatiile folosind fisiere, baze de date, HTTP cookies.
@FinalDestiny
FinalDestiny / databasedesign.sql
Created September 22, 2011 17:49
database design
-- phpMyAdmin SQL Dump
-- version 3.4.4
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Sep 22, 2011 at 08:43 PM
-- Server version: 5.5.15
-- PHP Version: 5.3.8
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
var ET_PageBuilder = ET_PageBuilder || {};
window.wp = window.wp || {};
/**
* The builder version and product name will be updated by grunt release task. Do not edit!
*/
window.et_builder_version = '3.0.91';
window.et_builder_product_name = 'Divi';
<?php
class ET_Builder_Module_Custom_Gallery extends ET_Builder_Module {
function init() {
$this->name = esc_html__( 'Gallery', 'et_builder' );
$this->slug = 'et_pb_gallery';
$this->fb_support = true;
$this->whitelisted_fields = array(
'src',
<script src="http://engagementdeo.mx/wp-content/themes/Divi/js/jquery.sticky.js"></script> <script> jQuery(document).ready(function(){ jQuery("#sticker").sticky({bottomSpacing:0});
});
</script>
@import url('https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz');
< iframe width="100%" height="315" src="https://www.youtube.com/embed/1wYNFfgrXTI?rel=0&autoplay=1" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen></iframe>
<?php
if ( ! function_exists( 'et_allow_ampersand' ) ) :
/**
* Convert &amp; into &
* Escaped ampersand by wp_kses() which is used by et_get_safe_localization()
* can be a troublesome in some cases, ie.: when string is sent in an email.
*
* @param string $string original string
*
<script type="text/javascript">
jQuery(function($) {
var target = $('.anigif'),
path = [], zenith, nadir, current,
modern = window.requestAnimationFrame;
target.each(function() {
path.push(this.src);