Skip to content

Instantly share code, notes, and snippets.

apiVersion: apps/v1
kind: StatefulSet
metadata:
name: mysql
spec:
selector:
matchLabels:
app: mysql
app.kubernetes.io/name: mysql
serviceName: mysql
with IDs as (
SELECT visitId, attributions,
#ctx.userInfo.userId,
#ctx.rivuletBrowserInfo.browserId,
any_value(ctx.userInfo.userId) as userId,
any_value(ctx.rivuletBrowserInfo.browserId) as browser_id,
FROM(select visitId, contextualInfo, attributions FROM `etsy-ml-systems-prod.attributed_instance.query_pipeline_market_web_organic_2025_02_04` ),
UNNEST(contextualInfo) AS ctx
group by 1, 2
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract EnsDomain {
struct Buyer {
address buyerAddress;
uint256 timeStamp;
uint256 price;
}
@dana-ramos
dana-ramos / Install-NvidiaAppEnterprise.ps1
Last active February 11, 2025 19:01 — forked from emilwojcik93/Install-NvidiaApp.ps1
Install-NvidiaAppEnterprise
<#
.SYNOPSIS
Automates the detection of an NVIDIA GPU, retrieves the latest NVIDIA App for Enterprise installer, and facilitates its download and installation with customizable parameters.
.DESCRIPTION
This script efficiently manages the process of downloading and installing the latest NVIDIA App for Enterprise by:
- Scraping the NVIDIA App for Enterprise webpage to locate the most recent installer.
- Verifying the existence and size of the installer file locally.
- Confirming the presence of an NVIDIA GPU on the machine prior to installation.
- Supporting a dry run mode to simulate operations without actual downloading or installation.
.PARAMETER Verbose
@harilvfs
harilvfs / TIMESHIFT.md
Last active February 11, 2025 18:54
Timeshift GRUB Boot Integration for EXT4 & BTRFS with Legacy BIOS/MBR and UUID Support

Timeshift GRUB Boot Integration (EXT4 & BTRFS)

This guide will show you how to:

  • Create and manage Timeshift snapshots
  • Boot into the latest Timeshift snapshot from GRUB
  • Automatically update the GRUB menu with new snapshots
  • Set up Timeshift for both EXT4 (rsync) and BTRFS
  • Use both blkid and non-blkid (Legacy BIOS/MBR) methods

@choco-bot
choco-bot / Install.txt
Created February 11, 2025 18:51
scite4autohotkey v3.0.06.20170428 - Failed - Package Tests Results
2025-02-11 18:05:54,400 2144 [DEBUG] - XmlConfiguration is now operational
2025-02-11 18:05:54,537 2144 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-02-11 18:05:54,537 2144 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-02-11 18:05:54,537 2144 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-02-11 18:05:54,537 2144 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2025-02-11 18:05:54,558 2144 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-02-11 18:05:54,568 2144 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2025-02-11 18:05:54,568 2144 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-02-11 18:05:54,568 2144 [DEBUG] - Adding new typ
@choco-bot
choco-bot / FilesSnapshot.xml
Created February 11, 2025 18:50
surreal v2.2.0 - 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\surreal\surreal.nupkg" checksum="54410520589C8CD5731CFA6228C482B2" />
<file path="C:\ProgramData\chocolatey\lib\surreal\surreal.nuspec" checksum="A69D62D7D25E4E7C37BFC8F60F30EB6B" />
<file path="C:\ProgramData\chocolatey\lib\surreal\tools\chocolateybeforemodify.ps1" checksum="8E417F548F69AB303786E10FED187057" />
<file path="C:\ProgramData\chocolatey\lib\surreal\tools\chocolateyinstall.ps1" checksum="7CCC54459DF11C23CBC5F73AB6AD12C6" />
<file path="C:\ProgramData\chocolatey\lib\surreal\tools\chocolateyuninstall.ps1" checksum="6730AF42201C98CF211BE05DDDDF4833" />
<file path="C:\ProgramData\chocolatey\lib\surreal\tools\LICENSE.txt" checksum="CD377F8AFD19D104DABB06141D7F3BCB" />
<file path="C:\ProgramData\chocolatey\lib\surreal\tools\surreal.exe" checksum="F2BD98AE2A994524B10
@ffsdfsdsdxxxxdfsdxf
ffsdfsdsdxxxxdfsdxf / $ InPixio Photo Focus Pro Crack
Created February 11, 2025 18:50
$$$ InPixio Photo Focus Pro Crack 4.3.8621.22315 For PC 2025 Download
InPixio Photo Focus Pro keygen 2025
@bellowsj
bellowsj / calling_stubhub_api.py
Created February 11, 2025 18:50 — forked from ozzieliu/calling_stubhub_api.py
Proof of Concept task to get ticket prices and event info using StubHub's API with Python
# Quick intro to accessing Stubhub API with Python
# Ozzie Liu (ozzie@ozzieliu.com)
# Related blog post: http://ozzieliu.com/2016/06/21/scraping-ticket-data-with-stubhub-api/
# Updated 3/5/2017 for Python 3 and Stubhub's InventorySearchAPI - v2
import requests
import base64
import json
import pprint
import pandas as pd
@nwlodychak
nwlodychak / perm_test.py
Created February 11, 2025 18:49
Permutation Test in python
observed_variance = df.groupby('Group').mean().var()[0]
print('Observed means:', df.groupby('Group').mean().values.ravel())
print('Variance:', observed_variance)
def perm_test(df):
df = df.copy()
df['Outcome'] = np.random.permutation(df['Outcome'].values)
return df.groupby('Group').mean().var()[0]
perm_variance = [perm_test(df) for _ in range(5000)]