background preloader

Tutoriials

Facebook Twitter

Learn SQL The Hard Way An Introduction To The Most Popular And Least Loved Data Language In The World. Learn SQL The Hard Way Python | Ruby | C | Regex Learn SQL The Hard Way Table Of Contents Frequently Asked Questions How long does this course take? You should take as long as it takes to get through it, but focus on doing work every day. What kind of computer do I need? You will need either a Windows, OSX or Linux computer to complete this book. Copyright (C) 2010 Zed. Credits. 4 - SHOW and SELECT - Free Computer-Science Video Lecture. MySQL Resources. MySQL Tutorial - Learn MySQL Fast, Easy and Fun. Setting Up the world Database. Importing XML dumps. This page describes methods to import XML dumps. The Special:Export page of any mediawiki site, including any Wikimedia site and wikipedia, creates an XML file (content dump). See meta:Data dumps and Manual:DumpBackup.php. XML files are explained more on meta:Help:Export. There are several methods for importing these XML dumps: How to import?

Using Special:Import[edit | edit source] Special:Import can be used by wiki users with import permission (by default this is users in the sysop group) to import a small number of pages (about 100 should be safe). See Manual:XML Import file manipulation in CSharp for a C# code sample that manipulates an XML import file. Changing permissions[edit | edit source] See Manual:User_rights To allow all registered editors to import (not recommended) the line added to localsettings.php would be: $wgGroupPermissions['user']['import'] = true; $wgGroupPermissions['user']['importupload'] = true; Possible Problems[edit | edit source] php importDump.php --conf .. or this: .

MySQL Video Courses and Tutorials from lynda.

Advanced

Prometheus / rex.db. Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams! Sign up for freeClose You can perform HTSQL queries in commands and other Python code. For example, rex.db_demo defines a command /department_by_id, which finds the department with the given id: The command uses rex.db.get_db() to obtain an HTSQL instance and then uses the instance to execute a parameterized HTSQL query: department[$id] The produced data is used to generate a response: You can also use rex.db.Query, which abstracts executing and formatting raw HTSQL queries and .htsql files. From rex.web import Command from rex.db import Query from webob import Response class CampusesCommand(Command): path = 'campuses' access = 'anybody' def render(self, req): query = Query("/school^campus :as campuses") body = query.format('html') return Response(body=body) The response is HTML generated by HTSQL formatter:

Basic