Skip to content

Instantly share code, notes, and snippets.

@DinleyH
DinleyH / windowkill.py
Last active July 5, 2024 15:31
Automatically close problematic dialog popups in sublime text 3.
This closes the popups instantly so you never see them and they dont effect indenting etc. Works on windows.
To install
1. open sublime
2. go to tools -> Developer -> New Plugin
3. paste the code into the document (replacing any existing code sublime includes in the document)
4. save the file using the default user plugin directory sublime suggests.
(on windows this is C:\Users\yourname\AppData\Roaming\Sublime Text\Packages\User)
5. Restart.
@wwmoraes
wwmoraes / $ StarUML patch.md
Last active November 21, 2023 02:11
StarUML patch

StarUML 5.0.x patch

About

Inspired on @msterhuj's [patch][original-patch]. This patch keeps the application mechanisms as vanilla as possible.

Here the validation logic has changes to avoid a round trip to the StarUML server, instead of patching the final check like the referred patch. The license file structure and data validation remains intact.

@cntrump
cntrump / bcompare_patch.py
Last active November 25, 2023 07:27
Beyond Compare 4 Patcher
#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
import os
import sys
import platform
def useage():
print("useage: bcompare_patch.py /path/to/BCompare")
@ifahadone
ifahadone / decompile-pyc-dir-recursively.py
Last active November 22, 2023 05:58
Maintains directory structure while decompiling ".pyc" to ".py" recursively
# --------- USAGE -----------
# USE THIS FILE IF YOU WANT TO MAINTAIN DIRECTORY STRUCTURE WHILE DECOMPILING ".PYC" TO ".PY" RECURSIVELY
# Install Python
# Run -> pip install uncompyle6
# Run -> python decompile_pyc_recursively.py -p [PATH-OF-PYC-DIR]
# ----------------------------
import argparse
import os
@gwenzek
gwenzek / remote_subl.md
Last active July 12, 2024 11:06
Sublime Text for remote development

This steps should help working remotely with Sublime Text. They are meant to be incremental, just setting up SFTP will go a long way.

My workflow

I have all my code on my laptop, edit locally and automatically push the files to my server. I never edit "tracked" files on the server directly. I sometimes modify untracked files on the server using rmate (see below).

@JerryLokjianming
JerryLokjianming / Crack Sublime Text Windows and Linux.md
Last active July 20, 2024 18:39
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)
@trandaison
trandaison / starUML.md
Last active July 22, 2024 16:02
Get full version of StarUML
@kendellfab
kendellfab / goto-sublime
Created August 1, 2013 20:53
Add mouse click `goto definition` in sublime text 3.
Linux - create "Default (Linux).sublime-mousemap" in ~/.config/sublime-text-3/Packages/User
Mac - create "Default (OSX).sublime-mousemap" in ~/Library/Application Support/Sublime Text 3/Packages/User
Win - create "Default (Windows).sublime-mousemap" in %appdata%\Sublime Text 3\Packages\User
[
{
"button": "button1",
"count": 1,
"modifiers": ["ctrl"],
"press_command": "drag_select",