Skip to content

Instantly share code, notes, and snippets.

@aleksas
aleksas / README.md
Last active March 13, 2024 01:25
Command `DYMO LabelMaster 280` from python on Ubuntu

Script copied from original dymoprint page and modified to include LM280 usb device id 0x1005 and ttf paths changed. Also usb device class changed from 0x3 to 0x7.

  • Install drivers from this repo by following these instructions.
  • Check if Ubuntu detects the LM 280 when connected to computer and powered on.
  • Run the script.
@NerdEgghead
NerdEgghead / classic-bear-tank-bis.md
Last active February 24, 2021 19:04
NerdEgghead's Classic Bear gear sets

NerdEgghead's Classic Bear gear sets

  • "True" BiS does not exist for bear tanks, as a good tank should be swapping gear sets constantly depending on the required balance between threat and survivability that is needed for a given encounter and raid team. That being said, certain threat vs. survivability tradeoffs are substantially more efficient than others, so the goal of these lists is to provide the user with representative gear sets which balance these two axes as efficiently as possible.
  • Stat weights and EHP values are based on the integrated Classic Bear Tank Weights Calculator from the class Discord, and are calculated assuming full buffs, consumables, and boss debuffs unless otherwise specified.
  • Gear lists are based on their general effectiveness against all raid bosses as opposed to being tailored for specific bosses. For tank stats in particular, this means that magical resistance is not fa
@JerryLokjianming
JerryLokjianming / Crack Sublime Text Windows and Linux.md
Last active June 1, 2024 02:16
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex

How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/
  3. Open file select sublime_text.exe
  4. Offset 0x8545: Original 84 -> 85
  5. Offset 0x08FF19: Original 75 -> EB
  6. Offset 0x1932C7: Original 75 -> 74 (remove UNREGISTERED in title bar, so no need to use a license)
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active June 13, 2024 08:06
crack activate Office on mac with license file
@Pysis868
Pysis868 / grub.cfg
Last active May 29, 2024 20:27
My own configuration file for GRUB2 to boot various live distributions of Linux-based operating systems, along with some system tools. I tried to include a lot of sample configuration entries, even if I don't currently use them, so it may help others. Exceedingly long blog post: http://tehfishyblog.logdown.com/chips/306146-a-homemade-ultimate-bo…
# Config for GNU GRand Unified Bootloader (GRUB) (2)
# /boot/grub2/grub.cfg
# or
# /boot/grub/grub.cfg
# Mostly only 'legacy' CSM/BIOS boot methods currently.
# Unable to boot loop entries with Secure Boot
# Notes:
# Description:
# This grub.cfg file was created by Lance http://www.pendrivelinux.com
@erikpena
erikpena / main.ino
Last active July 21, 2023 05:27
A simple hardware button debouncer using ESP8266 libraries within the Arduino IDE.
// pin is 2.
const int multiButton = 2;
void setup() {
// Configure the pin mode as an input.
pinMode(multiButton, INPUT);
// Attach an interrupt to the pin, assign the onChange function as a handler and trigger on changes (LOW or HIGH).
attachInterrupt(multiButton, onChange, CHANGE);
# Poker II Firmware disassembly help tool.
original = IO.read("./Poker II original firmware.bin")
extracted = ""
original.each_byte{|b|
m = (((b & 0x0f) << 4) | ((b & 0xf0) >> 4)) ^ 0xff
extracted << m.chr
}
puts extracted
@weisi
weisi / privacy-design-pattern-unusual-activities.rst
Last active August 29, 2015 14:01
Privacy Design Pattern: Handling Unusual Account Activities

Privacy Design Pattern: Handling Unusual Account Activities

Author: Weisi Dai (weisi@cmu.edu)
Date: Apr 28, 2014

The Privacy Design Pattern

@chrisblossom
chrisblossom / gist:8690833
Last active February 23, 2016 07:40
Dynamically set ansible ansible_ssh_port and ansible_ssh_user
---
# 1) Be sure to set the following variables for all hosts:
# vars:
# oldsshport: 22
# sshport: 555
# 2) Might fail without setting remote_tmp = /tmp/ansible/$USER in your ansible.cfg. Includes a fix for this setting below.
# 3) Once host is setup most of the checks are skipped and works very quickly.
# 4) Be sure to set non-standard shells in a different playbook later. Stick with /bin/bash until you can run apt install.
# 5) Assumes root user has sshkey setup already. Not sure how to utilize the --ask-pass option. For now, use ssh-copy-id prior to running playbook on new host for root user (if needed).
@XVilka
XVilka / TrueColour.md
Last active June 10, 2024 17:21
True Colour (16 million colours) support in various terminal applications and terminals

THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.

PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!