Skip to content

Instantly share code, notes, and snippets.

@Bill-Stewart
Bill-Stewart / Get-ADGroupMembership.ps1
Created December 2, 2019 19:44
Get-ADGroupMembership.ps1
# Get-ADGroupMembership.ps1
# Written by Bill Stewart
#requires -version 2
# Version history:
# 1.0 (2019-12-02)
# * Initial version. Only searches the current domain.
<#
@jtmoon79
jtmoon79 / python-embedded-for-Win10.md
Last active April 23, 2024 21:57
fully configuring embedded Python on Windows 10

Update: use PowerShell script PythonEmbed4Win.ps1.

The instructions in this gist have some subtle problems and this gist will not be updated.

About


@JustinByrne
JustinByrne / laravel-ci-cd-workflow.yml
Last active April 23, 2024 21:55
Github Action to test laravel and then compile the assets to a production branch
name: CI/CD workflow
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
testing:
@dhrp
dhrp / docker
Created June 8, 2013 02:15
this is the docker ascii logo
Docker logo
## .
## ## ## ==
## ## ## ## ===
/""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ / ===- ~~~
\______ o __/
\ \ __/
@RyanEwen
RyanEwen / etc_default_klipper
Last active April 23, 2024 21:53
Run Klipper + Moonraker + Mainsail + KlipperScreen on an Android device using Linux Deploy
# Configuration for /etc/init.d/klipper
KLIPPY_USER=android
KLIPPY_CONFIG=/home/$KLIPPY_USER/klipper_config/printer.cfg
KLIPPY_LOG=/home/$KLIPPY_USER/klipper_logs/klippy.log
KLIPPY_SOCKET=/tmp/klippy_uds
KLIPPY_PRINTER=/tmp/printer
KLIPPY_EXEC=/home/$KLIPPY_USER/klippy-env/bin/python
KLIPPY_ARGS="/home/$KLIPPY_USER/klipper/klippy/klippy.py $KLIPPY_CONFIG -l $KLIPPY_LOG -a $KLIPPY_SOCKET"
@ldeavila
ldeavila / multitenant_prisma_schema.md
Last active April 23, 2024 21:51
Flexible Multi-Tenant Web App Prisma Schema

Flexible Multi-Tenant Web App Prisma Schema

Description

A Prisma schema for a multi-tenant web app, designed for flexibility during the MVP & scalup stages.

Features/Capabilities

  • Individual user accounts
  • Organization accounts
    • Users can belong to zero or more organizations
  • Team support
@torcado194
torcado194 / cleanEdge-shadertoy.glsl
Last active April 23, 2024 21:50
cleanEdge, a pixel art upscaling algorithm for clean rotations
/*** MIT LICENSE
Copyright (c) 2022 torcado
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
@athiyadeviyani
athiyadeviyani / tkinterlist.py
Created July 19, 2018 08:27
Python GUI cheatsheet
# BASIC TKINTER CHEATSHEET
# Build basic GUIs with Python
from tkinter import *
from tkinter import scrolledtext
from tkinter import messagebox
from tkinter.ttk import Progressbar
from tkinter import filedialog
from tkinter import Menu
@ganapativs
ganapativs / iTerm2 + oh-my-zsh + Pure theme + zsh plugins setup.md
Last active April 23, 2024 21:47
iTerm2 + oh-my-zsh + Pure theme + zsh plugins setup
@TheNathannator
TheNathannator / GIP Interface Writeup.md
Last active April 23, 2024 21:46
A writeup on how to interact with the Xbox One driver on Windows directly

GIP Interface

A writeup on how to directly communicate with GIP (Xbox One) devices on a basic level.

I tried Windows.Gaming.Input.Custom and was unable to get it to work, so I resorted to this. Would have liked if I could do things more legitimately with what little documentation was provided, but oh well.

This writeup is not at all comprehensive of every possibilty with the interface, otherwise there'd be far too much to go through.

Thanks to the XInputHooker project for having a bunch of function detours set up, made my life easier when doing all of this.