Skip to content

Instantly share code, notes, and snippets.

:octocat:
Out sick

Christopher Dosin ChristopherDosin

:octocat:
Out sick
Block or report user

Report or block ChristopherDosin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ChristopherDosin
ChristopherDosin / Manager.php
Created May 8, 2016 — forked from shyim/Manager.php
PHP - WebPush Manager
View Manager.php
<?php
namespace GSS\Component\Push;
use Symfony\Component\DependencyInjection\Container;
class Manager
{
const GCM_URL = 'https://android.googleapis.com/gcm/send/';
const MOZ_URL = 'https://updates.push.services.mozilla.com/push/v1/';
private $db;
View Laravoice.skema
[{"name":"contacts","color":"Red","position":{"x":100,"y":100},"increment":true,"timestamp":true,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c137","order":0},{"name":"is_organisation","type":"integer","length":"","defaultvalue":"false","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c129","order":1},{"name":"salutation","type":"string","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":true,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c148","order":2},{"name":"first_name","type":"string","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":true,"ui":false,"in":false,"un":false,"fillable":false,"guarded":fals
View gist:fde52a726df841c96b16
.product--details {
.product--header {
padding-bottom:0;
.product--title {
color:@brand-primary;
.unitize(font-size, 24);
}
.product--features {
.unitize-margin(20, 0);
.unitize(padding-bottom, 20);
@ChristopherDosin
ChristopherDosin / index.tpl
Created Jul 31, 2015
Append Suppliername after Article List
View index.tpl
{extends file='frontend/detail/index.tpl'}
{* frontend/detail/index.tpl *}
{block name='frontend_detail_data_attributes_attr2' append}
{if $sArticle.supplierName}
<li class="base-info--entry entry-attribute">
<strong class="entry--label">
{s name="DetailSupplierNameLabel"}{/s}:
</strong>
<span class="entry--content">
@ChristopherDosin
ChristopherDosin / index.tpl
Created Jul 31, 2015
Append Suppliername after Article Numer
View index.tpl
{extends file='frontend/detail/index.tpl'}
{* frontend/detail/index.tpl *}
{block name='frontend_detail_index_buy_container_base_info' append}
{if $sArticle.supplierName}
<p>{$sArticle.supplierName}</p>
{/if}
{/block}
@ChristopherDosin
ChristopherDosin / index.tpl
Created Jul 31, 2015
Append Suppliername after Article Numer
View index.tpl
{extends file='frontend/detail/index.tpl'}
{block name='frontend_detail_index_buy_container_base_info' append}
{if $sArticle.supplierName}
<p>{$sArticle.supplierName}</p>
{/if}
{/block}
View webfonts.less
@font-face {
font-family: 'Oswald';
src: url('../../fonts/Oswald.eot');
src: url('../../fonts/Oswald.eot?#iefix') format('embedded-opentype'),
url('../../fonts/Oswald.woff2') format('woff2'),
url('../../fonts/Oswald.woff') format('woff'),
url('../../fonts/Oswald.ttf') format('truetype');
}
View main-navigation.tpl
{extends file='parent:frontend/index/main-navigation.tpl'}
{block name='frontend_index_navigation_categories_top_home'}{/block}
View header.less
.header-main {
// Logo
.logo-main {
.logo--link {
.unitize-height(45, 16); // Anpassen der Höhe, Angabe in px
}
// Smaller logo for mobile viewports
.logo--shop {
View shop-navigation.tpl
<nav class="shop--navigation block-group">{* Menu (Off canvas left) trigger *}
{block name='frontend_index_offcanvas_left_trigger'}</nav>
<ul class="navigation--list block-group">
<ul class="navigation--list block-group">
<li class="navigation--entry entry--menu-left"><a class="entry--link entry--trigger btn is--icon-left" href="#offcanvas--left" data-offcanvas="true" data-offcanvasselector=".sidebar-main">
<i class="icon--menu"></i> {s namespace='frontend/index/menu_left' name="IndexLinkMenu"}{/s}
</a></li>
</ul>
</ul>
{/block}
You can’t perform that action at this time.