<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>localhost.pbcopy</string>
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.scpt | |
-- Cocoa-AppleScript Applet | |
-- | |
-- This app can close and open applications when an other application, | |
-- the trigger, is launced or terminated. This can be useful when two | |
-- applications interfere with eachother or when one is dependend on the | |
-- other (e.g. with setting an VPN connection). | |
-- | |
-- | |
-- Roemer Vlasveld (roemer.vlasveld@gmail.com) |
I frequently administer remote servers over SSH, and need to copy data to my clipboard. If the text I want to copy all fits on one screen, then I simply select it with my mouse and press CMD-C, which asks relies on m y terminal emulator (xterm2) to throw it to the clipboard.
This isn't practical for larger texts, like when I want to copy the whole contents of a file.
If I had been editing large-file.txt
locally, I could easily copy its contents by using the pbcopy
command:
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
/* bling.js */ | |
window.$ = document.querySelectorAll.bind(document); | |
Node.prototype.on = window.on = function (name, fn) { | |
this.addEventListener(name, fn); | |
}; | |
NodeList.prototype.__proto__ = Array.prototype; |
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
From c76461960d05b3d64185d1a67096461ce6854009 Mon Sep 17 00:00:00 2001 | |
From: Craig Cabrey <craigcabrey@gmail.com> | |
Date: Fri, 8 Jul 2016 13:07:26 -0400 | |
Subject: [PATCH] Don't restrict movement gestures to touchscreens | |
--- | |
gtk/gtkscrolledwindow.c | 8 ++++---- | |
1 file changed, 4 insertions(+), 4 deletions(-) | |
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c |
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
#!/usr/bin/env ruby | |
# gem install active_support | |
require 'active_support/inflector' | |
require 'active_support/core_ext/string' | |
# gem install webrick (only ruby3) | |
require 'webrick' | |
# gem install mechanize |
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
document.documentElement.innerHTML = ''; | |
for (const obj of [document, window]) { | |
for (const event of Object.values(getEventListeners(obj))) { | |
for (const {type, listener, useCapture} of event) { | |
obj.removeEventListener(type, listener, useCapture) | |
} | |
} | |
} |