Skip to content

Instantly share code, notes, and snippets.

🤔
Focusing

David Hellmann davidhellmann

🤔
Focusing
Block or report user

Report or block davidhellmann

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 gist:d45255bfe414dc4112096e1ef17fbe7a
# 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 {
View scrollObserver
/**
* ScrollMonitor
*/
const scrollMonitorScript = {
cfg: {
selectors: {
waypoint: '[waypoint]',
waypointTarget: '[waypoint-target]',
},
View google-analytics
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")
View json-ld
{
"@context": "http://schema.org",
"@graph": [
{
"@type": "AboutPage",
"author": {
"@id": "https://www.schaper-wels.at/#identity"
},
"copyrightHolder": {
"@id": "https://www.schaper-wels.at/#identity"
View config.js
/*
** 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) {
View dev.js
// webpack.dev.js - developmental builds
const LEGACY_CONFIG = 'legacy';
const MODERN_CONFIG = 'modern';
// node modules
const merge = require('webpack-merge');
const path = require('path');
const webpack = require('webpack');
// webpack plugins
View common.js
// webpack.common.js - common webpack config
const LEGACY_CONFIG = 'legacy';
const MODERN_CONFIG = 'modern';
// node modules
const path = require('path');
const merge = require('webpack-merge');
// webpack plugins
const CopyWebpackPlugin = require('copy-webpack-plugin');
View common.js
// webpack.common.js - common webpack config
const LEGACY_CONFIG = 'legacy';
const MODERN_CONFIG = 'modern';
// node modules
const path = require('path');
const merge = require('webpack-merge');
// webpack plugins
const CopyWebpackPlugin = require('copy-webpack-plugin');
View settings.js
// webpack.settings.js - webpack settings config
// node modules
require('dotenv').config();
const Terser = require('terser');
const Postcss = require('postcss');
const Cssnano = require('cssnano');
// Webpack settings exports
// noinspection WebpackConfigHighlighting
View gist:6d807ad2d5c17b0f22de1a5dae540150
// webpack.prod.js - production builds
const LEGACY_CONFIG = 'legacy';
const MODERN_CONFIG = 'modern';
// node modules
const git = require('git-rev-sync');
const glob = require('glob-all');
const merge = require('webpack-merge');
const moment = require('moment');
const path = require('path');
You can’t perform that action at this time.