This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Copy Emails | |
// @namespace Wordpress Tools | |
// @version 1.5 | |
// @description Copy selected emails to any table containing an email (ScreenShot : https://i.imgur.com/Qe76ZmG.png) | |
// @author Leonardo Ciaccio | |
// @match */wp-admin/* | |
// @icon https://www.google.com/s2/favicons?domain=wordpress.org | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
//CSS | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// --> L'unica funzione che funziona al 100% | |
// --> https://stackoverflow.com/questions/15699101/get-the-client-ip-address-using-php | |
function get_client_ip() { | |
$ipaddress = ''; | |
if (isset($_SERVER['HTTP_CLIENT_IP'])) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//let softmax = (arr) => (index) => Math.exp(arr[index]) / arr.map(y => Math.exp(y)).reduce((a, b) => a + b); | |
function softmax(arr) { | |
return arr.map(function(value,index) { | |
return Math.exp(value) / arr.map( function(y /*value*/){ return Math.exp(y) } ).reduce( function(a,b){ return a+b }) | |
}) | |
} | |
example1=[ 0.9780449271202087, | |
0.01590355671942234, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var i = 0; | |
(function doSort() { | |
// update progress | |
// do stuff | |
i++; | |
if (i < rows) { | |
setTimeout(doSort, 0); | |
} | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// --> Test https://jsfiddle.net/leonardo_ciaccio/60cxrgg4/1/ | |
var | |
mouveable = function( ele ){ | |
var | |
selected = null | |
,x_pos = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastNews":"https://github.com/LeonardoCiaccio/Trimgle/wiki/ChangeLog"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
( IT ) --> | |
Modulo globale, qui vengono aggiunti i nuovi elementi con le regole definite | |
window[ "Grab Any Media" ].patch( { // manifest | |
minVersion : "x.x.x.x" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Leonardo Ciaccio - leonardo.ciaccio@gmail.com | |
Scritto per servire TRIMGLE : https://chrome.google.com/webstore/detail/trimgle-web-monitor/fkmafgfjkhkkdooapodflknnhmfefljg | |
$.jqPath() | |
Una piccola ma potente estensione jQuery per ottenere il percorso assouto di un elemento | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Leonardo Ciaccio - [email protected] | |
Scritto per servire TRIMGLE : https://chrome.google.com/webstore/detail/trimgle-web-monitor/fkmafgfjkhkkdooapodflknnhmfefljg | |
*/ | |
( function(){ | |
NewerOlder