Archive for the ‘Uncategorized’ Category

CodeIgniter PHP Script to replace all spaces in columns with underscores – mySQL

$tables = $this->db->query(‘SHOW TABLES’)->result();
foreach($tables as $table):
$table = $table->Tables_in_$table_name;
echo “\n\n{$table} – “;
foreach($this->db->query(“SHOW FIELDS FROM {$table}”)->result() as $column):
echo $column->Field . ‘ | ‘;
$this->db->query(“ALTER TABLE `{$table}` CHANGE `{$column->Field}` `”.strtolower(str_replace(‘ ‘, ‘_’, $column->Field)).”` “.str_replace(‘(‘,’ (‘,$column->Type));
endforeach;
endforeach;
echo “\n\nDONE\n\n”;

Where is the AdWords API Center for MCC accounts?

1) Log in to your MCC Account - https://adwords.google.com

2) Click “My Account” and then click “AdWords API Center”

Capture

Hopefully this helps someone out there to find it a little easier.

 

 

Project Managers

Why do project managers have to act as filters for developers to talk to people from other companies, even their developers. Typically project managers are not technical at all and don’t even understand what they’re talking about, just regurgitating key terms that they’ve heard from the developers that they’re squelching.

Big Sean – 24K of Gold

Don’t trust mexicans who measure with finger lengths to tailor your clothing properly.

I just gave 15 of my dress shirts to a mexican lady to tailor and they all came back unwearable. Damn it.

Idea #1

Interest Level

DocLove’s take on my relationship:

When interest level drops off, it’s over.

I now know that the problem with my current relationship isn’t that SL broke her promise to me, she was gone before that. If her interest level in me was high during that night at Nocturnal she wouldn’t have allowed herself to break her promise to me. Sane women with high interest levels don’t do things to hurt their relationship. Somewhere between Ultra and Nocturnal something happened in our relationship and it fell apart. It was already over before I left to Hong Kong. She just needed an out, and she gave herself one. But lets not overlook the real issue here… The problem itself wasn’t her. It was really me for not being enough of a chase. I was not being enough of a chase to the point where she inevitably called me needy and then it was over for me on my end. To me, that was basically the nail on the coffin that signaled that she is no longer fit to be the caretaker of my emotions.

display:none

P.s.:I know now that the relationship that I’m looking for only exists within a small time frame of lust “The Honeymoon” Maybe I’ll find another girl to honeymoon with soon and figure out how to keep us in that phase for longer.

Right now, I need time away from her to heal. Tomorrow, figuratively speaking, I need to break up with her. It’s such a shame that something like this had to happen around EDC. It’s going to ruin it for me and her. #Thepriceipay

When she says “It just happened”

When a woman doesn’t want to take responsibility for her actions, she blames it on “It just happened.” If you don’t believe me, watch Divorce Court on television. Of course, men never question this nonsensical statement, much less think about what it actually means. Yet, if her indiscretion were a self-help book, it would be called: How to Avoid Guilt with Men, or How to Use Them: A Beginner’s Guide for Victimizers.

“Never allow someone to be your priority while allowing yourself to be their option.” — Mark Twain

Fuck you too. She’s going to be too tired to come tomorrow because she decided to start a shuffle session that won’t be over till dawn. She doesn’t give a shit. I’m done asking. I’m done.

I need to downgrade this relationship.

Have you ever been in ____? Horrible isn’t it? It makes you so vulnerable. It opens your chest and it opens your heart and it means that someone can get inside you and mess you up.You build up all these defenses, then one stupid preson, no different from any other stupid person, wanders into your life….You give them a piece of you. They didn’t ask for it.They did something dumb one day, like kiss you or smile at you, and then your life isn’t your own anymore. ____ takes hostages. It gets inside you. It eats you out and leaves you crying in the darkness, so simple a phrase like ‘maybe we should be just friends’ turns into a glass splinter working its way into your heart. It hurts. Not just in the imagination. Not just in the mind. It’s a soul-hurt, a real gets-inside-you-and-rips-you-apart pain. I hate ____.

Mending a Broken Trust. (First Fight)

I deliberately publish this publicly on my personal site hoping that my girlfriend, SL, will see this one day.

How do you forgive someone for breaking your trust…? I have a needy kind of personality. Don’t worry, she does too.

I feel like I’ve been making an effort to forgive her; But, I have felt a daily recurring animosity towards her for the past 2 weeks (since it happened) for the act she did to break my trust. At least once a day I’m reminded of how she’d betrayed my trust by breaking a promise that she’d reaffirmed over and over the week before breaking it. The worst thing about this whole ordeal for me is that so many things make me jealous now, even her removal of my posts on her Facebook… As stupid as it sounds. I hate this feeling.

I hope this is true…

How First Fights Make Relationships Stronger

First fights define relationships. They reaffirm the couple’s commitment to one another and if they are worked through properly they can make a relationship stronger. While it is always scary to fight for the first time it is important to acknowledge that fights are normal and that they happen in every close relationship.

Why you fight is important but it is how you fight that determines whether or not the conflict will strengthen your bond or stretch it to the limit. Break ups are not the inevitable outcome of the first fight although fearing it will lead to a break up is normal.

If a first fight leads to a break up it simply means the foundation of the relationship was not very strong. For good relationships the first fight will solidify things. By wanting to work through conflict rather than run away couples show each other that they are there for a long time, not just for a good time. This realization is an important one.

First fights don’t have to be negative. They are a sign that your relationship is moving to a new, more intimate and more committed level. Isn’t that a good thing?

 

Return top