Skip to content

Instantly share code, notes, and snippets.

View skerbis's full-sized avatar
👋
Huhu

Thomas Skerbis skerbis

👋
Huhu
View GitHub Profile
@skerbis
skerbis / reset.css
Last active October 30, 2019 12:19 — forked from rn404/reset.css
reset.css
/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
@skerbis
skerbis / Snom.scpt
Created October 5, 2018 07:25 — forked from jfqd/Snom.scpt
This script enables the macOS Contact-Application to dial a phone-number via a SNOM hardware phone by clicking on the phone label
-- This script enables the macOS Contact-Application to dial a phone-number
-- via a SNOM hardware phone by clicking on the phone label.
--
-- (C) 2008 David Kreitschmann, K3com Kommunikationstechnik http://www.k3com.de
-- (C) 2017 Modification for SNOM 715 by Stefan Husch, https://qutic.com
--
-- Copy this script to ~/Library/Application\ Scripts/com.apple.AddressBook
-- on your macOS 10.11+ and change the phoneURL to your needs.
--
-- A chmod 0600 ~/Library/Application\ Scripts/com.apple.AddressBook/Snom.scpt
@skerbis
skerbis / download-unzip.php
Last active August 21, 2018 16:00 — forked from sedflix/download-unzip.php
Download and unzip file with PHP
<?php
$ch = curl_init();
$source = "https://yourDomain.tld/file.zip";
curl_setopt($ch, CURLOPT_URL, $source);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$data = curl_exec ($ch);
curl_close ($ch);
// Save file
@skerbis
skerbis / navigation_iterator.php
Created May 27, 2018 18:16 — forked from staabm/navigation_iterator.php
redaxo navigation iterator
<?php
/**
* Klasse zum Erstellen von Navigationen, v0.1.
*
* @package redaxo\structure
*/
/*
* Beispiel-Konfiguration einer Haupt-Navigation:
@skerbis
skerbis / .htaccess
Created January 16, 2018 21:49 — forked from IngoWinter/.htaccess
auth media für ycom
RewriteRule ^/?media/(.*)$ /index.php?ycom_file=$1 [L]
# RewriteRule ^/?media/(.*\.(pdf|doc|zip))$ /index.php?ycom_file=$1 [L]
@skerbis
skerbis / Markup.html
Created January 16, 2017 13:51 — forked from elricco/Markup.html
Transfomr Bookatable Booking Table
<div class="reservierung-kalender" id="bookingTableWrapper">
<!-- Start Bookatable Code -->
<script type="text/javascript" src="https://bda.bookatable.com/deploy/lbui.direct.min.js"></script>
<script type="text/javascript">
LBDirect_Embed({
connectionid : "BOOKATABLE-CONNECTION-ID",
language: "de-DE",
});
jQuery(function () {
setTimeout(transformLBD, 10);