Skip to content

Instantly share code, notes, and snippets.

Giuseppe Surace bulini

Block or report user

Report or block bulini

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 flats.js
export const flats = [
{
floor: 1,
options: [
{
van: 1,
cost: 10
},
{
van: 2,
View distance.js
export const distance = [
{
van: 1,
details: [
{
round_trip: 100,
price: 310,
staff: 2,
final_price: 403
},
View ssss
<?php
/**
*
*/
class FeedImport
{
private $xml_url;
function __construct()
{
View gist:38ae0ef175635ea43da0a2904b006f74
<!DOCTYPE html>
<html>
<head>
<title>Confindustria SFC - Economia Circolare</title>
<style type="text/css">
footer {
bottom: 0;
position: absolute;
}
View gist:bd713ebb807d8a52e28f22bf5d7e8c22
<?php
/**
* Template Name: Vendor Products
*/
// File Security Check
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
Vendor::no_vendor_redirect();
View functions.php
<?php
//cambio testo e oggetto email di cambio password
add_filter('password_change_email', 'change_password_mail_message', 10, 3 );
function change_password_mail_message( $pass_change_mail, $user, $userdata ) {
$new_message_txt = __( 'Ciao ###USERNAME###,
ti confermiamo che la tua password è stata modificata.
Se non sei stato tu ad aver cambiato password, scrivici a info@xxxxxxxxx
Saluti.');
$pass_change_mail[ 'subject' ] = 'Hai cambiato la password';
View floating.js
var offset = $("#filter-search").offset();
var topPadding = 100;
$(window).scroll(function() {
if ($(window).scrollTop() > offset.top) {
$("#filter-search").stop().animate({
marginTop: $(window).scrollTop() - offset.top + topPadding
});
} else {
$("#filter-search").stop().animate({
marginTop: 0
View image_scraper.php
<?php
/**
* Insert an attachment from an URL address.
*
* @param String $url
* @param Int $post_id
* @param Array $meta_data
* @return Int Attachment ID
*/
View gist:8e08b2c94e47d4bbd5e3
<?php
/*
WP-Cache Config Sample File
See wp-cache.php for author details.
*/
$wp_cache_mobile_groups = ''; //Added by WP-Cache Manager
$wp_cache_mobile_prefixes = 'w3c , w3c-, acs-, alav, alca, amoi, audi, avan, benq, bird, blac, blaz, brew, cell, cldc, cmd-, dang, doco, eric, hipt, htc_, inno, ipaq, ipod, jigs, kddi, keji, leno, lg-c, lg-d, lg-g, lge-, lg/u, maui, maxo, midp, mits, mmef, mobi, mot-, moto, mwbp, nec-, newt, noki, palm, pana, pant, phil, play, port, prox, qwap, sage, sams, sany, sch-, sec-, send, seri, sgh-, shar, sie-, siem, smal, smar, sony, sph-, symb, t-mo, teli, tim-, tosh, tsm-, upg1, upsi, vk-v, voda, wap-, wapa, wapi, wapp, wapr, webc, winw, winw, xda , xda-'; //Added by WP-Cache Manager
$wp_cache_refresh_single_only = '0'; //Added by WP-Cache Manager
You can’t perform that action at this time.