Archive for the ‘programming’ Category
From the same directory as DataLoader.jar
- java -cp DataLoader.jar com.salesforce.dataloader.security.EncryptionUtil -g SOMEGARBAGESTRINGFOLLOWS
- copy that value to key.txt
- java -cp DataLoader.jar com.salesforce.dataloader.security.EncryptionUtil -e “MYPASSWORD” “/full/path/to/key.txt”
- copy that value to process-config.xml’s sfdc.password
- Add <entry key=”process.encryptionKeyFile” value=”/full/path/to/key.txt”></entry> to process-config.xml
Alternately, add sfdc.password, sfdc.username and process.encryptionKeyFile to config.properties (in the same directory).
- If you’re an RSS-addict, you’re also probably someone that moves between computers on a regular basis. A web-based reader means that your feeds are always in sync, with any new subscriptions, read and un-read items in the state you left them, no matter which of your n computers you’re sitting in front of.
- Feedlounge is the only app I’ve used that gives nothing away to a rich-client app. Your keyboard works exactly the way you expect. It actually leads to a bit of cognitive dissonance (in a good way 😉 )when you press the arrow key in a web-app and it actually does the right thing. This is trademark Alex, the guy builds good web-app!
It’s been difficult not to talk about this since, well, since it’s conception almost a year ago. I’ve really enjoyed working with Alex, Scott and the rest of the Feedlounge development crew and I’m continually amazed by the Feedlounge app… it’s awesome.
Head over to the site and check it out!
The best security in the universe is to not have an application to break into in the first place.
I’ve encouraged a friend of mine to move to Mac. He bought a Powerbook 15in, iBook 14in, two iPods, Airport, Airport Express…. the works really. He’d been running Outlook as his email client on Windows against a pop3 server, and had all of his email stored on his local machine.
After a bit of rudimentary research I learned the following process:
Well, that didn’t work (but did consume many hours with import/export fun). It “almost” worked, but the html email looked like crap, and attachments were mangled.
So, I googled some more and constructed a Byzantine process involving Windows Outlook and Outlook Express, dbxConv and Mail.app. All I can say is, “it worked for me”:
So, I’ve got a couple of email addresses under a single username/password combination, let’s call them email@example.com and firstname.lastname@example.org (in actuality it’s more like email@example.com, firstname.lastname@example.org, email@example.com and firstname.lastname@example.org but two should suffice). I was trying to figure out how to allow Mail.app (the email application that ships with OSX) to send as any of these email addresses (you might call these “aliases” or “outbound email addresses”). I tried to configure a new account that wasn’t configured with an inbound server, but that didn’t work, so I asked Google:
And Google spoke (in the voice of this page) saying: You simply comma-delimit multiple email addresses when configuring an account and they all become available in the “account” dropdown when composing email. A very clean solution (if not terribly intuitive or discoverable). It’s exactly the sort of thing a novice email user would never need to know and an advanced user would know to (eventually) google for!
A few months ago I tried to start working with PHP5 on OSX. Followed the directions I was able find on Google (which were none too assuring as most of them ended with “so that didn’t work, anyone have any advice”) and gave up after several hours of mucking around.
Approximately an hour ago I downloaded the php5 source code, built it and installed it. Well, I shouldn’t take any credit, basically I followed the directions here exactly (I helped that I’d recently done a complete upgrade of Fink, so I had libxml2).
I cleaned up my httpd.conf file so that it wasn’t trying to run both PHP4 and PHP5 (’cause it can’t… at least not without some horrible hackery), and ran phpinfo(). It worked, I was running PHP5. PHPMyAdmin still worked, but Tasks doesn’t yet support PHP5. It’s a measure of how much I’ve been using Tasks recently that I then spent 20 minutes figuring out (googling actually) how to run PHP4 and PHP5 simultaneously. Again, it’s a simple as following the directions at How to run PHP4 and PHP5 prallel (sic).
Now I’ve got two running instances of Apache, one listening to port 80 and one to 8080. I really like it when things just work!
Edited on 8:48pm – Corrected the two mistakes relating to Tasks, namely the link was wrong and I meant PHP5, not PHP4 (which didn’t make much sense in context). One of the rare times when I got distracted mid-post and failed to re-read.
Divs not scrollable in IE6, eh? You’re using overflow:auto? Try removing the DOCTYPE declaration from the top of your html…
It worked for me, but your mileage may vary (and this will certainly cause all sorts of other problems I don’t know/care about).