Oh Google~

http://www.google.com/search?rlz=1C1CHFX_enUS457US458&sugexp=chrome,mod=9&sourceid=chrome&ie=UTF-8&q=Have+you+ever+had+that+feeling+when+you+realize+you+only+wanted+it+because+someone+told+you+you+wanted+it%3

Google says get out in a i’mnotogoingtomatchanyarticlesforyouandtellyouwhatireallythink kind of way.

 

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?

 

In business, you must use inception.

NO NAMES ARE MENTIONED IN THIS POST

So there’s a problem that I’ve been having in the work place So I’ve been given a chance to improve upon something at work.

Most of the time I come off condescending and rude to people when I really don’t mean to. But how do I tell someone that there’s something they haven’t completed and I need them to complete it in order for me to finish my side of the job.  I would say something like “I’ve spoken with X and we agreed that there is no need to complete this section because it was not ever positioned to go out into production. I’ve decided to wait for the final implementation to be completed before continuing my work on that todo.” Instead I’ve been instructed to  push the ball over to X and say “X, you know more about this than I do. Can you fill everyone in on the progress of this todo?”

When bringing up anything negative about someone else: If they know about the issues, let them repeat them. If they don’t, let the superiors know and they’ll use their powers of inception to get it done.

CodeIgniter Anti-Sopa Code

Here’s a copy of the code I’ve written and placed on the top of Homes.org. Feel free to use it however you want. Note: I’m not responsible for anything you do with it ;)
<? if(date(‘Ymd’, time()) == ’20120118′ && !$this->session->userdata(‘sopa’)): ?>
<? $this->session->set_userdata(‘sopa’, 1) ?>
<script type=”text/javascript”>
$(window).ready(function(){
$(‘.sopa_wrapper’).delay(200).animate({‘height’:50, ‘padding-top’:25, ‘padding-bottom’: 25});
$(‘.sopa_close’).click(function(){
$(‘.sopa_wrapper’).delay(0).animate({‘height’:0, ‘padding-top’:0, ‘padding-bottom’: 0});
});
});
</script>
<style type=”text/css”>

.sopa_wrapper{
overflow: hidden;
box-shadow: 0px 0px 10px #000;
padding: 0px;
position: fixed;
z-index: 4000000;
top: 0px; width: 100%;
background-image: url(‘http://www.alvincheung.com/sopa/background.png’);
height: 0px;
}

.sopa{
width: 1060px;
margin: 0 auto;
}
.sopa p{
float: left;
width: 700px;
margin: 8px 12px;
text-align: left;
}

.sopa_button{
padding: 8px;
float: left;
color: #fff;
margin: 5px;
position: relative;
top: -20px;
border-radius: 5px;
width: 150px;
text-align: left;
text-decoration: none;
}

.sopa_button.red{
background-color: #c00;
border: 1px solid #900;
}

.sopa_button.red:hover{
border:    1px solid #fff;
box-shadow: 0px 0px 6px #f00;
}

.sopa_button.blue{
background-color: #00c;
border: 1px solid #009;
}

.sopa_button.blue:hover{
border:    1px solid #fff;
box-shadow: 0px 0px 6px #00f;
}

.sopa_close{
float: right;
width: 48px;
height: 48px;
background-image: url(‘http://www.alvincheung.com/sopa/close_bw.png’);
margin: 0 20px;
}

.sopa_close:hover{
background-image: url(‘http://www.alvincheung.com/sopa/close.png’);
cursor: pointer;
}
</style>
<div>
<div>

</div>
<div>
<img src=”http://www.alvincheung.com/sopa/warning.png” style=”float: left;”/>
<p>
SOPA and PIPA damage the internet. Today we fight back. Please take today as a day of focus to
<br />learn about these destructive bills and do what you can to prevent them from becoming a reality.
</p>
<a href=”http://americancensorship.org/modal/call-form.html” rel=”nofollow” target=”_blank”><img src=”http://www.alvincheung.com/sopa/phone_telephone_call.png” />Make a call</a>
<br /><a href=”http://sopastrike.com/modal/strike-modal/index.html” rel=”nofollow” target=”_blank”><img src=”http://www.alvincheung.com/sopa/edit.png” />Sign the petition</a>
</div>
</div>
<? endif ?>

Preliminary Linup for Electric Daisy Carnival 2011 Dallas

Paul van Dyk
Axwell
Avicii
Diplo
Skrillex
Excision
Flux Pavilion & Doctor P
Wolfgang Gartner
Gabriel & Dresden
Markus Schulz
High Contrast
Dirtyphonics Live
12th Planet
Feed Me
Green Velvet
Mark Farina
Morgan Page
Mt. Eden
Felguk
Super 8 & Tab
Fred Everything
DJ Dan
Filo & Peri
Doorly
Justin Martin
Bart B More
Manufactured Superstars
Demarkus Lewis
Brett Johnson
plus more tba

Nocturnal Festival 2011 (Texas)

So uh, that was one of the best weekends of my life. I met some cool people. Gloved with some glovers. Learned to shuffle. Was allowed to shuffle/skank/glove on stage hahaha I’m not sure what that’s called but it was really fun. Met a dj. Tried to hoolahoop…. TRIED TO lol. Almost threw up from the amount of bass coming out of Porter’s set. Got crazy in the pit. Chilled in an amazing field under the stars and lazers. Bassnectar, Zed’s Dead, Avicii, Above & Beyond, Gareth emery, infected mushroom, and front row VIP pit for kaskade. Pure Awesome.

Up in the air

I’ve emptied my backpack, now all I need to do is figure out what to put back in it.

How to password protect your web directories the pro way.

http://www.elated.com/articles/password-protecting-your-pages-with-htaccess/

Great article, would read again.

Old people.

Screw all you useless, creepy, old people. If you fucked up at life, just admit it. There’s no point in douching yourself around us younger people because we all think you’re just as useless and creepy as everyone else your age.

How to make your web app post to someone’s facebook.

1. make a facebook application and get your appId, and secret.
2. get your user to login to facebook using the following code

<a href=https://www.facebook.com/login.php?api_key=YOUR_API_KEY&cancel_url=SomeRandomURL&display=page&fbconnect=1&next=ThePageYouWantFacebookToDirectUsersToAfterTheyLogin&req_perms=publish_stream&return_session=1&session_version=3&v=1.0″>
<img src=”http://scoops.widgets.rebelsites.com/images/connect_with_facebook.png” />
</a>

3. call this php code. don’t forget to include the facebook.php library… you can find it all over the internet. Probably best to get it directly from facebook’s gitHub.

$facebook = new Facebook(array(
‘appId’  => ‘YourAPPID‘,
‘secret’ => ‘YOURAPPSECRET‘,
‘cookie’ => true,
));
$facebookPostData = array(
‘message’ => ‘This is the message’,
‘picture’ => ”,
‘link’ => $this->session->userdata(‘donr’),
‘caption’ => ‘here is a small caption… I hope’,
‘description’ => ‘description wut?!?’,
‘source’ => ‘source goes here’
);
$facebook->api(‘/me/feed’, ‘post’, $facebookPostData);

5. ????

6. PROFIT

Return top