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="flexy flexy-pad equal-height is-multiline pv100"> | |
<div class="flexy-item is-4 is-6-widescreen animate fadeIn no-delay"> | |
<a class="card no-pad" href="/"> | |
<img lazy-src="/assets/img/blog/gum-line-cavities.jpg" alt="<?php AltTag() ?>"> | |
<div class="card-content"> | |
<h2 class="title-sm uppercase mb65 animate fadeIn no-delay">Replace</h2> | |
<p class="animate fadeIn white small-subhead no-delay">Replace</p> | |
<p class="animate fadeIn no-delay">Replace</p> | |
<span class="button animate fadeIn no-delay mb50">Read More</span> |
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 logo = document.querySelector('.navbar__logo'); | |
const menuButton = document.querySelector('.menu-button'); | |
let isScrolled = false; | |
let isMenuOpen = false; | |
function updateLogo() { | |
if (isMenuOpen || isScrolled) { | |
logo.src = '/assets/img/logo.svg'; | |
} else { | |
logo.src = '/assets/img/logo-white.svg'; |
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
<img src="https://picsum.photos/seed/fun/2000/1000?grayscale" alt="Image 1"> | |
<img src="https://picsum.photos/seed/art/2000/1000" alt="Image 2"> | |
<!-- https://picsum.photos/ --> |
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 include $_SERVER['DOCUMENT_ROOT'] . "/assets/inc/variables.php" ?> | |
<?php | |
$seotitle = "REPLACE in $city $state | $sitename"; | |
$seodesc = "$sitename offers premier $profession services in $city, $state. Call $phone today to schedule your REPLACE appointment today."; | |
$section = "procedure"; | |
?> |
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
import os | |
def rename_files(extension): | |
files = [f for f in os.listdir() if f.endswith(extension)] | |
for i, file in enumerate(sorted(files), start=1): | |
os.rename(file, f"{str(i).zfill(2)}{extension}") | |
if __name__ == "__main__": | |
rename_files(".jpg") | |
rename_files(".png") |
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
import os | |
def rename_images(): | |
image_files = [f for f in os.listdir() if f.endswith('.png')] | |
image_files.sort() | |
for i, filename in enumerate(image_files): | |
new_filename = '{:02d}.png'.format(i + 1) | |
os.rename(filename, new_filename) | |
print('Renamed {} to {}'.format(filename, new_filename)) |
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
import os | |
folder_path = os.getcwd() | |
for filename in os.listdir(folder_path): | |
if filename.endswith(".png.jpg"): | |
new_filename = filename.replace(".png", "") | |
os.rename(os.path.join(folder_path, filename), os.path.join(folder_path, new_filename)) | |
print("Renamed '{}' to '{}'".format(filename, new_filename)) |
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="flexy flexy-pad equal-height is-multiline pv100"> | |
<div class="flexy-item is-4 is-6-widescreen animate fadeIn"> | |
<a class="card no-pad" href="/"> | |
<img lazy-src="/assets/img/blog" alt=""> | |
<div class="card-content"> | |
<h2 class="title-sm uppercase mb65 animate fadeIn"></h2> | |
<p class="animate fadeIn small-subhead"></p> | |
<p class="animate fadeIn"></p> | |
<span class="button animate fadeIn mb50">Read More</span> | |
</div> |
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 include $_SERVER['DOCUMENT_ROOT'] . "/assets/inc/variables.php" ?> | |
<?php | |
include $_SERVER['DOCUMENT_ROOT'] . $galleryRoot . "index.php"; | |
if (isset($_GET["gp"]) && $_GET["gp"]) { | |
$patient = $_GET["gp"]; | |
} |
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
cd 'C:\path\to\your\directory' | |
Get-ChildItem -Directory | Sort-Object Name -Descending | ForEach-Object { | |
$newName = "{0:D2}" -f ([int]$_.Name + 1) | |
Rename-Item -Path $_.FullName -NewName $newName | |
} |