Skip to content

Instantly share code, notes, and snippets.

@jbwhit
jbwhit / example-ruff-formatting.ipynb
Last active May 3, 2024 16:09
Steps to use `ruff` in JupyterLab with the `jupyterlab_code_formatter` plugin.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@speakinghedge
speakinghedge / debian-netinst-serial-console.md
Last active May 3, 2024 16:09
Debian 9.5 netinstall - add serial console (for install on Gateprotect GPO 150)

how to

  • install dependencies
> sudo apt-get install isolinux xorriso
  • get Debian netinst iso
  • create iso org dir
> mkdir iso-org
@tatsuyasusukida
tatsuyasusukida / !README-javascript-media-video.md
Last active May 3, 2024 16:08
🎥 How to record a video with JavaScript [demo video available]

🎥 How to record a video with JavaScript [demo video available]

Demo video: How to record a video with JavaScript

About this article

This article describes how to shoot a video from JavaScript using the MediaStream Recording API. The related resources are shown below.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 3, 2024 16:08
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
@ricealexander
ricealexander / emoji-list.md
Last active May 3, 2024 16:05 — forked from rxaviers/gist:7360908
Comprehensive list of GitHub-supported emojis
@smarek
smarek / 00README.md
Last active May 3, 2024 16:01
E3372s-153 from Stick mode to HiLink mode automatic installer

E3372s from STICK to HiLink mode installer

You need

  • curl, usb-modeswitch, grep, awk, sudo (not necessary, last step can fail safely)
  • balong_flash in $PATH ( https://github.com/forth32/balongflash.git )
  • atinout in $PATH ( https://github.com/beralt/atinout.git will work fine )
  • 2 files we flash (core sw update version 22.x, WebUI installer), we use these (you can probably use different balong-compatible):
    • core sw: "E3372sUpdate_22.298.03.02.965.BIN" / "E3372sUpdate_22.298.03.02.965.exe"
    • webui: "Update_WEBUI_17.100.06.00.03_Hilink_V7R2_9x25_CPIO.exe"

-> lmg-train.png<-

The Novice's LLM Training Guide

->Written by Alpin<- ->Inspired by /hdg/'s LoRA train rentry<- !!!warning This guide is being slowly updated. We've already moved to the axolotl trainer.


[TOC2]

@phaseOne
phaseOne / ZD620 Recovery Commands.md
Created March 3, 2022 18:47
Walmart / Sams Club ZD620 Recovery Commands

ZD620 Configuration

ZD620 and ZD420 Users Guide (en)
Zebra Setup Utilities: Sending Printer Commands and Receiving Data
Zebra Programming Guide

Use default WML

To restore the factory Zebra menus, you need to set display.root_wml property to its default and delete the custom WMINDEX.WML file. See Zebra Setup Utilities: Sending Printer Commands and Receiving Data for how to communicate with the printer. If you want, you can also use the ZSU to backup the WMINDEX.WML file before deleting it. There are likely a nu

@Khoulaiz
Khoulaiz / gist:41b387883a208d6e914b
Last active May 3, 2024 15:57
Checking ports without telnet

Here are several different ways to test a TCP port without telnet.

$ cat < /dev/tcp/127.0.0.1/22
SSH-2.0-OpenSSH_5.3
^C

$ cat &lt; /dev/tcp/127.0.0.1/23
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 3, 2024 15:55
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example