Difference between revisions of "User:Sven"

From Organic Design wiki
(more notes)
m (rm cats)
 
(267 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Making articles [[foo]] and [[fodda]] (again) to see search engine side effects. New Article [[Sven/Thesis]]
+
{|border=0 width=100%
 +
|- valign=top
 +
|{{Portlet|[[Documentation]]|3=300|{{:Technical documentation}}}}
  
== Installing MediaWiki on OS X==
+
|- valign=top
Media wiki requires:
+
|{{Portlet|OS X|3=300|
#Apache webserver
+
*[http://developer.apple.com/documentation/MacOSX/index.html Apple documentation]
#PHP
+
*[http://www.macosxhints.com/ Mac OS X hints]
#Mysql
+
**[http://forums.macosxhints.com/ MacOS X forums]
 +
*[http://www.osxhelp.com/ OS X help]
 +
*[http://www.entropy.ch/software/macosx/php/ OS X PHP]
 +
*[http://guides.macrumors.com/ Macrumors wiki]
 +
}}
  
See [http://www.mediawiki.org/wiki/Download mediawiki.org] and [http://sourceforge.net/projects/wikipedia/ sourceforge] for installation details.
+
|{{Portlet|Computer Security|3=300|
As OS X ships with a built in Apache webserver, installation of PHP, and Mysql is all that is required.
+
*[http://www.technicalinfo.net/index.html Antivirus/Phishing]
If you want to run Apache aas a secure webserver then you probably have to build Apache from source.
+
*[http://centralops.net/co/DomainDossier.aspx Domain dossier]
 +
*[http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.html Vista whitepaper]
 +
*[http://www.honeynet.org/papers/enemy/ Honeynet enemy]
 +
*[http://www.honeynet.org/papers/enemy2/ Honeynet enemy2]
 +
*[http://www.honeynet.org/papers/enemy3/ Honeynet enemy3]
 +
}}
  
PHP 5.0.4/4.3.11 is available as a [http://www.entropy.ch/software/macosx/php/ dmg], and Mysql 4.1.13a is  [http://www.apple.com/downloads/macosx/networking_security/mysql.html available] A [http://www.apple.com/downloads/macosx/networking_security/mysqlbackup.html Mysql backup] tool is also available from the apple website
+
|{{Portlet|R programming language|3=300|
 +
*[http://cran.stat.auckland.ac.nz CRAN mirror]
 +
*[http://www.biocondcutor.org Bioconductor]
 +
*[http://cran.r-project.org/src/contrib/Views/Finance.html Empirical finance]
 +
*[http://people.su.se/~ma/R_intro/ Econometrics with R]
 +
*[http://www.mayin.org/ajayshah/KB/R/R_for_economists.html R for economists]
 +
*[http://www.itp.phys.ethz.ch/econophysics/R/ R metrics]
 +
*[http://www.burns-stat.com/ Burns statistics]
 +
*http://www.stat.auckland.ac.nz/~paul/
 +
*[http://ebimage.wordpress.com/ Image analysis for R blog site]
 +
*[http://www.maths.lth.se/help/R/ R help (Henrik Bengtsson)]
 +
*[http://www.stat.auckland.ac.nz/~ihaka/Workshop/ Ihakas R courses]
 +
*[http://www.stat.uiowa.edu/~luke/R/codetools/ codetools_0.0-7.tar.gz]
 +
*[http://www.cs.uiowa.edu/~luke/talks/DSC07.pdf DSC talk]
 +
*[http://faculty.ucr.edu/~tgirke/Documents/R_BioCond/R_BioCondManual.html#R_clustering Statistics resource]
 +
*[http://tolstoy.newcastle.edu.au/R/help/03b/0140.html X11 and R]
 +
}}
  
=== Apache in OS X (tiger) ===
+
|{{Portlet|3=300|Reading|
Apache/1.3.33 is shipped with a standard install of OS X on Jaguar, Panther, and Tiger. It does not come with php
+
*'''[[XmlWiki]]'''
pre-compiled.  
+
*'''[[XmlWiki Installation]]'''
 +
*'''[[Peer Installation]]'''
 +
*'''[[Talk:Nodal-wikid.pl]]'''
 +
}}
  
:Start your personal webserver under;
+
|{{Portlet|3=300|Books|2=
preferences → Sharing → Personal Web Sharing
+
*[http://www.amazon.com/gp/product/0393317552/002-1121960-7876808?v=glance&n=283155 Guns Germs and Steel ]
 +
*[http://www.amazon.com/Collapse-Societies-Choose-Fail-Succeed/dp/0670033375 Collapse]
 +
*[http://www.amazon.com/gp/product/1841126918/002-1121960-7876808?v=glance&n=283155 Wake Up]
 +
*[http://www.springer.com/west/home/generic/search/results?SGWID=4-40109-22-46634499-0&referer=www.springeronline.com&SHORTCUT=www.springer.com/sgw/cda/frontpage/0,11855,4-40109-22-46634499-0,00.html BioConductor book] [http://books.google.com/books?hl=en&lr=&id=e8-CfJ5RIgAC&oi=fnd&pg=PA3&dq=%22Gentleman%22+%22Bioinformatics+and+Computational+Biology+Solutions+Using+...%22+&ots=J1YwJLhmga&sig=4uRuKsF9iH1W8ue3MNj9UNg2sCA#PPA62,M1 Google scholar]
 +
*[http://www.doctorsaredangerous.com/ Take control of your Health] ''by elaine Hollingsworth'' available at ''Takapuna Health Store''
 +
*[http://www.elgar.govt.nz/search/X+++stupidity&searchscope=6&SORT=R/X+++stupidity&searchscope=6&SORT=R&SUBKEY=%20%20%20stupidity/1%2C22%2C22%2CB/frameset&FF=X+++stupidity&searchscope=6&SORT=R&4%2C4%2C In search of Stupidity]
 +
*[http://www.elgar.govt.nz/search/tmemes/tmemes/-3%2C0%2C0%2CB/frameset&FF=tmeme+machine&1%2C1%2C/indexsort=- The meme machine]
 +
*[http://www.trademe.co.nz/Browse/SearchResults.aspx?searchType=0193-0465-0226-2240-&searchString=The+fifth+discipline&x=0&y=0&searchRegion=100&type=Search  The fifth Discipline ''Peter Senge'']
 +
}}
  
There are  differences as to the locations of installed directories from standard binary/source linux installations. Its worth
+
|{{Portlet|3=300|Interesting Software|
checking the build with the terminal command '''httpd -V'''
+
*[https://www.gotomeeting.com/ GoToMeeting]
<table class=document-code><tr><td>[[+httpd -V]]</td></tr></table>
+
*http://www.supermodel.co.nz/ (commercial CMS)
 +
}}
  
The webpage is accessable as localhost or 127.0.0.1, with access to your personal home page at:
+
|- valign=top
:<nowiki>http://127.0.0.1/~USER_NAME</nowiki>
+
|
The webserver pages are located in the directories
+
{{Portlet|URLs|3=300|2=
*/Library/WebServer (System pages)
+
*[http://mail.google.com/mail/ Gmail]
*/Users/USER_NAME/Sites (User page)
+
*[http://www.interest.co.nz/6hjk8as0s.asp Interest.co.nz]
 +
*[http://finance.yahoo.com/currency Yahoo exchange rates]
 +
*[http://www.asbbank.co.nz/story206.asp ASB exchange rates]
 +
*[http://www.perl.com Perl website]
 +
*[http://www.edwardtufte.com/tufte/ Edward tuftes visualization books]
 +
*[http://www.stat.auckland.ac.nz/~ihaka/color-talk.pdf Ross Ihaka's colour talk]
 +
*[http://www.1stweb.co.nz/ 1stWeb]
 +
*[http://www.illwillpress.com Illwillpress]
 +
*[http://www.joecartoon.com Joe Cartoon] &nbsp; [http://www.fat-pie.com/ Fat Pie]
 +
*[http://www.garethmorgan.com/articles.asp Gareth Morgan]
 +
*[http://www.companies.govt.nz/pls/web/dbssiten.main Companies office]
 +
*[http://www.directbroking.co.nz/ Direct broking] Tickers:TZN ANH
 +
*http://scientific.thomson.com/products/wos/
 +
*[http://www.stat.wisc.edu/~newton/ Micheal Newton]
 +
*[http://www.biostat.wisc.edu/~kendzior/ Christina Kendiorski]
 +
*[http://www.bmbolstad.com/misc/MAS5diff/Mas5difference.html MAS5 vs GCOS]
 +
*[http://faculty.chicagogsb.edu/john.cochrane/research/Papers/index.htm John Cochrane]
 +
* DSC:89730
 +
*[http://www.timeanddate.com/worldclock/city.html?n=1100 Lethbridge time]
 +
*[http://www.pedrottiphotography.com/ Photogapher]
 +
*[http://www.cut-the-knot.org/index.shtml Cut the knot education website]
 +
*[http://www.autogeek.net/dual-action-polisher.html Car polisher guide]
 +
*[http://www.energyrating.gov.au Energy ratings]
 +
*[http://www.consumer.org.nz Consumer.org]
 +
*[[w:Internet archive|Internet archive]]
 +
*[http://jfly.iam.u-tokyo.ac.jp/color/index.html#triple Presentation tips for colourblind people]
 +
*R 5426593 8322277 11171585
 +
*C 1815655 2060625 2249987
 +
*[http://wikimapia.org/#y=-36875634&x=174807002&z=18&l=0&m=a wikimapia]
 +
*[http://www.cs.waikato.ac.nz/~olena/publications/milne_wikipedia_final.pdf Waikato uni wikipedia paper]
 +
*[http://philip.greenspun.com/materialism/money investment skepticism]
 +
*[http://www.zeald.com/ Zeald ''so called'' website experts]
 +
*[http://www.geobytes.com/IpLocator.htm?GetLocation iplocator]
 +
*[http://www.readwriteweb.com/archives/semantic_web_difficulties_with_classic_approach.php Semantic article]
 +
*[http://ca.expasy.org/swiss-2dpage/viewer 2D gel viewer]
 +
*[http://www.w3.org/MarkUp/Guide/Style CSS]
 +
*[http://www.looklearninvest.org.nz/ Look learn invest]
 +
*[http://www.bachcare.co.nz/bach_search/property_details.asp?propertyID=545 Coopers Beach]
 +
*[http://www.federalreserveeducation.org/fed101/policy/money.htm FED education]
 +
*[http://finance.yahoo.com/currency/convert?from=NZD&to=USD&amt=1&t=5y $NZ versus $US]
 +
*http://www.omf.co.nz
 +
*http://www.cmcmarkets.co.nz/
 +
*http://swoogle.umbc.edu/
 +
*[http://stats.wikimedia.org/EN/TablesWikipediaEN.htm Wikipedia stats]
 +
*http://www.shl.com/shl/en-int
 +
*http://wiki.ts.wikimedia.org/
 +
*http://tools.wikimedia.de/~magnus/
 +
*http://korrekt.org/talks/Wikimania2007/SMW.html
 +
*[http://leuksman.com/log/ Brions blog]
 +
*https://wikitech.leuksman.com/
 +
*http://www.technicalinfo.net/papers/CSS.html
 +
*http://www.download.com/VirtualLab-Data-Recovery/3000-2274_4-10298807.html?part=dl-10298807&subj=dl&tag=button
 +
*[http://osdir.com/ml/org.wikimedia.mediawiki/2004-03/msg00022.html MediaWiki Latex support post (Brion Vibber)]
 +
*http://tools.wikimedia.de/
 +
*[https://wiki.toolserver.org/view/Main_Page ToolServer wiki]
 +
*[http://invention.swmed.edu/etblast/etblast.shtml eTBlast]
 +
*[http://bp0.blogger.com/_SfxDExxUukY/RvpYc_LhARI/AAAAAAAAAJM/Pe3JgMUfGXU/s1600-h/housingmarket_nytimes.jpg US housing chart]
 +
*[http://www.broad.mit.edu/cancer/software/genepattern/ Genepattern -broad]
 +
*[http://g2.trac.bx.psu.edu/ Galaxy -interactive and reproducible genomics]
 +
*[http://www.pharmazie.uni-kiel.de/chem/ BioTeX]
 +
*[http://www.affymetrix.com/support/developer/powertools/changelog/gcos-agcc/ Affymetrix guide]
 +
*[http://www.blueleafsoftware.com/Resources/Templates/ Word style]
 +
*[https://secure.bioconductor.org/SeattleNov08/ BioC sequencing]
 +
*[http://www.poweratlas.org/ Affymetrix power calculations]
 +
*[http://www.blaisdonbrotherhood.info/Alastair%20Bourne.pdf Alistair Bourne
 +
*[http://www.ncdc.noaa.gov/oa/climate/ghcn-monthly/index.php Climate change] ([http://cran.r-project.org/web/packages/sspline/ source: sspline package])
 +
*http://bioanalysis.otago.ac.nz [https://caarray.otago.ac.nz/wiki/article/User:MDavy (wiki)]
 +
*[http://www.elliottwave.com/freeupdates/default.aspx Financial reading]
 +
**[http://www.elliottwave.com/freeupdates/archives/2009/01/26/U.S.-Stocks-How--Undervalued--Are-They-Really.aspx Stocks How undervalued are they really?]
 +
*[http://www.withouthotair.com/ Sustainable energy book]
 +
*[http://www.giant-bicycles.com/en-AU/bikes/mountain/1055/29610/ Mountain bike geometry]
 +
*[http://www.nzherald.co.nz/business/news/article.cfm?c_id=3&objectid=10575531 Ben Graham's The Intelligent Investor ]
 +
*[http://htseq.ucr.edu/HT_BioC_Manual HT Sequence Analysis with R and Bioconductor]
 +
*[http://www.clarku.edu/~djoyce/complex/ Complex numbers]
 +
*[http://bsrweb.burnham.org/metadot/index.pl?iid=2577 Microarray resource]
 +
*[http://microgen.ouhsc.edu/tutorials/blastonosx.htm blast for OS X]
 +
*[http://massgenomics.wordpress.com/2008/05/14/short-read-aligners-maq-eland-and-others/ aligners comparison]
 +
*[http://bioinformatics.oxfordjournals.org/cgi/content/full/24/5/713 SOAP publication]
 +
*[http://www.sanger.ac.uk/Users/lh3/NGSalign.shtml NGS Alignment Programs]
 +
*[http://www.sanger.ac.uk/Users/lh3/ Heng Li's homepage]
 +
*[http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/6-00Fall-2008/LectureVideos/index.htm MIT open learning lectures]
 +
}}
  
===Useful Links===
+
|
*[http://www.macdevcenter.com/pub/a/mac/2001/12/07/apache.html Apache for OS X]
 
*[http://www.entropy.ch/software/macosx/php/ PHP for Apache shipped with OS X]
 
----
 
:[[Example Article]]
 
 
 
==Backing up wikidb using mysql (OS X)==
 
Information for doing this came from [http://meta.wikimedia.org/wiki/Backup_Database here].
 
There are many ways to go about this;
 
*drop entire databases, and reconstruct
 
*drop tables if they exist for a particular database and reconstruct
 
* Insert data only into databases (errors can be introduced if not INSERT IGNORE startments)
 
 
 
Here I want to move the wikidb directory in mysql to a temporary
 
location (say /tmp directory) so the information is not perminantly lost then use mysql to reconstruct wikidb.
 
 
 
*<s>mysqldump -u root -p --single-transaction wikidb > /tmp/backup.sql</s> creates tables which already exist
 
*mysqldump -u root -p --single-transaction --no-create-info wikidb > /tmp/backup.sql
 
*wikipath=`locate wikidb | grep wikidb$`
 
*sudo mv $wikipath ${wikipath}-bak
 
*cd /tmp
 
* [Time to recreate MediWiki which will make the wikidb database]
 
*mysql -u root -p wikidb
 
*<s>create database wikidb</s>
 
*<s>use wikidb</s>
 
*source /tmp/backup.sql
 
* <nowiki>#</nowiki> Check the directory sizes match between wikidb and wikidb-bak
 
* sudo du $wikipath
 
* sudo du $wikipath-bak
 
*<nowiki>#</nowiki> Refresh the links using maintenance script
 
* php refreshLinks.php
 
== R programming language markup ==
 
  <table class=document-code><tr><td>[[+CreateDirectories.R]]</td></tr></table>
 
 
 
== LaTeX document class letter markup ==
 
  <table class=document-code><tr><td>[[+letter.tex]]</td></tr></table>
 
== xml Wiki Markup ==
 
 
 
<table class=document-code>
 
<tr>
 
  <td>
 
    Table Markup
 
  </td>
 
  <td>
 
    <nowiki>
 
      <table class=document-code><tr><td>Table Markup</td></tr></table>
 
    </nowiki>
 
  </td>
 
</tr>
 
</table>
 
<center>''NOTE: You can be real casual with table syntax and miss out all <nowiki></tr>'s and </td>'s</nowiki> if you like.''</center>
 

Latest revision as of 04:36, 23 July 2011







Interesting Software


URLs