Skip to content

Instantly share code, notes, and snippets.

@cmwylie19
cmwylie19 / Hash.md
Created February 11, 2025 17:29
get the hashes of images
docker pull docker.io/library/node:22-bookworm
docker inspect --format='{{index .RepoDigests 0}}' docker.io/library/node:22-bookworm

# or 
skopeo inspect docker://docker.io/library/node:22-bookworm | jq -r '.Digest'
@dcwrk
dcwrk / gist:f8389e7f24aae6acbb8862be6710b7f8
Created February 11, 2025 17:29
Add computer to LogonWorkstations list in AD via powershell
Simple manual steps as admin for adding a workstation to the list of computers a user account can log into.
$currentWorkstations = (Get-ADUser -Identity "<USER>" -Properties LogonWorkstations).LogonWorkstations
$newWorkstations = "$currentWorkstations,<NEWCOMPUTER>"
Set-ADUser -Identity "<USER>" -LogonWorkstations $newWorkstations
@Eemiaa
Eemiaa / Banco.java
Created February 11, 2025 17:29
atividade9
package aula9;
public class Banco implements OperacoesBanco{
@Override
public Correntista encontraCorrentista(Correntista[] todosCorrentistas, String cpfProcurado) {
// TODO Auto-generated method stub
for (Correntista correntista: todosCorrentistas) {
if(correntista.getCpfCliente() == cpfProcurado) return correntista;
}
@ethaniwha
ethaniwha / gist:dd13c639a192bc7249e47d8997fab98b
Created February 11, 2025 17:29
MSTech Folder Icon Pro Download Free with [Latest] 2025
MSTech Folder Icon Pro Free Download is the most complete and the best Folder Icon tool that gives you everything you need to create unlimited amazing folder icons and assign them to any folder in the easiest way. Straightforward featuring an intuitive interface make the application quite simple to handle, meaning that it gives a chance even to the less experienced individuals.
Download Link
https://sulkurl.com/lxm
@choco-bot
choco-bot / FilesSnapshot.xml
Created February 11, 2025 17:28
snappy-driver-installer v1.0.539.20170422 - Failed - 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\snappy-driver-installer\snappy-driver-installer.nupkg" checksum="7EA09A6C7059A7C1838E6B13D5DFAC2E" />
<file path="C:\ProgramData\chocolatey\lib\snappy-driver-installer\snappy-driver-installer.nuspec" checksum="737A744CA31802FDBD3472C2CE4FD031" />
<file path="C:\ProgramData\chocolatey\lib\snappy-driver-installer\tools\chocolateyinstall.ps1" checksum="2688718F9F3AAA8AED961D87B3EAF940" />
<file path="C:\ProgramData\chocolatey\lib\snappy-driver-installer\tools\chocolateyuninstall.ps1" checksum="8CA3D3F771DE79AA747D52F15118C1A8" />
</files>
</fileSnapshot>
library(lmtp)
library(simcausal)
library(tidyverse)
D <- DAG.empty() +
node("D", t=0, distr = "rbern", prob=0) +
node("Y", t=0, distr = "rbern", prob=0) +
node("W1", t=0, distr = "rnorm", mean = 0.5) +
node("W2", t=0, distr = "runif", min = 5, max = 10) +
node("W3", t=0, distr = "rbern", prob = plogis(0.01)) +
@ethaniwha
ethaniwha / gist:44b512fc951223001a31be11d899a673
Created February 11, 2025 17:27
Hot Virtual Keyboard Download Free with Serial Key [Latest] 2025
Hot Virtual Keyboard Serial Key is a powerful application that allows you to access the on-screen virtual keyboard using a mouse or touch screen. ItKey is very useful when your actual keyboard fails (such as key lag or slow response). It is also convenient when you need to enter sensitive data and worry that keyloggers may affect your PC.
Download Link
https://sulkurl.com/lxn
import pandas as pd
import psycopg2
import json
# Load the CSV file
file_path = 'df_getrunresults.csv'
df = pd.read_csv(file_path)
# PostgreSQL connection string
conn_str = 'postgres://ufhwqvjql982wyh82:KGwkwgRo1o7bF3XW@ritual-v3.f6bb5ec602c7412485b8.db.getdx.net/client'
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created February 11, 2025 17:27
storj v4.1.1 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-2270195762-3335344054-2709297393-1000</user>
<keys>
<key installerType="Unknown" displayName="Storj Share" displayVersion="">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Storj Share</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA["C:\Program Files\Storj Share\uninstall.exe"]]></UninstallString>
@scivision
scivision / CMakeLists.txt
Last active February 11, 2025 19:08
MUMPS example via find_packge(MUMPS CONFIG)
cmake_minimum_required(VERSION 3.19)
project(MUMPS_example
LANGUAGES C Fortran
)
enable_testing()
file(GENERATE OUTPUT ${PROJECT_BINARY_DIR}/.gitignore CONTENT "*")