Skip to content

Instantly share code, notes, and snippets.

View mcleary's full-sized avatar

Thales Sabino mcleary

View GitHub Profile
@mcleary
mcleary / Set-NotificationIconsVisible.ps1
Created March 22, 2024 09:27 — forked from psitem/Set-NotificationIconsVisible.ps1
Sets all Windows Taskbar Notification Icons to Visible. Should probably be in a Scheduled Task set to run 'At log on' and 'Repeat task every: 1 hour'
$basePath = 'HKCU:\Control Panel\NotifyIconSettings\'
Get-ChildItem -Path $basePath | `
ForEach-Object { Get-ItemProperty "$basePath$($_.PSChildName)" } | `
Set-ItemProperty -Name 'IsPromoted' -Value 1
@mcleary
mcleary / assert_frames_equal.ipynb
Created May 16, 2018 10:31 — forked from jiffyclub/assert_frames_equal.ipynb
Example of a function to compare two DataFrames independent of row/column ordering and with handling of null values.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mcleary
mcleary / LU.cpp
Created May 2, 2016 13:24 — forked from bergolho/LU.cpp
// Resolve um sistema linear pela substituição LU.
double* LU (double **A, double *b)
{
int i, j, k, p;
double *pivot = new double[n];
double Amax, t, m, r, Mult;
// 1 PASSO: Transformar a matriz A do problema em duas matrizes triangulares L e U.
for (i = 0; i < n; i++)
pivot[i] = i;
for (j = 0; j < n-1; j++)