docker exec -it certbot certbot certonly --webroot \
-w /var/www/certbot \
-d jcadima.dev -d www.jcadima.dev -d laracms.jcadima.dev -d www.laracms.jcadima.dev \
--noninteractive --agree-tos --email your-email@example.com
After running that command, check if the certificate files exist
docker run --rm -v certs-data:/etc/letsencrypt alpine ls -l /etc/letsencrypt/live/jcadima.dev
docker restart main-nginx
curl -I http://jcadima.dev/.well-known/acme-challenge/test.txt
public void SubmitScore()
{
Debug.Log("Submit Score...");
if (userName == "")
{
Debug.Log("No User Name Found");
}
else
{
if ((int)elapsedTime > 0)
{
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(API_URL);
request.Method = "POST";
Leaderboard leaderboard = new Leaderboard
{
Id = Guid.Empty,
public void getScores()
{
Debug.Log("Get Scores...");
try
{
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(API_URL);
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
StreamReader reader = new StreamReader(response.GetResponseStream());
string jsonResponse = reader.ReadToEnd();
dynamic items = (JArray)JsonConvert.DeserializeObject(jsonResponse);
scores = item
/**
* Function to calculate the number of days an employee is free from meetings.
*
* @param {number} days - Total number of days the employee is available for work.
* @param {number[][]} meetings - Array of meeting intervals where each meeting is [start, end].
* @returns {number} - The count of days when the employee is free from meetings.
*/
var countDays = function(days, meetings) {
// Sort meetings by their start day to process them in chronological order
meetings.sort((a, b)
[CmdletBinding()]
param()
begin {
$BeginLocation = Get-Location
$CMSite = (Get-PSDrive -PSProvider 'CMSite').Name
Set-Location -Path "$($CMSite):"
$ScriptGuid = '44B128A0-EC98-45CB-89F6-2A7C473FE532' # Full Hardware Inventory - Not forced
function Get-CMDeviceDuplicateOperatingSystem {
[CmdletBinding()]
param(
[Parameter(Mandatory = $false, Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true)]
schtasks.exe /Query /TN "CatchAllDefenderUpdates"
select A.NUMPROTOCOLO, A.CODRELATORIO, A.TIPOEXECUCAO,B.EMAILDESTINATARIO, B.EMAILDESTCOPIA from relatorio_log_execucao a, relatorio_log b
where a.numprotocolo = b.numprotocolo
AND upper(EMAILDESTINATARIO) NOT LIKE '%ALLSEG%'
AND UPPER(EMAILDESTCOPIA) NOT LIKE '%ALLSEG%'
and a.codrelatorio = '31_APOLICE' ----- NOME DO DOCUMENTO JASPER
order by numprotocolo desc
SELECT a.rowid, a.*
FROM RELATORIO_LOG a
WHERE ORIGEM = 'EMISSAO'
ORDER BY numprotocolo;
SELECT a.rowid, a.*
FRO
/*
onScopeDispose - Podobně jako onWatcherCleanup, ale obecnější.
Zavolá se, když je aktuální reaktivní efektový scope (effect scope) ukončen.
Je to užitečné pro čištění zdrojů v jakémkoliv reaktivním kontextu:
*/
// 1
import { onScopeDispose, effectScope } from 'vue'
// Vytvoření izolovaného scope
const scope = effectScope()
scope.run(() => {
// Kód uvnitř scope
onScopeDispose(() => {
// Tento kód se zavolá při scope.stop()
})
})
// Později můžete ukončit scope
scope.stop()
// 1) cleanup when watch is ended
import { watch, onWatcherCleanup } from 'vue'
watch(id, (newId) => {
const { response, cancel } = doAsyncWork(newId)
// `cancel` is called if `id` changes or the component unmounts
onWatcherCleanup(cancel)
})
// 2) better watch with desctruct
const { pause, resume, stop } = watch(source, (newVal, oldVal) => {
// Watch logic
});
// Pause watching
pause();
// Resume watching
resume();
// 3 watch logic, not only true/false
<div class="container">
<img src="assets/images/1.jpg" class="scrub" alt="" />
</div>
# Retrieving SSL Certificates for Cloud SQL MySQL Databases
When connecting to a MySQL database hosted on Google Cloud SQL, using SSL certificates
helps ensure that your data transfers securely between your client and the database server.
Let's explore:
- ***why* these certificates matter**,
- ***how* to obtain them using different methods**.
## 🧠 Understanding SSL Certificates in Cloud SQL
Before we dive into the retrieval process, let's understand what these certificates do.
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
<script>
document.addEventListener('alpine:init', () => {
Alpine.data('payment', () => ({
paymentMethod: '',
}));
});
</script>
<select id="payment_method" x-model="paymentMethod">
<template x-if="['bkash', 'nagad', 'rocket'].includes(paymentMethod)">
<input type="number" name="mfs_number" x-bind:required="['bkash', 'nagad', 'rocket'].includes(paymentM
# Google Secret Manager Authentication in Colab Enterprise
☝️ **Google Colab Enterprise notebooks operate differently from local environments, which affects how authentication works**.
## How Colab Enterprise Changes Authentication
Colab Enterprise **already runs within Google Cloud**, which:
- **simplifies authentication in some ways**
- while **introducing different considerations**:
### Key Differences
1. **You're Already in the Cloud**: Colab Enterprise notebooks run in Google Clo
1. https://claude.site/artifacts/cd4083fe-8e3d-4ac1-9cfa-44a0825fa7a4
2. https://claude.site/artifacts/7476bd34-d035-4bea-82e5-9d99934dd31a
3. https://claude.site/artifacts/fbc8e46d-4e2f-4e66-829b-e01c12bebc87
4. https://claude.site/artifacts/487436dc-70f5-495e-9525-68708a65886b
5. https://claude.site/artifacts/19f33855-c94b-4427-a6a4-f880d96794e5
6. https://claude.site/artifacts/8dc664b0-68ff-4024-92e7-a3095063f436
7. https://claude.site/artifacts/416d2cf7-5490-4f7e-bea7-33ca878678dd
8. https:/
adduser yourusername
usermod -aG sudo yourusername
groups yourusername
su - yourusername
sudo whoami
alternative:
sudo visudo
# add your user below root
yourusername ALL=(ALL:ALL) ALL
Download Nerfonts from
https://www.nerdfonts.com/font-downloads