Skip to content

Instantly share code, notes, and snippets.

————————————————————————————————————————————————————————————————————————————————————————————————————
BBEDIT REGULAR EXPRESSION GUIDE MODIFIED 2013-03-27 : 13:08
————————————————————————————————————————————————————————————————————————————————————————————————————
NOTES:
The PCRE (Perl Compatible Regular Expressions) engine is what BBEdit uses.
Items I'm unsure of are marked '# PCRE?'. The list while fairly comprehensive is not complete.

REFERENCES FOR LEARNING & USING APPLESCRIPT Modified: 2018/06/19 18:47


NOTES

AppleScript is a rather peculiar scripting language to learn.

@wjnbreu
wjnbreu / ReadMe.rst
Created March 16, 2021 17:29 — forked from benspaulding/ReadMe.rst
Intelligently rename active document in BBEdit.

BBEdit Rename Active Document Script

The script itself has most of the documentation. Just know that there are two scripts here:

  1. A plain-text version (.applescript)
  2. A compiled version (.scpt)
@wjnbreu
wjnbreu / what-forces-layout.md
Created March 16, 2021 17:28 — forked from paulirish/what-forces-layout.md
What forces layout/reflow. The comprehensive list.

What forces layout / reflow

All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.

Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.

Element APIs

Getting box metrics
  • elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent
@wjnbreu
wjnbreu / System Design.md
Created March 16, 2021 17:28 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@wjnbreu
wjnbreu / GIF-Screencast-OSX.md
Created March 16, 2021 17:28 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@wjnbreu
wjnbreu / frontendDevlopmentBookmarks.md
Created March 16, 2021 17:28 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.
@wjnbreu
wjnbreu / Contract Killer 3.md
Created March 16, 2021 17:27
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

@wjnbreu
wjnbreu / web-servers.md
Created March 16, 2021 17:27 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@wjnbreu
wjnbreu / web-servers.md
Created March 16, 2021 17:27 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000