User contributions for Scott
Jump to navigation
Jump to search
2 February 2011
- 00:1600:16, 2 February 2011 diff hist +1,562 Ruby Classes and Modules →Module Method Example
- 00:1400:14, 2 February 2011 diff hist +667 Ruby I/O →Parsing a File
- 00:1200:12, 2 February 2011 diff hist +4,832 Ruby Data Structures →Strings
- 00:0100:01, 2 February 2011 diff hist +5,099 Ruby Basics →Control flow
1 February 2011
- 23:3123:31, 1 February 2011 diff hist +2,067 N R Statistics Created page with '==Basic stats== '''<code>mean, min, max, range = c(min, max)</code>''' <pre> mean(c(1,2,3,4,5,NA),na.rm=TRUE) # 3, ignore NA's mean(c(-1,0:100,2000),trim=0.1) # 50, ignore …' current
- 23:2623:26, 1 February 2011 diff hist +400 N R Packages Created page with 'To use a package, it must first be installed on the system. Then you load it into your current session. To get the list of packages loaded by default: <pre> > getOption("defaul…'
- 23:1623:16, 1 February 2011 diff hist +1,487 R Graphics No edit summary
- 22:3522:35, 1 February 2011 diff hist +568 N Python Curses Created page with '== Reference == * Curses library references: http://docs.python.org/lib/module-curses.html * A curses tutorial: http://www.amk.ca/python/howto/curses/curses.html * Another good e…' current
- 22:3022:30, 1 February 2011 diff hist +621 N Python System Calls Created page with '== Backquotes == <source lang="python"> output = `dmesg | grep hda` </source> == os.popen == <source lang="python"> import os cmd = "medcon -f %s" % fileName output = os.popen(c…'
- 22:2822:28, 1 February 2011 diff hist +2,440 N Python Date and Time Created page with '<source lang="python"> # The "time" module is the most basic. # Date/time values are stored as seconds since 1970-01-01 or as 9-element tuples # Item Meaning Field name Ran…'
- 22:2422:24, 1 February 2011 diff hist +1,170 N Python Regular Expressions Created page with '== Introduction == http://www.amk.ca/python/howto/regex/regex.html == Reg Exp Syntax == http://docs.python.org/lib/re-syntax.html * \d Matches any decimal digit; this is equival…'
- 22:2122:21, 1 February 2011 diff hist +771 N Python Modules Created page with '== Search Path == An <code>import</code> statement refers to python files without any path or extension information. To import <code>C:\work\test\my_test.py</code>, you would jus…' current
- 21:3721:37, 1 February 2011 diff hist +10,500 Python Basics No edit summary
- 19:3519:35, 1 February 2011 diff hist +994 Wiki Formatting Cheat Sheet No edit summary
- 18:4718:47, 1 February 2011 diff hist +977 N Example Perl Scripts Created page with '<source lang="perl"> #!/usr/bin/perl # A script to list which users are actually using the system right now use Text::ParseWords; my @ps_list = `ps -ef`; foreach $line (@ps_lis…' current
- 18:4518:45, 1 February 2011 diff hist +1,063 N Installing Perl Modules Created page with ' == Testing for Installed Modules == To test if you have a module, try to run the command <pre> perl -e "use Module::Name" </pre> If there are no errors, you are in business. T…' current
- 18:2718:27, 1 February 2011 diff hist +2,763 N Perl Regular Expressions Created page with '== Perl Regular Expressions == <source lang="perl"> /a.c/ # (1 of any character) matches "abc" but not "ac" or "abbc" /a*c/ # (0 or more) matches "c", "ac", "aac", …' current
- 18:2118:21, 1 February 2011 diff hist +940 N Perl Subroutines Created page with '== Define == <source lang="perl"> sub hypotenuse { return sqrt( ($_[0] ** 2) + ($_[1] ** 2) ); # "return" is optional } sub print_name_and_age { my ($name, $age) = @_; …' current
- 18:1518:15, 1 February 2011 diff hist +1,380 N Perl Command-Line Arguments Created page with ' == The @ARGV array == With Perl, command-line arguments are stored in the array named @ARGV. $ARGV[0] contains the first argument, $ARGV[1] contains the second, etc. == The Get…' current
- 18:1218:12, 1 February 2011 diff hist +1,999 Perl I/O →Read a file line-by-line current
31 January 2011
- 23:3823:38, 31 January 2011 diff hist +3,034 Objective C →Memory management current
- 23:2223:22, 31 January 2011 diff hist +4,985 Matlab →Control Flow
- 23:0123:01, 31 January 2011 diff hist +653 N Prototype Created page with 'http://www.prototypejs.org/api == Array == iterate over an array: <source lang="javascript"> myArray.each(function(item) { // Your code working on item here... }) // notice …' current
- 22:5922:59, 31 January 2011 diff hist +580 N JavaScript mailto Trick Created page with 'Define this function in the header: <source lang="javascript"> function address(name){ var domain = 'fas'+"tforwa"+'runnin'+"g.co"+'m' if (name.length > 0 && domain.leng…' current
- 22:5722:57, 31 January 2011 diff hist +1,811 N E4X Created page with '== Reference == Official specification: http://www.ecma-international.org/publications/standards/Ecma-357.htm Background: http://en.wikipedia.org/wiki/E4X http://developer.mozil…' current
- 22:5322:53, 31 January 2011 diff hist +484 N Dojo Data Stores Created page with ' == Source == Json-based data stores need a source (either file, a web service, or a hash object) with this format: <pre> { identifier: 'id', items: [ {id: 1, width: 50, hei…' current
- 22:5122:51, 31 January 2011 diff hist +1,706 N Dojo Basics Created page with ' == Find DOM Nodes by ID == <source lang="javascript"> var foo = dojo.byId('foo'); </source> == Strings == <source lang="javascript"> dojo.require('dojo.string') dojo.string.tri…' current
- 22:0722:07, 31 January 2011 diff hist +2,891 Java System Calls →booleanCommand current
- 21:5721:57, 31 January 2011 diff hist +561 N Java Properties Files Created page with 'my_app.properties <pre> scp-aetitle=coil ipaddress-autodetect=true trial=coil #export-enabled=false #anonymizer-enabled=false scp-port=3333 #destination=www.hithere.com scp-ipad…' current
- 21:5521:55, 31 January 2011 diff hist +2,759 Java Objects →Callbacks: current
- 21:4521:45, 31 January 2011 diff hist +2,887 Java I/O →Database current
- 21:2521:25, 31 January 2011 diff hist +452 HTML and CSS No edit summary
- 19:5119:51, 31 January 2011 diff hist +9,510 CUDA C No edit summary
- 19:1319:13, 31 January 2011 diff hist +1,835 C Basics No edit summary current
- 19:1219:12, 31 January 2011 diff hist +3,775 C++ Basics No edit summary current
- 19:0619:06, 31 January 2011 diff hist +1,180 N C++ I/O Created page with '==Terminal I/O== <source lang="cpp"> #include <iostream> // defines cout, cin, endl using namespace std; ... cout << "Enter your name: "; cin >> name; cout << "Hi there, " << na…' current
- 17:4117:41, 31 January 2011 diff hist +721 Dns subnet No edit summary current
- 17:4017:40, 31 January 2011 diff hist +1,470 N Dicom dir to analyze Created page with '<source lang="bash"> #!/bin/bash usage () { echo echo "Usage:" echo " `basename $0` <dicom dir>" echo " This script searches through <dicom dir> for DICOM files" echo " (e.…' current
- 17:3317:33, 31 January 2011 diff hist +14,607 Statistics No edit summary
- 17:2817:28, 31 January 2011 diff hist 0 N File:Linearizing data.png No edit summary current
- 17:2217:22, 31 January 2011 diff hist 0 N File:Student t.png No edit summary current
- 17:1417:14, 31 January 2011 diff hist +351 N Exponential Moving Average Created page with 'Given a sequence of numbers <math>x_1, x_2, ..., x_N</math> we estimate the n-day exponential moving average for <math>x_N</math> to be <math>\mbox{EMA}(n, N) = \frac{2}{n+1}\s…' current
29 January 2011
- 00:0700:07, 29 January 2011 diff hist +4,228 FMRI →Combining values from multiple subjects current
- 00:0700:07, 29 January 2011 diff hist 0 N File:Convolution.png No edit summary current
28 January 2011
- 23:5223:52, 28 January 2011 diff hist +4,206 MRI →fMRI
- 23:4923:49, 28 January 2011 diff hist 0 N File:Fighrf0.jpg No edit summary current
- 23:1423:14, 28 January 2011 diff hist 0 N File:Brainlabel.gif No edit summary current
- 23:1423:14, 28 January 2011 diff hist 0 N File:Humanlobes.gif No edit summary current
- 23:1323:13, 28 January 2011 diff hist 0 N File:Brain-divisions.gif No edit summary current
- 23:1223:12, 28 January 2011 diff hist 0 N File:Brain axes.png No edit summary current