Skip to content

Instantly share code, notes, and snippets.

View DanEdens's full-sized avatar
💭
Building a Test Kit!

Dan Edens DanEdens

💭
Building a Test Kit!
View GitHub Profile
@yogeshchappewar
yogeshchappewar / Normal_Disribution_(1).ipynb
Last active January 16, 2023 04:59
Normal_Disribution_(1)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MShrimp4
MShrimp4 / everything-to-jpg.bat
Last active December 26, 2023 04:00
SGCC 사인머신 (대충짠코드)
PowerShell.exe -ExecutionPolicy Bypass -File .\everything-to-jpg.ps1
@fernandoescolar
fernandoescolar / settings.json
Created November 17, 2020 11:56
Windows Terminal settings.json
// Fernando Escolar's configuration 2020-11-01
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{75de88dc-a61a-4f9d-8f17-b820620e7163}",
"theme": "dark",
"copyOnSelect": false,
"copyFormatting": false,
@JustinGrote
JustinGrote / Search-Giphy.ps1
Last active December 23, 2022 16:18
Get a random gif from Giphy. ***NOTE: Invoke-TerminalGif was moved to MSTerminalSettings module***
#requires -module msterminalsettings,threadjob
###QUICKSTART
#FIRST: Run this in your Powershell Windows Terminal: Install-Module threadjob,msterminalsettings -scope currentuser
#THEN: iex (iwr git.io/invoketerminalgif)
#THEN: Get-Help Search-Giphy -Examples
#THEN: Get-Help Invoke-TerminalGif -Examples
#THEN: Search-Giphy | Format-List -prop *
#THEN: Invoke-TerminalGif https://media.giphy.com/media/g9582DNuQppxC/giphy.gif
@matthiassb
matthiassb / dns-sync.sh
Last active March 20, 2024 12:12
Init.d script for keeping WSL resolv.conf in-sync with Windows
#! /bin/bash
### BEGIN INIT INFO
# Provides: dns-sync
# Required-Start:
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Synchronizes /etc/resolv.conf in WLS with Windows DNS - Matthias Brooks
### END INIT INFO
@dangh
dangh / env.cmd
Last active December 18, 2020 19:20
Setup command alias in Windows
@echo off
:: Setup bootstrap script
IF NOT [%1]==[--skip-setup] (
:: Allow (, ), ^, <, >, |, ... in the file name
:: See https://stackoverflow.com/a/36990712
SETLOCAL EnableDelayedExpansion
SET "EXECUTABLE_PATH=%~dpnx0"
ECHO AutoRun "!EXECUTABLE_PATH!"
@echo off
::TEMP BLOCK
:: A block where temporary doskeys are stored,
::
:: ####################################
:: ######### ESC COLORS ##########
:: #########################################
::setlocal
::call :setESC
@jfacorro
jfacorro / chromecast
Last active April 26, 2023 12:15
Cast X server to chromecast
# https://github.com/thibauts/node-castv2-client
# https://github.com/thibauts/node-castv2
sudo apt-get install xserver-xorg-core
sudo apt-get install xvfb
sudo apt-get install scrot
sudo apt-get install libav-tools
# https://weblog.lkiesow.de/20160215-raspberry-pi-screen-mirroring/
avconv -f x11grab -s 1024x768 -i :0.0 -c:v mpeg4 -f mpegts udp://192.168.0.8:8888
@cwschroeder
cwschroeder / MQTT Client
Last active October 13, 2023 09:50
Example of a C# MQTT client
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;