Skip to content

Instantly share code, notes, and snippets.

piManila-3:~ pieter$ ping 10.0.1.23
PING 10.0.1.23 (10.0.1.23): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5
Request timeout for icmp_seq 6
Request timeout for icmp_seq 7
<html>
<head>
<link rel="stylesheet" href="http://code.leafletjs.com/leaflet-0.3.1/leaflet.css">
<script src="http://code.leafletjs.com/leaflet-0.3.1/leaflet.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<style type="text/css" media="screen">
#normal, #frame { width: 400px; height: 400px; border: 1px solid black; position: absolute; }
#frame { left: 450px; }
</style>
</head>
p DATA.read.split.inject(0) { |x,y| x + (y =~ /(\d+)-(\d+)/ ? ($2.to_i - $1.to_i + 1) : 1) }
__END__
1-99
101-108
177
214
241
259
323
361
(gdb) r
Starting program: /Applications/TextMate.app/Contents/MacOS/TextMate
Reading symbols for shared libraries .+++++++++++++++++.............................................................................................. done
Program exited normally.
Kerberos + Apache + SVN
=======================
I did this on Ubuntu server 10.10. Based on this: https://help.ubuntu.com/community/Kerberos
1) Make sure the server has appropriate DNS info, e.g.: (/etc/hosts)
10.0.1.147 draco.madebysofa.com
127.0.0.1 localhost ubuntu
@pieter
pieter / test.py
Created November 25, 2010 13:47
This is a test file
This is a test file
From 69759e74645d1939186fb4e2a5d3d9628b2c031f Mon Sep 17 00:00:00 2001
From: Pieter de Bie <frimmirf+gitx@gmail.com>
Date: Mon, 15 Jun 2009 23:09:29 +0100
Subject: [PATCH] PBGitConfig: Add missing sentinel
---
PBGitConfig.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/PBGitConfig.m b/PBGitConfig.m
From 8fcde7e91237ccdde4c39b22d512fc62f1c28288 Mon Sep 17 00:00:00 2001
From: Pieter de Bie <pdebie@ai.rug.nl>
Date: Fri, 29 May 2009 12:18:49 +0100
Subject: [PATCH] WIP: Allow reverting of hunks
---
PBGitCommitController.m | 18 ++++++++++++++++++
PBWebChangesController.m | 6 ++++++
html/views/commit/commit.js | 28 +++++++++++++++++++++++++---
3 files changed, 49 insertions(+), 3 deletions(-)
From 8273aecb9860ef843f60fb7e8655052cdc68cd06 Mon Sep 17 00:00:00 2001
From: Pieter de Bie <frimmirf+gitx@gmail.com>
Date: Thu, 28 May 2009 12:00:06 +0100
Subject: [PATCH] Allow a user to select which columns to display
---
PBGitHistoryController.h | 3 ++-
PBGitHistoryController.m | 18 +++++++++++++++++-
2 files changed, 19 insertions(+), 2 deletions(-)