Editor’s note: I love contributor’s anecdotes about their humorous client interactions. Judging from our growing list of followers, you do to. But I don’t enjoy hearing about all the unpaid bills, shady practices, and downright immoral behaviour most of our readership has to deal with to make…
Luckily I haven’t had to deal with any of this as a freelancer. Doesn’t mean it can’t happen, and definitely doesn’t mean I shouldn’t support this.
I’m really glad I post things to Tumblr. Because believe it or not, not only is it a fun place to see what I found that amuses me, but also a repository of information/art that I’ve done. Just now, I forgot what the exact Linux command was that I had used yesterday. And just copy pasting the same exact command to do the same exact job, yep.
So we have a project that required us to find each instance of the word “cookie”. The ColdFusion app we were working with wasn’t setting cookies to HttpOnly which left it open to an XSS attack. We couldn’t find out how to set them without first destroying them, because we’re not CF developers. So in hopes of getting a clue, we searched the CF application for the word cookie in hopes to isolate where it was being created and modify the settings.
In order to do this, I definitely needed to use a grep. But the boss only wanted the list of files that had the word “cfquery” and not the line data. So I needed to be a bit more creative. Pipe, to be exact. Extracting the file names from the line data went to sed. Then, since I had duplicates of each file, I needed a way to filter out duplicates which is where sort comes in handy.
The full command?
grep -ir cfquery * | sed "s/^\(.*\):.*$/\1/" | sort -u
- - -
You know… when I write these Linux/Bash snippets, I always put them into context. But I sometimes wonder if readers prefer seeing where the command comes from(context) or just see the build up(result)?
He had this exchange with the Hollywood Reporter this week:
THR: Are there conversations going on now?
Dodd: I’m confident that’s the case, but I’m not going to go into more detail because obviously if I do, it becomes counterproductive.
THR: Did you feel personally blindsided by Obama over SOPA?
Dodd: I’m not going to revisit the events of last winter. I’ll only say to you that I’m confident he’s using his good relationships in both communities to do exactly what you and I have been talking about.
Hollywood and Obama should’ve learned by now:
No form of censorship will be acceptable to Internet users, and we’re fed up with corrupt, back-room deals that are driven by the rich and well-connected.
And any major Internet policy changes should be negotiated in the light of day, so the millions of people who’d be affected can have their say too.
So for the longest time, since I started designing the NABB website, I’ve been wanting to use Yii to power it. Now, I simply look at it and realize: “Why bother making an entire custom application? Why not just use WordPress?” And I’ve decided to do exactly that.
Why switch from a full custom framework built website? Because I don’t have to worry about creating a content management system. I don’t have to worry about properly building the application. I don’t have to worry about investing such energy. I don’t have to worry so much.
Sometimes you want to do something really cool and completely customized, but sometimes you should simply use what’s already there.
Why thank you! Cooking isn't really hard. If you really want to cook, I can throw some simple meals your way, but it depends on what you like.
Recipes are great but my real problem is how energy/time consuming it is. I’ve got a very busy night schedule and cooking detracts from it. Despite that, I really want to learn how to cook well. So it’s one of those finding a balance.
In any case, yea, I’d like to see some of those recipes.
I live in this apartment. In this town which holds near nothing for me aside the job. What friends I have live at least an hour out. I’m tired of it. I regress. To this lamentable place. Only to have three of my favourite shirts stolen. [ Total ] [ Nerd ] [ T-Shirts ]
Drugs are a common thing around here. Poverty. Theft. And as racist as this sounds: Mexicans — they call this city Little Mexico for a reason. The only place I can remotely call home is my apartment unit — not the building, but my apartment itself. What with the effort I put into making this place at least look like one. Still, no place I want to live in.
The irony you ask? All of the aforementioned happens in the Bermuda Triangle of a police station, a sheriff’s station, and the municipal courthouse. I only feel security from living on the second floor and using the deadbolt on both entrances. I have $8,000 ~ $9,000 worth of stuff here.
Reasons why I changed the key on my ex-roommate just before leaving for MineCon. Reasons why no one has even a spare to anything(apartment, car, etc.). Reasons why I chose my friends carefully. $500 a paycheck put aside for California; eager to move out.
Over 1,000 freelancers are already a part the campaign. The bill recently pushed through the New York State Assembly and secured key Republican and Democratic sponsors along the way. But we’re not done yet.