“The things that will destroy America are prosperity at any price, peace at any price, safety first instead of duty first and love of soft living and the get-rich-quick theory of life.” – Theodore Roosevelt
james david low |
live / work / play / worship |
“The things that will destroy America are prosperity at any price, peace at any price, safety first instead of duty first and love of soft living and the get-rich-quick theory of life.” – Theodore Roosevelt
I host my website on Dreamhost and as good value as it is, with great email/SVN/MySQL and hosting, there are some limitations. One of them is trying to read raw POST data from $HTTP_RAW_POST_DATA and the other is trying to read custom HTTP headers because PHP runs as a CGI module using there service.
I realised the working around for getting raw post data is to use:
$data = file_get_contents(‘php://input’);
And that you can use mod_rewrite to to pass HTTP headers to the $_SERVER variable, as described here. If you want to add additional header values, you must specify each one as a seperate E= statement in your .htaccess file. I was writing a CALDAV server and wanted to be able to (1) use the HTTP authentication described here, (2) read the “Depth” HTTP header, and (3) redirect all requests queries through a single php file:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [E=REDIRECT_REMOTE_USER:%{HTTP:Authorization},E=DEPTH:%{HTTP:Depth},L]
RewriteRule .* – [E=REDIRECT_REMOTE_USER:%{HTTP:Authorization},E=DEPTH:%{HTTP:Depth},L]
If like me you have quite a lot of RSS subscriptions within Apple Mail.app you may find that you either get sick of navigating each RSS folder on the left individually but don’t want to put all your RSS subscriptions within your inbox. What I realised you could do is create a smart mailbox to only show read RSS items, greatly saving space in the left hand pane, and making it easy to navigate all unread subscriptions.
For some of you this maybe so minor its not worth worrying about, but I really don’t like how if conflict resolver is shown when syncing my iPhone with iTunes, the iSync icon gets added to my menu bar no matter whether I click sync now or later after resolving the conflict. I’ve contacted Apple about this, but I recently found this article (http://www.tuaw.com/2009/11/02/mac-101-how-to-manually-enable-menu-extras/) that helps explain how to load menu items. What I’ve done instead is rename the sync menu item, so that it never gets loaded. Quick disclaimer, I’m not responsible for any damage to your computer using this command.
sudo mv “/System/Library/CoreServices/Menu Extras/Sync.menu” “/System/Library/CoreServices/Menu Extras/Sync2.menu”
The 5th talk in this series at SPU is an excellent look at contemporary physics and how it relates to God. All of them are good, but espeically the one titled “The New Cosmology: Theistic Implications”
Been meaning to blog this for a while. Not sure of everything I want to say through it, but I know its a story and I want to share it.
The background is something like this. I’ve wanted one of these guitars for a long time, a Michael Kelly Hybrid Special, but… I’ve also been thinking about the words of Jesus, giving everything away to the poor and how much I have compared to other people. I also struggle a lot with deciding things for myself, especially things that I want, I feel like God doesn’t want to give them to me, or worse wants to take them away! Any time I have to make a decision I can often get worried about making the wrong one or something not being what God wants and I can end up feeling really guilty for it. Some of the things I do this with include:
The guitar isn’t available in HK, so after watching a few videos on youtube I thought I would see if they had any on Ebay. One company was willing to ship internationally. Around the same time I started to receive abnormally large sums on money through my paypal through ad clicks and people paying to extend plugins that were original distributed for free.
After struggling for a while with whether it was right to buy the guitar, but secretly wanting it and wanting to look a bit like David Crowder, one day during my quiet time on my podium I decided that I’d get the guitar if I got US$800 in my paypal. This was the sum of the cost of the guitar + shipping + tithe. At the time I had some faith but still thought it was unlikely.
Anyway, days went by and I actually got close in my paypal earning up to $550 from ads/freelance programming. Then I sold some things on Ebay and ended up getting $200 for it, even though I thought I might only get about $100. I had $750, 50 dollars short! I was actually starting to believe this might happen, and was waiting for God to come through and send me the last $50.
It came to the day the auction on Ebay was going to end, and I was starting to feel sorry for myself, feeling, you see God wants to give everybody else stuff and not me. Or thinking God really wants to do something else because something else would be better for me, and started to feel really guilty. Then I started to journal about what I was thinking and feeling, and said I was sick of feeling guilty for wanting stuff. And I felt something small say “Then don’t”. I wasn’t and I’m still not sure if it was me or God, but then I felt it say, “Go buy the guitar”.
I was thinking, ok, maybe I just got the last $50, so I checked my email on my iPhone, but no new money in my paypal (more self pity). I decided to go upstairs to my computer. I checked the auction, it had ended…
I decided to to do one last search on Ebay just to see what was there. The original company had relisted! And they relisted it $50 cheaper!!!! I couldn’t quite believe it. I bought it there and was very happy :-) and its one of the few signs of God’s provision that I’ve had (or at least that I’ve noticed!), given that it was the exact guitar, the exact price, and not just any store, but the store that offered me international shipping.
Anyway, I’m not just blogging this a testimony to how good God is, and I don’t think generally we should test God like this. I still didn’t feel it that much, and the feeling of happiness faded quite fast. Maybe its because I haven’t got the guitar yet, but I also know there are a lot of deep reasons why I don’t feel God’s love that much, or worry about him not giving me stuff I want. I believe that we are to share what we have with those in need, but that God also wants to bless us and give us stuff that make us happy. I also believe sometimes bad things happen or we don’t get what we think would be best, and we don’t know why.
I do know that God is good, even if he doesn’t come through like he seemed to this time, there is a reason, and this prayer helps me a lot.
Your ways mystify me oh Lord.
Oh yes, in some journeys I feel you all the way, never doubted.
But sometimes You seem to vanish after half way of that journey.
At other times You appear to me at that very last moment.
And You know Lord, sometimes I actually fear that You’ll let me go over the edge.
You are very unique My child and I will help you learn from Me with that very uniqueness in mind.
You see if I took everyone all the way, where is the room for their faith?
If I took everyone more than half the way, where is the room for their love?
If I did not let You at times even feel abandoned, where is the room for My Cross?
You are not what you will someday be.
I AM who I AM!
And I know how to get you from who you are to who I AM.
If you do not understand this, where is your hope?
Listened to this more than 3 times today, helped me through some tough times.
| « Previous Page — « Previous | Next » — Next Page » |