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
const functionA = async () => { | |
try { | |
// request something that resolves in a promise | |
} catch (error) { | |
throw new Error("Function A failed"); | |
} | |
} | |
const functionB = async () => { | |
try { |
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
please, add -webkit-overflow-scrolling: touch; to the #overlay element. | |
And add please this javascript code at the end of the body tag: | |
(function () { | |
var _overlay = document.getElementById('overlay'); | |
var _clientY = null; // remember Y position on touch start | |
_overlay.addEventListener('touchstart', function (event) { | |
if (event.targetTouches.length === 1) { |
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
UPDATE wp_options SET option_value = replace(option_value, 'http://www.vecchiosito.com', 'http://www.nuovosito.com') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET guid = replace(guid, 'http://www.vecchiosito.com','http://www.nuovosito.com'); | |
UPDATE wp_posts SET post_content = replace(post_content, 'http://www.vecchiosito.com', 'http://www.nuovosito.com'); |
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
#replace | |
{ | |
/* Non va su windows phone */ | |
text-indent: 100%; | |
white-space: nowrap; | |
overflow: hidden; | |
} |
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
<header> | |
<div><h1>Titolo del sito fighissimo yeah </h1></div> | |
<nav> | |
<ul> | |
<li>olè olè</li> | |
<li>olè olè</li> | |
<li>olè olè</li> | |
<li>olè</li> | |
</ul> | |
</nav> |
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
.circle { | |
width: 20%; | |
height: 0; | |
padding-bottom: 20%; | |
background:#f90; | |
margin:2%; | |
float:left; | |
border-radius:50%; | |
} | |
.inner { |