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
REM Get the folder name and replace spaces with underline | |
for /f "tokens=*" %%i in ("%folderPath%") do ( | |
set "folderName=%%~nxi" | |
set "newFolderName=!folderName: =_!" | |
) |
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
# Connect Azure account | |
Connect-AzAccount -Identity | |
# replace these with your own values | |
$resource_group = "AzureVMJP" | |
# Get Azure Resource in same resource group | |
$location = (Get-AzResourceGroup -Name $resource_group).Location | |
$vm_name = (Get-AzResource -ResourceGroupName $resource_group -ResourceType "Microsoft.Compute/virtualMachines").Name |
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
# Connect Azure account | |
Connect-AzAccount -Identity | |
# replace these with your own values | |
$resource_group = "AzureVMJP" | |
# Get Azure Resource in same resource group | |
$vm_name = (Get-AzResource -ResourceGroupName $resource_group -ResourceType "Microsoft.Compute/virtualMachines").Name | |
$public_ip_name = (Get-AzResource -ResourceGroupName $resource_group -ResourceType "Microsoft.Network/publicIPAddresses")[0].Name | |
$dns_label = (Get-AzPublicIpAddress -ResourceGroupName $resource_group -Name $public_ip_name).DnsSettings.DomainNameLabel |
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 id="smart-button-container"> | |
<div style="text-align: center;"> | |
<div id="paypal-button-container"></div> | |
</div> | |
</div> | |
<script src="https://www.paypal.com/sdk/js?client-id={client_id}&enable-funding=venmo¤cy=USD" data-sdk-integration-source="button-factory"></script> | |
<script> | |
function initPayPalButton() { | |
paypal.Buttons({ | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Subconverter</title> | |
</head> | |
<body> | |
<div id="pagewrap"> | |
<p>Author:<a href="https://www.microcharon.top" target="_blank">Microcharon - The Way of Developer</a></p> | |
<p>Node File Path: |
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
# @ HTTPS REDIRECT | |
server | |
{ | |
listen 443 ssl http2; | |
listen [::]:443 ssl http2; | |
server_name example.com; | |
ssl_certificate /usr/local/nginx/conf/cert/example.com.crt; | |
ssl_certificate_key /usr/local/nginx/conf/cert/example.com.key; | |
return 301 https://www.example.com$request_uri; | |
} |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="refresh" content="10;url='https://example.com'"> | |
<title>404</title> | |
<style> | |
body { | |
background: #000; | |
height: 100vh; |