Skip to content

Instantly share code, notes, and snippets.

View FrancisVarga's full-sized avatar
🌴
On vacation

Francis Varga FrancisVarga

🌴
On vacation
  • Phili-Tech
  • Berlin, Germany
View GitHub Profile
@FrancisVarga
FrancisVarga / default.httpd.conf
Created June 14, 2011 14:26
default apache conf for a vHost
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName localhost
DocumentRoot /home/francis/www
<Directory /home/francis/www>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
@FrancisVarga
FrancisVarga / httpd.conf
Created June 14, 2011 14:41
mac osx apache2 with php and vhost
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
@FrancisVarga
FrancisVarga / vhost.xml
Created July 12, 2011 12:47
dafault VHost entry
<VirtualHost *:80>
ServerName home.local.de
DocumentRoot /Users/francis/www
<Directory "/Users/francis/www/">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
</VirtualHost>
@FrancisVarga
FrancisVarga / error.json
Created September 25, 2011 01:16
fucking error
{
"_id": "4092e0d25355275f595a731a1d022ce2",
"_rev": "1-ace8e9bf29cb22416b6db93754195af9",
"created": 1316913041,
"data": {
"class": "Lib_Db_Xdb_Exception",
"message": "GetRow failed!",
"method": null,
"methodLine": null,
"file": "/Users/francis/www/meetidaaa_newbackend/src/application/Lib/Db/Xdb/Client.php",
<?php
namespace Processus\Abstracts\JsonRpc
{
/**
*
*/
abstract class AbstractJsonRpcServer
{
Process: eclipse [6146]
Path: /Applications/FDT 5.app/Contents/MacOS/eclipse
Identifier: org.eclipse.eclipse
Version: 3.7 (3.7)
Code Type: X86-64 (Native)
Parent Process: launchd [304]
Date/Time: 2011-12-02 00:53:16.031 +0100
OS Version: Mac OS X 10.7.2 (11C26)
Report Version: 9
<?php
/**
* @param $request
*
* @return object
*/
public function disputePaidChallenge($request)
{
$betRequest = new \Application\JsonRpc\V1\App\Request\ChallengeRequest();
$paidDisputeData = $betRequest->getDisputePaidChallengeData($request);
<?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
{
Francis-Vargas-MacBook-Pro:etc francis$ php -f blowJob.php
=== CLEAN ENVIROMENT ===
<?
namespace Processus
{
require_once 'helpers.php';
/**
@FrancisVarga
FrancisVarga / newrelic.sh
Created January 2, 2012 14:56
install new relic via apt
/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