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
sudo add-apt-repository ppa:nikount/orta-desktop && sudo apt-get update && sudo apt-get install orta-theme && sudo add-apt-repository ppa:tiheum/equinox && sudo apt-get update && sudo apt-get install faenza-icon-theme
@FrancisVarga
FrancisVarga / npmLibInstalls.sh
Created January 13, 2011 08:47
installs all my npm libs
npm install beanstalk_client cloud9 beanstalk_worker bufferlib carrier cookie cradle facebook-client facebook-connect file filesystem-composer gitter git hash hamljs haml gzip gzip-stack headers mkdirp monitor mysql-native n natives node-restclient node-uuid node-xmpp nstore npm-github-service oauth nurl restartr user-agent yaml xmpp-client ya-csv
@FrancisVarga
FrancisVarga / wikileaks_replication
Created December 13, 2010 23:21
replicate wikileaks
curl -X POST -H "Content-Type: application/json" -d '{"source": "http://wikileaks.nymphormation.org/wikileaks", "target": "http://localhost:5984/_replicate", "create_target": true, "continuous": true}' http://localhost:5984/_replicate
package laan.xml
{
public class PlistParser
{
public function PlistParser()
{
}
public static function parsePlist ( xmlPlist : XML ) : XML {
@FrancisVarga
FrancisVarga / brewFirstInstall.sh
Created November 23, 2010 19:50
first brew install on a virgin mac book pro
brew install git imagemagick couchdb macvim ejabberd git-flow git-extras postgresql git-multipush git-utils darwinbuild ffmpeg node nmap maven wget cassandra mysql memcached redis git-cola git-extras git-flow subversion beanstalk
@FrancisVarga
FrancisVarga / mapfunction.js
Created November 22, 2010 16:46
couchdb map function for static user view's
function(doc) {
var userID = 500;
var userTags = [
100000036,
100000065,
100000077,
100000046,
100000062,
100000103
];
@FrancisVarga
FrancisVarga / .profile
Created November 18, 2010 22:24
my .profile on mac osx
export FLEX_HOME=~/FlexSDK/Flex_4_1_0/
export FLEX_HOME2=~/FlexSDK/Flex_4_5_0/
export ZEND_TOOL_INCLUDE_PATH=/Users/LittleBuddha87/Projekte/Libs/ZendFramework_1_11_0/library
#export PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/bin:/usr/local/bin:/sbin/
export PATH="~/bin:~/.bin:/usr/local/homebrew/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/git/bin:$PATH"
alias ls='ls -la'
alias coda='open -a /Applications/Coda.app'
alias fbapp='open -a /Applications/Adobe\ Flash\ Builder\ Burrito/Adobe\ Flash\ Builder\ Burrito.app/'
alias fcapp='open -a /Applications/Adobe\ Flash\ Catalyst\ Panini/Adobe\ Flash\ Catalyst\ Panini.app/'
@FrancisVarga
FrancisVarga / redisBenchmark.txt
Created October 31, 2010 15:09
This is the redis benchmark on my mbp!
====== PING ======
10030 requests completed in 0.30 seconds
50 parallel clients
3 bytes payload
keep alive: 1
1.83% <= 0 milliseconds
56.10% <= 1 milliseconds
94.70% <= 2 milliseconds
98.91% <= 3 milliseconds
@FrancisVarga
FrancisVarga / ExtJS.CouchStore.js
Created October 20, 2010 12:09
This is a ExtJS extension for CouchDB
/**
The MIT License
Copyright (c) 2008, Shawn P. Garbett (www.garbett.org), Jonathan Hicks
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
/*
* @version: ${releaseVersion}.${milestoneNumber}.${commitNumber}
*
* @author: ${user}
* @eMail: [email protected]
* @create-date: $(date)
* @homepage: http://www.basilicom.de
*
*
* @Modifiedlist: