Skip to content

Instantly share code, notes, and snippets.

💭
Working

Stefan Kühnel stefankuehnel

View GitHub Profile
@stefankuehnel
stefankuehnel / array_count_values_assoc.php
Last active Apr 19, 2019
Zählt, wie oft Schlüsselwertpaare in einem multidimensionalen Array vorkommen.
View array_count_values_assoc.php
<?
function array_count_values_assoc($needle, $array) {
/**
* Erstellen eines neuen Haystack
*/
$haystack = [];
/**
* Entspricht dem Counterpart der in_array() Funktion, die von PHP vordefiniert wurde.
@stefankuehnel
stefankuehnel / VimeoDownloader.class.php
Last active Apr 5, 2019
An easy to use PHP Class to get Download Links from Vimeo.com - Current Version: 1.0
View VimeoDownloader.class.php
<?php
/**
* This source code was created by Stefan Kühnel and the copyright is the sole property of the following natural and legal persons:
* Copyright (c) 2018 Stefan Kühnel -> https://stefankuehnel.com
* Copyright (c) 2018 Bealeaf Network -> https://www.bealeaf.net
* Copyright (c) 2018 GloomBerry -> https://www.gloomberry.com
*
* You are hereby granted a non-exclusive, worldwide, royalty-free license to
* use, copy, modify, and distribute this software in source code or binary
You can’t perform that action at this time.