Skip to content

Instantly share code, notes, and snippets.

Rico loschke

Block or report user

Report or block loschke

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
View burlington.css
background-color: #6d695c; background-image: repeating-linear-gradient(120deg, rgba(255,255,255,.1), rgba(255,255,255,.1) 1px, transparent 1px, transparent 60px), repeating-linear-gradient(60deg, rgba(255,255,255,.1), rgba(255,255,255,.1) 1px, transparent 1px, transparent 60px), linear-gradient(60deg, rgba(0,0,0,.1) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.1) 75%, rgba(0,0,0,.1)), linear-gradient(120deg, rgba(0,0,0,.1) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.1) 75%, rgba(0,0,0,.1)); background-size: 70px 120px;
@loschke
loschke / .htaccess
Created Feb 23, 2016 — forked from HechtMediaArts/.htaccess
Die optimale .htaccess-Datei für mehr Speed und Sicherheit
View .htaccess
# ----------------------------------------------------------------------
# | Komprimierung und Caching |
# ----------------------------------------------------------------------
# Serve resources with far-future expires headers.
#
# (!) If you don't control versioning with filename-based
# cache busting, you should consider lowering the cache times
# to something like one week.
#
@loschke
loschke / Videos_Youtube-API_Ausgabe.php
Last active Jul 24, 2017
Videos via Youtube API v3 auf Website ausgeben
View Videos_Youtube-API_Ausgabe.php
Tutorial: YouTube Channel/Playlist Videos via Data API v3 auf der eigenen Website ausgeben
Article: http://sevenx.de/blog/tutorial-youtube-channelplaylist-videos-via-data-api-v3-auf-der-eigenen-website-ausgeben-2
Demo: http://sevenx.de/demo/youtube-api-playlist/ (Bootstrap styled)
Benötigt:
- Youtube API Key
- Youtube Playlist ID
@loschke
loschke / Bootstrap-3_Carousel-Collection
Last active Aug 21, 2018
Bootstrap 3 - Carousel Collection Pack
View Bootstrap-3_Carousel-Collection
@loschke
loschke / array.functions.php
Last active Jan 2, 2016
Nützliche Funktionen zur Arbeit mit Array
View array.functions.php
<?php
//check if an array is associative
function isAssocArray($array){
return array_keys($array) !== range(0, count($array) - 1);
}
//check if an array is multidimensional
function isMultiArray($array) {
@loschke
loschke / formular-spamschutz.php
Last active Dec 26, 2015
Formular Spamschutz und Validierung
View formular-spamschutz.php
<?php
$errors = array();
//Prüfen ob Formular abgesendet
if(isset($_POST['submit'])) {
//Spamcheck mit jedem neuem Absenden zurücksetzen
$spamcheck = false;
//Spamcheck
@loschke
loschke / Bootstrap-thumbnail-hover-grid.html
Last active Oct 18, 2018
Bootstrap - Thumbnail Hover Caption with Tooltip Blog Article: http://goo.gl/x2GSQ
View Bootstrap-thumbnail-hover-grid.html
<!-- Bootstrap Markup -->
<div class="container">
<ul class="thumbnails" id="hover-cap"> <!-- add id attr to thumbnail list -->
<li class="span3">
<div class="thumbnail">
<div class="caption">
<h4>Caption Title</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt.</p>
<p><a href="#" class="btn btn-inverse" rel="tooltip" title="Preview"><i class="icon-eye-open"></i></a> <a href="#" rel="tooltip" title="Visit Website" class="btn btn-inverse"><i class="icon-share"></i></a></p>
</div>
You can’t perform that action at this time.