Skip to content

Instantly share code, notes, and snippets.

View denisbouquet's full-sized avatar
💭
open tag, closing tag...

Denis BOUQUET denisbouquet

💭
open tag, closing tag...
View GitHub Profile
<div class="vimeo-wrapper hide-on-mobile">
<div class="vimeo-placeholder vimeo-unmute"
data-src="https://player.vimeo.com/video/293314201?background=1"
data-title="Mobility Showreel - June 2018"></div>
<div class="audio-control js-audio-control "><span>unmute</span></div>
</div>
---
@denisbouquet
denisbouquet / SB key binding
Created September 11, 2018 10:33
Sublime Text - personal key binding
[
// br enter
{
"keys": ["shift+enter"], "command": "insert_snippet", "args": {"contents": "<br />"}, "context":
[
{
"operand": "text.html",
"operator": "equal",
"match_all": true,
"key": "selector"
<?php
if (have_rows('sections')) {
while (have_rows('sections')) {
the_row();
if (get_row_layout() == "text_section") {
$background_colour = get_sub_field('background_colour');
if( have_rows('text_element') ) {
@denisbouquet
denisbouquet / Feed sample .xml
Last active April 20, 2016 10:53
Feed sample xml Make-up studio
<group displayName="LASHES" id="1">
<layer product_id="dg_17" stroke_count="2" img="dg_17.png"/>
<layer product_id="dg_18" stroke_count="2" img="dg_18.png"/>
<layer product_id="dg_19" stroke_count="2" img="dg_19.png"/>
</group>