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
.wpcf7 form input { | |
-webkit-user-select: text; | |
} |
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
<div class="image-container-block"> | |
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/65984/photo-1413752567787-baa02dde3c65.jpg" alt=""> | |
<div class="inner-image-block"> | |
<div class="image-animate-border"></div> | |
</div> | |
</div> | |
<style> | |
</style> |
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 element = document.querySelector(prompt('Insert the querySelector to the svg element.', '#gear')); | |
var bbox = element.getBBox(), | |
x = bbox.x, | |
y = bbox.y, | |
w = bbox.width, | |
h = bbox.height | |
; | |
var result = | |
'center center' + "\n" + |
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
{"lastUpload":"2019-12-07T07:27:29.821Z","extensionVersion":"v3.4.3"} |
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
function setSvgAttrs() { | |
let svg = document.getElementsByTagName('svg')[0]; | |
gsap.set(svg, {attr: {viewBox: '0 0 970 250'}}); | |
const background01 = document.querySelector('#background01'); | |
function createFilter() { | |
const svgns = "http://www.w3.org/2000/svg"; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 svg = document.getElementById('scene').getSVGDocument(); | |
const shape01 = svg.getElementById('shape-01'); |
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
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |
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
Why not cp to location 1, then mv to location 2. This takes care of "removing" the original. | |
And no, it's not the correct syntax. | is used to "pipe" output from one program and turn it into input for the next program. What you want is ;, which seperates multiple commands. | |
cp file1 file2 ; cp file1 file3 ; rm file1 | |
If you require that the individual commands MUST succeed before the next can be started, then you'd use && instead: | |
cp file1 file2 && cp file1 file3 && rm file1 | |
That way, if either of the cp commands fails, the rm will not run. |
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
git switch -c <new-branch> |