Skip to content

Instantly share code, notes, and snippets.

View DataSlugger's full-sized avatar
:octocat:

Javier Montero DataSlugger

:octocat:
View GitHub Profile
@DataSlugger
DataSlugger / uv_markdown_table.md
Last active April 29, 2026 00:03
UV Command References

UV organizes commands into several categories based on workflows.

Here's your comprehensive command guide:

🐍 Python Version Management

Manage Python installations without external tools like pyenv or conda.

| Command | Description | Example |

@DataSlugger
DataSlugger / PYPandasDType.ipynb
Created December 7, 2023 02:07
PandasDTypeDemo
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DataSlugger
DataSlugger / ReduceTempdbSizeandVFL.sql
Created May 16, 2020 23:40
Script to shrink Tempdb data files and Virtual Logs
/*Get spaceused*/
sp_spaceused @updateusage=true
/*Check # of Virtual Log Files - VFL*/
dbcc loginfo
/*
DBCC DROPCLEANBUFFERS
Clears the clean buffers. This will flush cached indexes and data pages. You may want to run a CHECKPOINT command first, in order to flush everything to disk.*/
Function Publish-DatabaseDeployment {
param(
$dacfxPath
, $dacpac
, $publishXml
, $targetConnectionString
, $targetDatabaseName
)
Write-Verbose 'Testing if DACfx was installed...' -Verbose