Skip to content

Instantly share code, notes, and snippets.

Daniel Setzermann danielset

Block or report user

Report or block danielset

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
@danielset
danielset / 3d_cylinder.php
Created Apr 15, 2018
3D Image CSS Transform
View 3d_cylinder.php
<?php
$title = $_GET['title'];
if (isset($_GET['design']) && $_GET['design'] == 'design1') {
$design = 'vorlage_360.png';
} else if (isset($_GET['design']) && $_GET['design'] == 'design2') {
@danielset
danielset / google-real-time-php-api.php
Created May 29, 2016
PHP Snippet PHP Connect to Google Real Time API and receive the activeVisitors on the site
View google-real-time-php-api.php
<?php
//Google RealTime Connect
require_once '/ABSOLUTE/PATH/TO/GOOGLE-API-PHP/vendor/autoload.php';
$client = new Google_Client();
$client->setApplicationName("A_DESCRIPTIVE_NAME");
$client->setAuthConfig('/ABSOLUTE/PATH/TO/GOOGLE-API-PHP/AUTH-FILE.json');
$client->addScope('https://www.googleapis.com/auth/analytics.readonly');
@danielset
danielset / update.php
Last active May 29, 2016
API Connect cloudBit PHP
View update.php
<?php
// Place other API connects e.g. the one to Google here
// Your ID and token of your cloudBit
$deviceID = 'DEVICE_ID';
$authToken = 'AUTH_TOKEN';
// The data to send to the API
$cloudData = array(
You can’t perform that action at this time.