Giter Club home page Giter Club logo

byte-bucket's Introduction

@EricFromCanada’s Byte Bucket

AppleScript

arrange windows

Arranges windows for specified applications across two screens, because application windows don't preserve their positions on an external display if it's unplugged or sleeps (unless "Displays have separate Spaces" is enabled). More info here.

close Safari Web Inspector

Before Safari 6, the Web Inspector shortcut would only open it. Attach this AppleScript to another shortcut to make it closable.

HTMLize Selected Text

Runs selected text through Markdown.pl and SmartyPants.pl, and converts any MacRoman non-ASCII characters to HTML entities. (A relic from before UTF-8 was the standard online.)

Journler2Blogger

Uses the logic from HTMLize Selected Text to prepare a Journler entry for submission to Blogger. Includes the ability to convert rich text styles to HTML.

bash

keyputter.sh

Handy if you have a bunch of servers you need to install your SSH key onto and don't have ssh-copy-id.

svn-user-htdigest.sh

Use this to generate an htdigest file of users from an svnserve passwd file. Useful if you have a Trac installation using HTTPAuth and you need to grant your SVN users access.

Time-Machine-NASifier.command

Creates a Time Machine bundle for the current Mac with larger 128MB band files (up from 8MB) to improve performance when backing up to a NAS over AFP or SMB.

BBEdit

reStructuredText codeless language module

Language module for BBEdit and TextWrangler which highlights elements in reStructuredText files and lists section titles in the function pop-up menu. Recognizes both standard reST directives and Sphinx additions. See its comments for my recommended editor settings.

Lasso codeless language module

Language module for BBEdit and TextWrangler which adds both Lasso 8- and 9-style type and function names to the function menu, and highlights elements not supported by the current BBEdit language module such as ticked strings, tag literals, and variables.

Liquid codeless language module

Language module for BBEdit and TextWrangler which highlights only markup between Liquid delimiters, marking everything else as comments. Supports keywords added in Liquid 5.0.0.

Apache 2.4 Configuration codeless language module

Update of John Gruber's Apache Configuration Language Module to include variables, Apache 2.4 keywords, and some bugfixes.

Make 4.3 codeless language module

Update of BBEdit's / TextWrangler's built-in module to include more keywords from GNU make.

All these are also listed among the language modules at BBEdit Extras.

JavaScript

touch-menus-plus.js

Makes navigation links with drop-down menus usable on iOS by only enabling the link if its submenu is visible. This is only required if JavaScript is used to hide and show submenus, since iOS accounts for CSS-based menus by preventing a :hover region's links from activating until any divs it'll reveal are displayed.

Lasso lexer for highlight.js

Contributed a lexer for the Lasso programming language for highlight.js, a JS-based syntax highlighter. Included since version 7.4.

Lasso lexer for code-prettify

Also wrote a Lasso lexer for code-prettify, another JS-based syntax highlighter.

Lasso

completions-generator.lasso

Script which generates a CodaCompletion.plist file for the Coda 2 Lasso mode.

sphinxifier.lasso

Script for generating API documentation for Sphinx directly from Lasso code.

Python

Lasso domain for Sphinx

Domain plugin for the Sphinx documentation processor, allowing it to handle descriptions of Lasso syntax.

Lasso lexer for Pygments

Contributed a lexer for the Lasso programming language for the Pygments syntax highlighter. Included since version 1.6.

restview

Contributed CSS, syntax highlighting, and request handling improvements to restview, a tool for previewing reST documents in a web browser.

Ruby

Homebrew

Numerous contributions to Homebrew's commands, documentation, messaging, and online package browser.

Lasso lexer for Rouge

Contributed a lexer for the Lasso programming language for the Rouge syntax highlighter. Included since version 2.0.8.

More about me and things I've written.

byte-bucket's People

Contributors

ericfromcanada avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

byte-bucket's Issues

NASifier script not working with a Synology drive and Sonoma 14.2.1

Hi. Found your blog post on Time Machine migration — looked promising! Tried to use the script to move some older backups to a Synology NAS disk. Getting some errors and the image is not being created:
$ /Volumes/Backups/Time-Machine-NASifier.command
/Volumes/Backups/Time-Machine-NASifier.command: line 1: cd: "/Volumes/Backups": No such file or directory
sed: 1: "s/\": unterminated substitute pattern
sed: 1: "s/\": unterminated substitute pattern
sed: 1: "s/\": unterminated substitute pattern
/Volumes/Backups/Time-Machine-NASifier.command: line 1: payload:allShortcutsEnabled:false: command not found

Can you please assist?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.