Skip to content

Instantly share code, notes, and snippets.

View dariaphoebe's full-sized avatar

Daria Phoebe Brashear dariaphoebe

View GitHub Profile
//
// CLLocation+Sino.h
//
// Created by i0xbean@gmail.com on 13-4-26.
// 火星坐标系转换扩展
//
// earth(国外 WGS84), mars(国内 GCJ-02), bearPaw(百度 BD-09) 坐标系间相互转换
// 未包含 mars2earth. 需要这个可参考 http://xcodev.com/131.html
#import <CoreLocation/CoreLocation.h>
@dariaphoebe
dariaphoebe / dockelly
Last active August 29, 2015 14:07 — forked from nyarla/dockelly
#!/usr/bin/env bash
address=192.168.20.129
running=`echo -n $(nmap ${address} -p 4243) | grep 'close' | grep '4243/tcp'`
if [ ! -z "${running}" ]; then
ssh docker@${address} <<EOF
sudo /usr/local/etc/init.d/docker stop
sudo sh -c "/usr/local/bin/docker -H tcp://${address}:4243 -d > /var/lib/docker/docker.log 2>&1 &"
We pulled off the road, a highway dating to 14 years before my birth, to switch drivers. A swap of the two front occupants put me
behind the wheel, and I rested my foot on the clutch for a moment as I fastened myself in and finally pulled away. It would now be
my responsibility to convey us, 2 women, a man and a dog, toward the city.
I noticed that he quickly nodded off beside me; Meanwhile, she and I chatted. We'd just met a few days prior. I knew little of her
background, just as the converse was true. But we'd been sharing experiences since the beginning of the conference that had ended
the previous day, and now finally had the opportunity to speak of things with less urgency.
I couldn't tell you how we got where we did. Something she asked led me where I went. Having gone there, and with the benefit of
the preoccupation of three freeway lanes staring me in the face, I told her a 42 year story I knew well. It was a story I'd had
The longer you have to reflect on your flaws, the more likely you realize the patterns of events in your life which led to them.
Being bullied as a child leads you to learn patterns of behavior that will avoid standing out. You change who you are. If you do
it long enough, it becomes an easy default, and you feel like you're someone else. You live a second life, one which is true, and
one which is for public consumption - for people you aren't sure of, that you fear are waiting to betray you or bash you for being
different. It's dissonant, even draining. All you can do is find support, start unraveling the protective facade, and see what
plays out. Step 1: getting to the point that you realize you need to do this.
We're a couple weeks out from Christmas. Not even, actually. I remember Christmas. The feeling is familiar, like the back of my hand.
Joy and excitement.
This year, as for a while, my heart is a stone. I feel nothing.
It's not about material goods: I don't care. Any "thing" I want could be purchased, it might just take a few months to make things float.
In truth, I'm not sure where I derailed. I've cracked that the lack of a train around the tree is the problem, but I don't think it is.
Somewhere along the way, I lost something, didn't notice, and it's been gone since.
It's easy to forget the task at hand. Moreso if like me you are easily distracted. I have a plan for my journey, even if that plan is not playing out on a timeline quite as aggressive as I'd like. Sometimes, though, sticking with the plan requires reminders.
From the chain around my neck hangs a small token, serving to remind me of my plan. I mean that literally: it's a 1922 Pittsburgh Railways trolley token, redeemable (90 years ago) for a journey practically anywhere in the city. Most of my physical journeys these days turn out to be confined to Pittsburgh. This is surprising when you consider that it used to be nothing to me to drop what I was doing, get in the car and drive a couple hundred miles to hang out with someone, have dinner somewhere new or different, or visit some site of interest. It still happens (dim sum, a brew and the West Side Market in Cleveland, for instance) but moving somewhere that I can walk to so many places has ruined me for driving. It would be easy, as the world I experience re
@dariaphoebe
dariaphoebe / twitter_unfollow.rb
Created March 17, 2016 05:56 — forked from coilysiren/config.yaml
Unfollows: (a) people who dont follow you back (b) people you haven't talked to (c) people who haven't posted in a month
require 'twitter' # gem install twitter
require 'capybara' # gem install capybara
require 'capybara/dsl'
# CONFIGS
exceptions = [
'XXXXXXXX',
I wasn't in the best place, mentally or physically, as I climbed into the passenger side of his car. The sedan was clean, and I knew the song which was playing as it reached my ears: an R&B hit which was about as old as I am. I exchanged a momentary greeting before falling into silence as he climbed over and descended the hill toward the highway.
As we pulled up to the last traffic light before the highway and waited our turn at the five way intersection, I apologized for my silence. He dismissed my apology, noting that while he was happy to chat with those who felt like it, there was no requirement. Somehow, though, we quickly got to the topic of where each other hailed from. He ticked off the places he'd lived, but said he always came back here. I explained that I was a 42 year native. "Both sides of my family are from here," I shared before describing the places my progenitors had resided.
After pausing, I choked back the tears that were forming as I clutched at the small brass disk dangling about my nec
Occasionally, someone will see the small bronze disc dangling about my neckline and ask. http://www.dementix.org/~shadow/necklace.jpg
Excepting two times when I needed to fix it, the chain is always around my neck. On my morning bike rides, the occasional uneven stroke of the pedals leads to the charm bouncing off my chest, a very light reminder that it's there. If you get close enough, you can read it. "Pittsburgh Railways". On the back, hidden under what it's mounted on, it advises "Good for One Fare".
Nine years ago, I gave serious consideration to leaving. My job, then as now, did not tie me down. I wasn't ready to be far from home, but after evaluation, I almost moved to Columbus, something I'd still be open to. But 9 years is a long time.
In a few bad moments, the idea of leaving has crossed my mind again. But things are different. There is more for me here. The time is right. Now, leaving feels like it would be a cop-out. Fleeing problems, not starting fresh.
90 years ago, one fare would be you to