This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## {{{ http://code.activestate.com/recipes/578019/ (r15) | |
#!/usr/bin/env python | |
""" | |
Bytes-to-human / human-to-bytes converter. | |
Based on: http://goo.gl/kTQMs | |
Working with Python 2.x and 3.x. | |
Author: Giampaolo Rodola' <g.rodola [AT] gmail [DOT] com> | |
License: MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.swift | |
// scroll_to_plusminus | |
// | |
// Created by uniqueidentifier on 2021-01-08. | |
// Modified by alex on 2022-07-08 to use modifiers for scrolling | |
// Modified by BalazsGyarmati on 2023-01-04 to use command instead of control + respect any keyboard layout for + and - | |
// | |
import Foundation |