Skip to content

Instantly share code, notes, and snippets.

View mindbreaker's full-sized avatar

Tom mindbreaker

View GitHub Profile
@mbaersch
mbaersch / matomo-resize-tagcode.html
Last active February 19, 2022 12:12
adjust size of Matomo Tag Manager preview / debug console
<script>
//use this script to adjust size of Matomo Tag Manager preview / debug console
//usage: create html tag in MTM, paste this code and fire tag on DOM ready, if "Preview Mode" is "1"
var mtmPreviewSize;
//resize MTM preview via console
function resizeMtmPreview(prz) {
//only in preview mode
if ({{PreviewMode}}) {
var mtm = document.querySelector('iframe#mtmDebugFrame');
@dwamara
dwamara / is24_quarter_geocode.sql
Created January 13, 2019 14:26
Mapping between PLZ and GEOCODE for Immobilienscout24
This file has been truncated, but you can view the full file.
-- Adminer 4.6.3 MySQL dump
SET NAMES utf8;
SET time_zone = '+00:00';
SET foreign_key_checks = 0;
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
DROP DATABASE IF EXISTS `is24_quarter_geocode`;
CREATE DATABASE `is24_quarter_geocode` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `is24_quarter_geocode`;
@bettysteger
bettysteger / .bash_profile
Last active March 15, 2019 06:52
make your terminal beautiful! (git branch color etc)
# terminal colors, Git branch in prompt, where am i
export CLICOLOR=1
export TERM=xterm-color
export LSCOLORS=ExFxCxDxBxegedabagacad
parse_git_branch() {
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\ →\ \1/'
}
export PS1='\[\e[1;37m\][\[\e[1;35m\]\u\[\e[1;37m\]:\[\e[1;36m\]\w\[\e[1;33m\]$(parse_git_branch)\[\e[1;37m\]]$ \[\e[0m\]'
@pcworld
pcworld / _README.md
Last active December 8, 2023 20:22
Linux Spotify Ad Mute