Skip to content

Instantly share code, notes, and snippets.

View puls's full-sized avatar

Jim Puls puls

View GitHub Profile
dryghost:~ puls$ find /Library/Widgets/ESPN.wdgt/ | xargs grep Tampa
/Library/Widgets/ESPN.wdgt//ESPN.js: if ("Tampa Bay" == inESPNTeamStr) return inESPNTeamStr + " Devil Rays";
Call graph:
2349 Thread_398257 DispatchQueue_1: com.apple.main-thread (serial)
+ 2349 ??? (in Mail) load address 0x105215000 + 0xd8c34 [0x1052edc34]
+ 2349 NSApplicationMain (in AppKit) + 867 [0x7fff8d6d152a]
+ 2349 -[NSApplication run] (in AppKit) + 463 [0x7fff8d4533d6]
+ 2349 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit) + 135 [0x7fff8d456a95]
+ 2349 _DPSNextEvent (in AppKit) + 1993 [0x7fff8d4576c7]
+ 2349 _NSHandleCarbonMenuEvent (in AppKit) + 250 [0x7fff8d4c1ce1]
+ 2349 _HandleMenuSelection2 (in HIToolbox) + 585 [0x7fff90c76034]
+ 2349 _ZL14MenuSelectCoreP8MenuData5PointdjPP13OpaqueMenuRefPt (in HIToolbox) + 418 [0x7fff90c769bf]
chimendez:~ puls$ curl -L support.zendesk.com/home | grep 1303926452
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 98 0 98 0 0 600 0 --:--:-- --:--:-- --:--:-- 1042 <script src="https://asset3.zendesk.com/javascripts/vendor/html5_shiv.js?1303926452" type="text/javascript"></script>
<link href="https://asset2.zendesk.com/assets/screen.css?1303926452" media="all" rel="stylesheet" type="text/css" />
<link href="https://asset3.zendesk.com/assets/print.css?1303926452" media="print" rel="stylesheet" type="text/css" />
<!--[if lte IE 7]><link href="https://asset0.zendesk.com/assets/ie.css?1303926452" media="screen" rel="stylesheet" type="text/css" /><![endif]-->
<!--[if lte IE 6]><link href="https://asset0.zendesk.com/assets/ie6.css?1303926452" media="screen" rel="stylesheet" type="text/css" /><![endif]-->
<script src="https://asset3.zendesk.com/assets/bootstrap.js?1
diff --git a/deps/srchilight/import-from-homebrew.sh b/deps/srchilight/import-from-homebrew.sh
index 646c853..6a4ec1c 100755
--- a/deps/srchilight/import-from-homebrew.sh
+++ b/deps/srchilight/import-from-homebrew.sh
@@ -24,6 +24,7 @@ function resolvedeps() {
currname=$(echo "$currname" | sed -E 's/\.[0-9]+\.dylib$/.dylib/g')
cp -fvp "$currpath" "$currname"
+ chmod +w "$currname"
echo install_name_tool -id "@rpath/$currname" "$currname"
7/9/10 11:51:36 PM mDNSResponder[34] mDNSPlatformUpdateProxyList: BIOCSETF(17) failed 9 (Bad file descriptor)
7/9/10 11:52:32 PM kernel AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
7/9/10 11:52:32 PM configd[13] setting hostname to "subtlefuge.local"
7/9/10 11:52:32 PM configd[13] network configuration changed.
7/9/10 11:52:36 PM kernel Auth result for: 00:1b:11:e5:99:3d MAC AUTH succeeded
7/9/10 11:52:36 PM kernel AirPort: Link Up on en1
7/9/10 11:53:03 PM configd[13] network configuration changed.
7/9/10 11:53:04 PM UserEventAgent[183] **** ERROR: SCNetworkSignatureCopyActiveIdentifiers returned nil
// This is more than four lines, but it actually does the proxy work instead of calling some library.
var http = require('http'), crypto = require('crypto');
var server = http.createServer(function (request, response) {
var proxy = http.createClient(BACKEND_PORT, BACKEND_HOST).request(request.method, request.url, request.headers);
request.addListener('data', function (data) { proxy.write(data); });
request.addListener('end', function () { proxy.end(); });
proxy.addListener('response', function (proxyResponse) { response.writeHead(proxyResponse.status, proxyResponse.headers); });
proxy.addListener('data', function (data) { response.write(data); });
proxy.addListener('end', function () { response.end(); });
executing /usr/sbin/asr
void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession*, errno_t) new session to port 12345 failed: 61
void AppleUSBDeviceMux::handleConnectResult(BulkUSBMuxSession*, errno_t) new session to port 12345 failed: 61
ASR STATUS: start 110 multicast-client
ASR: Waiting for connection attempt from server
ASR STATUS: setup
ASR: Validating target...
ASR: done
ASR STATUS: metadata
ASR: Validating source...
=CRASH REPORT==== 5-Oct-2009::23:15:15 ===
crasher:
pid: <0.36.0>
registered_name: []
exception exit: {bad_return,
{{app,start,[normal,[]]},
{'EXIT',
[47,101,116,99,47,101,106,97,98,98,101,114,100,
47,101,106,97,98,98,101,114,100,46,99,102,103,
58,32,"194",58,32,
// Starting from somebody else's code:
if (value)
$(value).val('foo');
// I changed it, not noticing anything about the if statement because
// I haven't written an if statement without curly braces in several years:
if (value)
var something_important = $(value);
Build complete.
Don't forget to run 'make test'.
592 jim@DN0a422721:~/Downloads/xcache-1.2.2
$ make test
Build complete.
Don't forget to run 'make test'.
bogus test name tests/