rydo

u/rydo


r/Android•

**Sharing my HTC experience: **

It would appear I was sold a pup. I have an N1 and it is back at HTC for a third repair. The first time it failed it was call issues, calls dropping and touchscreen issues. The second time it was the infamous power button issue (my phone was at HTC for almost three weeks for this repair). This third time it is the touchscreen, the trackball, and random reboot and power off issues, I also lost all my SMS one day but that is almost certainly the OS.

All the HTC people I've spoken to have been very helpful and nice, but actually getting this sorted has been such a pain. They won't do pickups of my phone (I'm in Ireland) and apparently they have a policy of hav

422

r/learnprogramming•

I have a little script that reads my git log and outputs the number of lines added and removed for the past week. When I execute this at the command line it works perfectly (including when I put this in a script and run it manually), for some reason when I put the code in a git hook it runs, but it always tell me 0 lines have been added and removed, the same is true of running the script via GeekTool.

git --git-dir=/Users/home/Thesis/.git/ log --since="1 week ago" --numstat --pretty="short" | \
awk 'NF==3 {plus+=$1; minus+=$2} END \
{printf("Added %d lines\nRemoved %d lines\n", plus, minus)}' > ~/bin/GeekTool/gitThesisChangeInLastWeek.txt

I have done some reading and googeling on

24

r/shell•

I have a little script that reads my git log and outputs the number of lines added and removed for the past week. When I execute this at the command line it works perfectly, for some reason when I put the code in a git hook it runs, but it always tell me 0 lines have been added and removed.

git --git-dir=/Users/home/Thesis/.git/ log --since="1 week ago" --numstat --pretty="short" | \
awk 'NF==3 {plus+=$1; minus+=$2} END \
{printf("Added %d lines\nRemoved %d lines\n", plus, minus)}' > ~/bin/GeekTool/gitThesisChangeInLastWeek.txt

I have done some reading and googeling on this, but I'm not sure where the problem is so I'm not sure what to search for. Can anyone here help me out? Than

30

r/secretsanta•

So, I shipped my gift. BUT... I don't have a tracking number, and I have no way of proving I sent it, for SS I took photos before sending it, this time: nada. I didn't even take photos of the home-made parts, which I fully intended to do; time is not something I have an abundance of currently.

I'm assuming everything will be fine, and the great narwhal in the sky will guide the package to its intended recipient, but if not, I'm going on record that I posted it, and that if it doesn't arrive I will send something else - with tracking info.

410


r/AskReddit•

Background: It is my older brothers wedding next weekend and I am the best man. I have a working speech, but I feel it's missing a great line. I would like to have a great joke in there, and possibly some great one-to-two line quote/poetry line on love to be able to close with.

My problem: I'm an engineer whom has forgotten all of his poetry from school, and I'm having trouble finding something that is original and great!

Suggestions?

Edit: I'm getting good stuff, but something unexpected has come up, and I have to go out for a few hours, I will be back, and I'll read and reply to everything later. Thanks people!

460