This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.crowdpark.core | |
{ | |
import flash.events.EventDispatcher; | |
import flash.events.IEventDispatcher; | |
import flash.events.Event; | |
/** | |
* @author francis | |
*/ | |
public class SelfDisposedEventDispatcher implements IEventDispatcher |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function test_setup () { | |
PASS=1 | |
for b in \ | |
/usr/bin/ruby \ | |
/usr/bin/make \ | |
/usr/bin/gcc | |
do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Purpose: Just run this script to install the required | |
# ubuntu/pear packages for php development. | |
# | |
# Tested on Ubuntu 11.xx | |
# ---------------------------------------------------------- | |
#### DEFINITIONS ### | |
IPADDR=$(ip addr | grep inet | grep brd | cut -c10-22 | cut -d\/ -f1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package beatguide.core.jsonrpc | |
{ | |
import flash.events.Event; | |
import flash.events.EventDispatcher; | |
import flash.events.HTTPStatusEvent; | |
import flash.events.IEventDispatcher; | |
import flash.events.IOErrorEvent; | |
import flash.events.ProgressEvent; | |
import flash.events.SecurityErrorEvent; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Installing basic packages for development." | |
echo "Notes:" | |
echo "- if asked for a password, provide your system user password" | |
echo "- if asked for a mysql server password, enter 'root'" | |
echo -n "Press ENTER to continue, CTRL-c to cancel:" | |
read DUMMY | |
sudo echo | |
echo "Installing Pear." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/etc/apt/sources.list.d/newrelic.list | |
deb http://apt.newrelic.com/debian/ newrelic non-free | |
wget -O - http://download.newrelic.com/548C16BF.gpg | sudo apt-key add - | |
sudo apt-get update | |
sudo apt-get install newrelic-sysmond | |
sudo apt-get install newrelic-daemon |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Francis-Vargas-MacBook-Pro:etc francis$ php -f blowJob.php | |
=== CLEAN ENVIROMENT === | |
<? | |
namespace Processus | |
{ | |
require_once 'helpers.php'; | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Created by JetBrains PhpStorm. | |
* User: francis | |
* Date: 12/9/11 | |
* Time: 9:43 AM | |
* To change this template use File | Settings | File Templates. | |
*/ | |
namespace Application\Manager\Feed | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @param $request | |
* | |
* @return object | |
*/ | |
public function disputePaidChallenge($request) | |
{ | |
$betRequest = new \Application\JsonRpc\V1\App\Request\ChallengeRequest(); | |
$paidDisputeData = $betRequest->getDisputePaidChallengeData($request); |