Skip to content

Instantly share code, notes, and snippets.

@LennardWesterveld
LennardWesterveld / leonardo-contrast-colors.d.ts
Created May 21, 2020 10:11
leonardo-contrast-colors typings fo typescript
declare module '@adobe/leonardo-contrast-colors' {
export interface IColorScale {
name: string;
colorKeys: string[];
colorspace: string;
ratios: number[];
}
export interface IColorSettings {
baseScale?: string;
@LennardWesterveld
LennardWesterveld / InstagramClient.php
Created February 21, 2018 13:31
InstagramClient Drupal
<?php
namespace Drupal\ko_social_feed_instagram;
use Drupal\Core\Url;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Vinkla\Instagram\InstagramException;
/**
* {@inheritdoc}
@LennardWesterveld
LennardWesterveld / _flexboxgrid.scss
Last active August 21, 2017 09:16
Rewrite of sass flexboxgrid
//
// -- Start editing -- //
//
@import "~sass-flex-mixin/flex";
// Set the number of columns you want to use on your layout.
$flexboxgrid-grid-columns: 12 !default;
// Set the gutter between columns.
$flexboxgrid-gutter-width: rem(10px) !default;
// Set a margin for the container sides.
#!/bin/bash
version="0.9.6 from 2014-02-04"
# Always download the latest version here: http://www.eurosistems.ro/back-res
# Thanks or questions: http://www.howtoforge.com/forums/showthread.php?t=41609
#
# CHANGELOG:
# -----------------------------------------------------------------------------
# version 0.9.6 - 2014-02-04 (by Yavuz Aydin - Vrij Media)
# --------------------------
# - Changed mysql import routine to create database if it doesn't exist