Skip to content

Instantly share code, notes, and snippets.

View jsalinas's full-sized avatar

Jorge Salinas jsalinas

  • Freelance
  • Lima, Perú
View GitHub Profile
<div class="row">
<div class="col-md-4">
imagen
</div>
<div class="col-md-8">
pdfs
</div>
</div>
$view = new view();
$view->name = 'qrk_staff';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'Staff';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
<div class="accordeon">
<div class="accordeon--label">
<h2 class="accordeon--title"><button aria-expanded="false" aria-controls="accordeon-content-1">Accordeon Title</button></h2>
</div>
<div id="accordeon-content-1" class="accordeon--content" aria-hidden="true">
Kamel ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit nibh a velit gravida efficitur.
</div>
</div>
{{ devel_dump(content.field_column_content_left[0]) }}
{{ devel_dump(content.field_column_content_left[0]['#paragraph']) }}
{%
set classes = [
'paragraph',
'paragraph--type--' ~ paragraph.bundle|clean_class,
view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class,
parameters:
session.storage.options:
# Default ini options for sessions.
#
# Some distributions of Linux (most notably Debian) ship their PHP
# installations with garbage collection (gc) disabled. Since Drupal depends
# on PHP's garbage collection for clearing sessions, ensure that garbage
# collection occurs by using the most common settings.
# @default 1
gc_probability: 1
<section id="widget_store-2" class="widget widget_widget_store clearfix">
<h4 class="spb-heading"><span>From the CV Store</span></h4>
<div class="rfbp-image-wrap">
<ul>
<li>
<a class="rfbp-image-link flickr-img-link" href="http://www.newcatholicvote.org.php53-23.dfw1-1.websitetestlink.com/product/sed-mollis-lorem-diam/">
<img class="rfbp-image flickr" src="http://www.newcatholicvote.org.php53-23.dfw1-1.websitetestlink.com/imgImagick/lastProductImage-1.jpg?9160">
</a>
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:image="http://www.sitemaps.org/schemas/sitemap-image/1.1"
xmlns:video="http://www.sitemaps.org/schemas/sitemap-video/1.1">
<url>
<loc>http://www.example.com/foo.html</loc>
<image:image>
<image:loc>http://example.com/image.jpg</image:loc>
</image:image>
<video:video>
@jsalinas
jsalinas / new_gist_file
Created May 14, 2013 17:31
Different classes for each Colorbox modal
$('.js-colorbox-1').colorbox({
width: '50%',
onOpen:function(){
// add unique class
$('#colorbox').addClass('first-modal-box');
},
});
//http://stackoverflow.com/a/13766731