- 👋 Ciao! Sono @salvatorecapolupo
- 👀 Sito: https://salvatorecapolupo.github.io/about-me/
- 🌱 Insegno informatica, faccio consulenze, scrivo
- 📫 Contatti: s.capolupo@gmail.com
🎯
Focusing
Laureato in ingegneria informatica, dottore di ricerca, ex assegnista di ricerca, consulente, insegnante, autore di libri / blog
Pinned Loading
-
WordPress find post duplicates via M...
WordPress find post duplicates via MySQL query - Used to remove duplicated posts from WordPress - i.e https://www.lipercubo.it, https://capolooper.it 1SELECT a.ID, a.post_title, a.post_type, a.post_status
2FROM wp_posts AS a
3INNER JOIN (
4SELECT post_title, MIN( id ) AS min_id
5FROM wp_posts
-
HTACCESS standard senza HTTP/HTTPS m...
HTACCESS standard senza HTTP/HTTPS mixed content - https://capolooper.it 1########################################################################
2# OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2020
3# ----------------------------------------------------------------------
4# @Author: Andreas Hecht
5# @Author URI: https://seoagentur-hamburg.com
-
insuperato
insuperato Public archivePrimeval puzzle game, never published before. Demo here: https://salvatorecapolupo.github.io/insuperato/
CSS 1
-
Emulate a Markov process in Python 3...
Emulate a Markov process in Python 3, with a transition graph and an editable matrix. Source / Explanation: https://lipercubo.it/catene-di-markov.html 1import random
2import matplotlib.pyplot as plt
3import networkx as nx
4from matplotlib.animation import FuncAnimation
5 -
MySQL conversion: from MyIsam to InnoDB
MySQL conversion: from MyIsam to InnoDB 1Step 1
2SELECT CONCAT('ALTER TABLE ',TABLE_NAME,' ENGINE=InnoDB;')
3FROM INFORMATION_SCHEMA.TABLES
4WHERE ENGINE='MyISAM' AND table_schema = 'wordpress';
5 -
Palyndrome dates generator (Javascript)
Palyndrome dates generator (Javascript) 1function palindrome(str) {
2// Step 1. Lowercase the string and use the RegExp to remove unwanted characters from it
3var re = /[\W_]/g; // or var re = /[^A-Za-z0-9]/g;
45var lowRegStr = str.toLowerCase().replace(re, '');
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.