How to setup mock quickly? yum install mock The default configuration is already set for you: ls -l /etc/mock/default.cfg If not then this will do: sudo ln -s /etc/mock/fedora-15-x86_64.cfg /etc/mock/default.cfg As is clearly stated in mock(1) man page, you need to add the relevant user to mock group: sudo /usr/sbin/usermod -a -G mock $USER Thats all for the setup. Now lets use it: mock --init # this populates the build root with the required pacakges and repositories mock --rebuild hello-2.7-1.fc15.src.rpm # this will do the actuall build with all the build dependencies resolved mock --shell # enter the mock's chroot shell For more read here ( it covers many caveats related to mock ) You can build the hello source rpm as described here.
Rinari is an Emacs minor mode that is aimed towards making Emacs into a top-notch Ruby and Rails development environment. Rails reloaded is the minor mode for editing Ruby On Rails code with Emacs. This minor mode makes your work much easier and user friendly. Lets first install rinari: cd ~/.emacs.d/ git clone git://github.com/eschulte/rinari.git cd rinari git submodule init git submodule update ( Curious about git submodules? Read here http://book.git-scm.com/5_submodules.html ) And why not do yum install emacs-rinari?
My involvement with FUDCon Pune 2011 started since the initial days of its planning. I wasn’t much involved until I took the task of managing a website for the event. My idea was to have a fully dynamic website where users could login, submit talks, vote for talks and we could manage the content all in a single website. The plan is available here. After a few initial discussion about FUDCon websites here and there, Rahul arranged for a domain fudcon.fedoraproject.org and commit access for me, so that I could add content to that website myself.
As of today over 100 delegates have already signed up for the event and 33 proposed sessions registered with us already. FUDCon Pune is an international event and we have speakers from many parts of the world. We are also listed on opensource.com now! Submission Deadline - Midnight, 23rd of October, 2011 IST. 6 more days to go! Reference: http://fudcon.in/content/fudcon-pune-pacing
We managed to pull off the event website for FUDCon Pune 2011. This website has successfully been used for organizing a Fedora Activity Day i.e. FAD - II. However its primary motive is to manage the event FUDCon Pune 2011. Needless to mention, this website is built in collaborative fashion, using Free and Open Source software. Based on COD - a Drupal based Conference Ogranizing Distribution, we added extra modules for our needs.
It is sometimes very irritating why directory listing is not working for per user ( UserDir ). There are only to two main steps to remedy that: Enable UserDir module Enable directory listing All modifications to be done in /etc/httpd/conf/httpd.conf file. Step 1: Enable UserDir module UserDir enabled tuxdna UserDir public_html Step 2: Enable directory listing AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec Thats all for UserDir. Just
Comparison on Lucene/Solr and NoSQL http://stackoverflow.com/questions/3215029/nosql-mongodb-vs-lucene-or-solr-as-your-database NoSQL, Lucene and Solr http://www.lucidimagination.com/blog/2010/04/30/nosql-lucene-and-solr/ For The Guardian, Solr is the new database http://www.lucidimagination.com/blog/2010/04/29/for-the-guardian-solr-is-the-new-database/
Here is how I created a simple Do Nothing object in python. class DoNothing(): def __getattr__(self, name): def k(*a, **b): pass return k log = DoNothing() log.debug("asdfa", 'asdf"') Now I can still have log.debug() statements throughout the code-base, in case I want them to do nothing. All I would do is re-assign log to a DoNothing object. log = DoNothing() I am sure there are some flaws with which approach, however this all I need for now.
History of Web Back in the year 1989, Tim Berners-Lee ( at CERN ) wrote a proposal based on ENQUIRE, to write an information system. This system was targeted to meet the need of Physists at CERN to share information with each other. Web is a «Side Effect» of the 40 years of Particle Physics Experiments. On August 6, 1991, the first website was built at CERN. On the same date Tim also posted a short summary of the World Wide Web project on the alt.hypertext newsgroup.