cd /tmp
curl -O http://www.meadowy.org/~gotoh/ssh/connect.c
gcc connect.c -o connect -lresolv
sudo mv connect /usr/local/bin
Edit host:port as necessary
| --- ext/bigdecimal/bigdecimal.c.orig 2024-09-25 16:24:50 | |
| +++ ext/bigdecimal/bigdecimal.c 2024-09-25 16:25:15 | |
| @@ -65,7 +65,7 @@ | |
| static ID id_half; | |
| /* MACRO's to guard objects from GC by keeping them in stack */ | |
| -#define ENTER(n) volatile VALUE RB_UNUSED_VAR(vStack[n]);int iStack=0 | |
| +#define ENTER(n) volatile VALUE vStack[n];int iStack=0 | |
| #define PUSH(x) (vStack[iStack++] = (VALUE)(x)) | |
| #define SAVE(p) PUSH((p)->obj) |
| -- from http://veritrope.com/code/copy-omnifocus-item-uri-to-evernote/ | |
| tell front window of application "OmniFocus" | |
| try | |
| set theTrees to selected trees of content | |
| if (count of theTrees) < 1 then | |
| set theTrees to selected trees of sidebar | |
| end if | |
| if (count of theTrees) < 1 then |
| #!/usr/bin/env bash | |
| # | |
| # Convert a .mov or .mp4 to a .gif using ffmpeg and gifsicle. | |
| # | |
| # Tools install: https://gist.github.com/dergachev/4627207#installation | |
| # | |
| # Sources: | |
| # 1. https://discovergrid.com/animated-gif-with-ffmpeg-palettegen/ | |
| # Use ffmpeg with a generated palette to map colors better | |
| # 2. https://gist.github.com/dergachev/4627207 |
| #!/bin/bash | |
| # | |
| # Wrap tilt so that a Ctrl-C will call `tilt down` when done. | |
| tilt= | |
| do_auto_down() { | |
| echo "Interrupt; killing $tilt" | |
| kill -INT $tilt | |
| tilt down | |
| exit 0 |
| #!/bin/bash | |
| # | |
| # Send a message to OSX Notification Center when Tilt finishes building resources | |
| # | |
| # usage: tiltnotify [options] | |
| # | |
| # Options are passed as command-line arguments to `tilt get` (e.g., --port). | |
| notify() { | |
| local title= subtitle= message= |
| #!/bin/bash | |
| # | |
| # Homebrew has removed openssl 1.0 from the core repo, making the default | |
| # openssl 1.1. We still have a number of packages that rely on openssl 1.0 | |
| # (including ruby 2.2.7), so we need to bring it back. | |
| # Commit 0349a7ca76f483483c6d5c1d4cfe6b458dee2665 is the commit that removed 1.0 | |
| # from the repo. Commit 30fd2b68feb458656c2da2b91e577960b11c42f4 is its parent | |
| # commit that still has 1.0. | |
| # Uninstall 1.1 if it is currently installed as 'openssl' |
| #!/bin/bash | |
| # | |
| # Zoom.us full uninstall script | |
| # | |
| # - Download this file locally | |
| # - Run `chmod 755 ./remove_zoom_us_macos.sh` | |
| # - Run `./remove_zoom_us_macos.sh` | |
| echo Cleaning Zoom… |
I hereby claim:
To claim this, I am signing this object: