Skip to content

Instantly share code, notes, and snippets.

View cannarocks's full-sized avatar

Luca Cannarozzo cannarocks

View GitHub Profile
// ==UserScript==
// @name Userpilot Tracking Toggle
// @namespace http://tampermonkey.net/
// @version 1.7
// @description Show and toggle Userpilot tracking status via localStorage
// @author Luca Cannarozzo
// @match https://dev.unguess.io/*
// @match http://localhost:3000/*
// @updateURL https://gist.githubusercontent.com/cannarocks/363a84f81b40bf36b541702e9f06cdad/raw
// @downloadURL https://gist.githubusercontent.com/cannarocks/363a84f81b40bf36b541702e9f06cdad/raw
@cannarocks
cannarocks / replaceString.ps1
Last active March 3, 2020 16:14
[PowerShell] Find files in folder with a defined extension and execute a string replace
#Params definition
param(
[Parameter(Mandatory=$True)]
[System.String]
$type,
[Parameter(Mandatory=$True)]
[System.String]
$search,
@cannarocks
cannarocks / lodashGridStack.min.js
Last active January 8, 2019 09:26
Minified Lodash.js, Gridstack compatible with Wordpress 5+
(function(){var ea,na="Expected a function",ra="__lodash_hash_undefined__",ia="__lodash_placeholder__",oa=16,aa=32,ua=64,sa=128,ca=256,la=1/0,ha=9007199254740991,fa=NaN,da=4294967295,pa=[["ary",sa],["bind",1],["bindKey",2],["curry",8],["curryRight",oa],["flip",512],["partial",aa],["partialRight",ua],["rearg",ca]],ga="[object Arguments]",_a="[object Array]",va="[object Boolean]",ya="[object Date]",ma="[object Error]",ba="[object Function]",wa="[object GeneratorFunction]",xa="[object Map]",Ca="[object Number]",ka="[object Object]",ja="[object Promise]",Na="[object RegExp]",za="[object Set]",Ra="[object String]",Sa="[object Symbol]",Ha="[object WeakMap]",Ma="[object ArrayBuffer]",Aa="[object DataView]",Wa="[object Float32Array]",Ea="[object Float64Array]",Ia="[object Int8Array]",Ua="[object Int16Array]",Ta="[object Int32Array]",Oa="[object Uint8Array]",Da="[object Uint8ClampedArray]",Ba="[object Uint16Array]",Pa="[object Uint32Array]",qa=/\b__p \+= '';/g,La=/\b(__p \+=) '' \+/g,Ga=/(__e\(.*?\)|\b__t\)) \+\n'';/g