Skip to content

Instantly share code, notes, and snippets.

@phillipwilhelm
phillipwilhelm / gk-allow-logged-out.php
Created February 11, 2025 20:10 — forked from rafaehlers/gk-allow-logged-out.php
Allow logged-out users to edit entrie
<?php //DO NOT COPY THIS LINE
// Removes Edit Entry "nonce" validation. Edit Entry checks whether an user has the ability to edit an entry, but it also checks a "nonce" to make sure that the Edit Entry link was recently generated by the current user visiting the page. This can sometimes cause problems; this code removes that "nonce" validation.
add_filter( 'gravityview/edit_entry/verify_nonce', '__return_true' );
// allow non logged-in users to edit entries
add_filter( 'gravityview/edit_entry/user_can_edit_entry', '__return_true' );
add_filter( 'gravityview/capabilities/allow_logged_out', '__return_true' );
add_filter( 'user_has_cap', function( $caps ) {
$caps['gravityview_edit_others_entries'] = true;
pip install chromadb
pip install pandas
pip install scikit-learn # This is where we'll grab the cosine similarity function
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 20:09
Rimworld output log published using HugsLib
Log uploaded on Wednesday, February 12, 2025, 4:09:12 AM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Core(Ludeon.RimWorld): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:11.0.4]: 0Harmony(av:2.3.3,fv:1.2.0.1), HugsLib(av:1.0.0,fv:11.0.4)
HugsLib_zh(RWZH.ChinesePack.HugsLib): (no assemblies)
Combat Extended(CETeam.CombatExtended): CombatExtended(0.0.0)
Combat Extended Guns(CETeam.CombatExtendedGuns): (no assemblies)
Combat Extended [zht](Spirit.CombatExtended.zht): (no assemblies)
Vanilla Expanded Framework(OskarPotocki.VanillaFactionsExpanded.Core): 0ModSettingsFramework(1.0.0), 0MultiplayerAPI(av:0.3.0,fv:0.3.0), 0PrepatcherAPI(1.1.1), ExplosiveTrailsEffect(1.0.7140.31563), GraphicCustomization(1.0.0), HeavyWeapons(1.0.0), KCSG(av:1.1.2,fv:25.2.3), MVCF(2.0.0.1), NoCamShakeExplosions(1.0.0), OPToxic(1.0.0), Outposts(av:3.0.0,fv:1.0.0), PipeSystem(av:1.0.1,fv:22.7.29), RecipeInheritance(1.0.1), RRO(1.0.0), SmokingGun(1.0.0), VanillaStorytellersExpanded(1.0.0), Van
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 20:09
Rimworld output log published using HugsLib
Log uploaded on Tuesday, February 11, 2025, 12:09:08 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Core(Ludeon.RimWorld): (no assemblies)
P-Music(Peppsen.PMusic): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
SimpleCameraSetting(ray1203.SimpleCameraSetting): BetterKeybinding(av:5.0.0,fv:5.5.109), SimpleCameraSetting(1.0.0)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Smart Farming(Owlchemist.SmartFarming): 0Harmony(2.3.3), SmartFarming(av:1.13.1,fv:1.13.1)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
@choco-bot
choco-bot / Install.txt
Created February 11, 2025 20:09
scala.portable v2.11.4 - Failed - Package Tests Results
2025-02-11 20:06:10,057 1508 [DEBUG] - XmlConfiguration is now operational
2025-02-11 20:06:12,665 1508 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-02-11 20:06:12,747 1508 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-02-11 20:06:12,797 1508 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-02-11 20:06:12,823 1508 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2025-02-11 20:06:12,900 1508 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-02-11 20:06:12,950 1508 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2025-02-11 20:06:13,029 1508 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-02-11 20:06:13,087 1508 [DEBUG] - Adding new typ
import os
from playwright.async_api import async_playwright
import aiohttp
from hyperbrowser import AsyncHyperbrowser
import asyncio
import boto3
from dotenv import load_dotenv
load_dotenv()
@choco-bot
choco-bot / FilesSnapshot.xml
Created February 11, 2025 20:08
virtualdub v1.10.4.3549101 - Passed - Package Tests Results
<?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\virtualdub\VirtualDub-1.10.4-AMD64.zip.txt" checksum="6B845DED1903F59DEB3F1D676E98CE25" />
<file path="C:\ProgramData\chocolatey\lib\virtualdub\virtualdub.nupkg" checksum="467C7EFEE5B9633716BBA7DE517D20E5" />
<file path="C:\ProgramData\chocolatey\lib\virtualdub\virtualdub.nuspec" checksum="B74C08994C9F54777B2CDEC74C987EAA" />
<file path="C:\ProgramData\chocolatey\lib\virtualdub\tools\chocolateyInstall.ps1" checksum="E349062668D958E07F2327CB0E7F942F" />
<file path="C:\ProgramData\chocolatey\lib\virtualdub\tools\chocolateyUninstall.ps1" checksum="8D1EF03107C5F3AE0F634AE85824C10A" />
<file path="C:\ProgramData\chocolatey\lib\virtualdub\tools\copying" checksum="AD4652E2DCFD4A0ECF91A2C01A7DEFD5" />
<file path="C:\ProgramData\chocolatey\lib\virtualdub\tools\frameserver64.reg" c

What Is Big O Notation?

Big O notation is a way to describe how the time (or space, but we will see this later) a program needs grows as the amount of input data increases. Rather than focus on exact timing (like "this algorithm takes 0.002 seconds"), Big O notation helps us talk about how quickly that time grows when we feed the algorithm larger and larger inputs.

Why Do We Care?

If your program handles small tasks, you might not notice how "fast" or "slow" it runs. But when the input becomes very large, like thousands or millions of records, inefficient algorithms can become painfully slow or consume a lot of memory. Big O is a tool that helps developers predict which algorithms will handle large inputs more in the most efficient way.

s_2D428973624E7FC84C7D69D11421DE762BEA6B6F3361231FCDCAE0425D14526F_1664885448372_Untitled drawio+17

@SlugToss
SlugToss / index.html
Created February 11, 2025 20:08
R6 Camera Ranking
<html>
<title>
Module 4 Discussion
</title>
<head>
<center>
<img src="https://logos-world.net/wp-content/uploads/2021/02/Rainbow-Six-Logo.png" width="340">