Discover gists
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 | |
// Uses the symfony/var_dumper package for the dump() function | |
/** First we create the Event */ | |
$created = tribe_events() | |
->set_args([ | |
'title' => "Test Event", | |
'start_date' => "2025-02-14 08:00:00", | |
'end_date' => "2025-02-14 10:00:00", | |
'laws_external_id' => 123, |
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
#include<iostream> | |
#include<vector> | |
#include<algorithm> | |
#include<queue> | |
#include<map> | |
#include<set> | |
using namespace std; | |
int find(vector<pair<int,int>> &arr, int 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
U9MBHkYoAAD9VgAA/AHtWvgCAAAAAAAAAAIQAR5GKAAAAAAAAPwB7Vr4AgAAAAAAAAoCdgFQRigAAP1WAAD1WO1aAAAAAAAAAAAAAgENUEYoAAAAAAAA9VjtWgAAAAAAAAAADAJnDShGHgP//Vb4AgAA7VoAAAAA27oAAAACHwIoRh4BJQAA/3gAAO1aAAAAAAAAAAAOAoUCKDIAAADwBAAAAAAAAP/eAAAAAAAADgIKeigyAAAAAAAAAAAAAAD/vAAAAAAAABACCoAoMgAAAPAEAAAAAAAA/94AAAAAAAAOAh16KDIAAAAAAAAAAAAAAP+8AAAAAAAAEgIdgCgyAAAA8AQAAAAAAAD/3gAAAAAAAA4CCocoMgAAAAAAAAAAAAAA/7wAAAAAAAAUAgqNKDIAAADwBAAAAAAAAP/eAAAAAAAADgIdhygyAAAAAAAAAAAAAAD/vAAAAAAAABYCHY0oMgAAAPAEAAAAAAAA/94AAAAAAAAOAgqUKDIAAAAAAAAAAAAAAP+8AAAAAAAAGAIKmigyAAAA8AQAAAAAAAD/3gAAAAAAAA4CHZQoMgAAAAAAAAAAAAAA/7wAAAAAAAAaAh2aKDIAAADwBAAAAAAAAP/eAAAAAAAADgIKoSgyAAAAAAAAAAAAAAD/vAAAAAAAABwCCqcoMgAAAPAEAAAAAAAA/94AAAAAAAAOAh2hKDIAAAAAAAAAAAAAAP+8AAAAAAAAHgIdpygyAAAA8AQAAAAAAAD/3gAAAAAAAA4CCq4oMgAAAAAAAAAAAAAA/7wAAAAAAAAgAgq0KDIAAADwBAAAAAAAAP/eAAAAAAAADgIdrigyAAAAAAAAAAAAAAD/vAAAAAAAACICHbQUHgAAAPgCAAAAAAAA/94AAAAAAAAOAjp6FB4AAAD4AgAAAAAAAP/eAAAAAAAADgI6fxQeAAAA+AIAAAAAAAD/3gAAAAAAAA4COoQUHgAAAPgCAAAAAAAA/94AAAAAAAAOAjqJFB4AAAD4AgAAAAAAAP/e |
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
$$#>><InPixio Photo Maximizer Pro Crack |
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
Script started on 2025-02-12 00:39:31+07:00 [COMMAND="/home/user/nuttx-release/run-job.sh arm-05 " TERM="xterm-256color" TTY="/dev/pts/5" COLUMNS="110" LINES="83"] | |
Now running https://github.com/lupyuen/nuttx-release/blob/main/run-job.sh arm-05 | |
Called by https://github.com/lupyuen/nuttx-release/blob/main/run-ci.sh | |
+ job=arm-05 | |
+ [[ arm-05 == '' ]] | |
+ instance= | |
+ set | |
+ grep TMUX | |
+ true | |
+ neofetch |
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
<?xml version="1.0" encoding="utf-8"?> | |
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<files> | |
<file path="C:\ProgramData\chocolatey\lib\googlechromecanary\googlechromecanary.nupkg" checksum="8BDAAE355EE711CB8E0B488D79294D2E" /> | |
<file path="C:\ProgramData\chocolatey\lib\googlechromecanary\googlechromecanary.nuspec" checksum="41E684004B0A4953713D91E86D4ADFEE" /> | |
<file path="C:\ProgramData\chocolatey\lib\googlechromecanary\tools\chocolateyInstall.ps1" checksum="A4D2EE583833198167153572B68EB922" /> | |
<file path="C:\ProgramData\chocolatey\lib\googlechromecanary\tools\chocolateyuninstall.ps1" checksum="B74F0547FF3C0417FD61CA1F81F29D16" /> | |
<file path="C:\ProgramData\chocolatey\lib\googlechromecanary\tools\helpers.ps1" checksum="D4DE2647DAEE3B74ECFB1E9F9457C3EB" /> | |
</files> | |
</fileSnapshot> |
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
# best practice: linux | |
nano ~/.pgpass | |
*:5432:*:username:password | |
chmod 0600 ~/.pgpass | |
# best practice: windows | |
edit %APPDATA%\postgresql\pgpass.conf | |
*:5432:*:username:password | |
# linux |
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
func deleteProject(client *gitlab.Client, projectPath string, permanent bool) error { | |
// Step 1: Fetch project details | |
project, _, err := client.Projects.GetProject(projectPath, nil) | |
if err != nil { | |
return fmt.Errorf("failed to retrieve project details: %w", err) | |
} | |
if permanent { | |
// Step 2: Permanently remove the project if it's marked for deletion | |
if !project.MarkedForDeletionAt.IsZero() { |
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
builder.Services | |
.AddAuthentication() | |
.AddJwtBearer(options => | |
{ | |
options.Authority = "http://localhost:8080/realms/client"; | |
options.RequireHttpsMetadata = false; | |
options.TokenValidationParameters = new TokenValidationParameters | |
{ | |
RoleClaimType = "custom-claim", | |
ValidateIssuerSigningKey = true, |
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
from formulaone.models import Circuit, Constructor, Driver, IncidentReport, Race, Result, Status | |
# Shell Plus Django Imports | |
from django.core.cache import cache | |
from django.conf import settings | |
from django.contrib.auth import get_user_model | |
from django.db import transaction | |
from django.db.models import Avg, Case, Count, F, Max, Min, Prefetch, Q, Sum, When | |
from django.utils import timezone | |
from django.urls import reverse | |
from django.db.models import Exists, OuterRef, Subquery |