Skip to content

Instantly share code, notes, and snippets.

View dim13's full-sized avatar
🇺🇦
Кто к нам с чем зачем, тот от того и того!

Dimitri Sokolyuk dim13

🇺🇦
Кто к нам с чем зачем, тот от того и того!
View GitHub Profile
@bbqtd
bbqtd / macos-tmux-256color.md
Last active February 9, 2026 03:28
Installing tmux-256color for macOS

Installing tmux-256color for macOS

  • macOS 10.15.5
  • tmux 3.1b

macOS has ncurses version 5.7 which does not ship the terminfo description for tmux. There're two ways that can help you to solve this problem.

The Fast Blazing Solution

Instead of tmux-256color, use screen-256color which comes with system. Place this command into ~/.tmux.conf or ~/.config/tmux/tmux.conf(for version 3.1 and later):

@q-hung
q-hung / WIN10.MD
Last active October 16, 2025 16:06
How Make a Windows 10 USB Using Your Mac - Build a Bootable ISO From Your Mac's Terminal

Most new PCs don't come with DVD drives anymore. So it can be a pain to install Windows on a new computer.

Luckily, Microsoft makes a tool that you can use to install Windows from a USB storage drive (or "thumbdrive" as they are often called).

But what if you don't have a second PC for setting up that USB storage drive in the first place?

In this tutorial we'll show you how you can set this up from a Mac.

Step 1: Download the Windows 10 ISO file

You can download the ISO file straight from Windows. That's right - everything we're going to do here is 100% legal and sanctioned by Microsoft.

@emilio-martinez
emilio-martinez / alibaba-vendor.md
Last active December 8, 2025 07:43
Topin 365GPS Server config

365GPS office address Contact: Erik Liu Address: 505 Block B, Donglian Building, Chuangye Second Road, Baoan District, Shenzhen, Guangdong, China(广东省深圳市宝安区创业二路东联大厦B座505,洪浪北地铁站旁) Mobile/ wechat/ whatsapp: +86-13480999031
Alibaba: 365gps.en.alibaba.com Skype: topin.sales
E-mail: [email protected]

============================================================= Hi

@mikaelvesavuori
mikaelvesavuori / create-bootable-win10-iso-mac.md
Last active April 24, 2024 09:11
Create a bootable Windows 10 USB stick from Mac Terminal (Bash)

Create a bootable Windows 10 USB stick from Mac Terminal (Bash)

Disclosure: These steps (at least for me) worked until it was time to actually install the files, in the Windows installer. This may be a configuration or hardware issue, but I am not totally sure.

This will help you set up a boot drive to install Windows 10, using a Mac. If you have a PC, this should be easier, using instructions at: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/install-windows-from-a-usb-flash-drive

Assumptions

  • You will use a US version of Windows 10 (if not, then you may need to change the variables a bit)
  • You have a detachable USB device (minimum 5GB)
.org $8000
.org $ff00
XAML = $24 ; Last "opened" location Low
XAMH = $25 ; Last "opened" location High
STL = $26 ; Store address Low
STH = $27 ; Store address High
L = $28 ; Hex value parsing Low
H = $29 ; Hex value parsing High
YSAV = $2A ; Used to see if hex value is given