Difference between revisions of "Coding"
From esoterum.org
(→LaTeX) |
(→Scripting) |
||
Line 75: | Line 75: | ||
== Scripting == | == Scripting == | ||
+ | === Regular Expressions === | ||
+ | *<code>(^(?:(\w+)(?:( )+|( )*\n))+((.)*)\(((.)*|(.)*\n(.)*)\)(( )*|( )*\n)\{(.)*\n)</code> Finds a function declaration (eclipse find) | ||
+ | *<code>$1 trace\(" @ $5\\n"\); //MAB 22 SEP 08: Add trace print statements !!!!!INSERT RETURN CHARACTER HERE!!!!!</code> Use this to replace the function declaration adding a trace statement identifying the function (normally "trace" should be replaced with printf) | ||
+ | |||
=== MATLAB === | === MATLAB === | ||
*[http://www.cc.gatech.edu/classes/AY2002/cs7635_spring/tutorial/ MATLAB quick reference], Georgia Tech | *[http://www.cc.gatech.edu/classes/AY2002/cs7635_spring/tutorial/ MATLAB quick reference], Georgia Tech | ||
Line 83: | Line 87: | ||
=== PHP === | === PHP === | ||
− | *[http://www.tizag.com/phpT/index.php PHP | + | *[http://www.tizag.com/phpT/index.php PHP Tutorial] |
*[http://www.javascriptkit.com/howto/phpcgi.shtml PHP vs. Pearl scripting] | *[http://www.javascriptkit.com/howto/phpcgi.shtml PHP vs. Pearl scripting] | ||
*[http://www.thesitewizard.com/archive/installphp.shtml Installing PHP on Windows] | *[http://www.thesitewizard.com/archive/installphp.shtml Installing PHP on Windows] |
Revision as of 18:26, 15 January 2009
SVN
GNU
Programming
IDE
Eclipse
- Eclipse Keyboard Shortcuts
- Unlock file:
<workspace>/.metadata/.lock
TeXnicCenter
- In order to embed Type I fonts and use letter format, these switches were added in [Build]->[Define Output Profiles]->[Postprocessor]->[DviPs], reference, embedding fonts reference:
- -
-Pdownload35 -P cmz -t letter
Java
C
- > printf
- Preprocessor tricks and Macros
- > HP C, HP's book on the C language
- > The C Book
- C-FAQ.com
- The C Preprocessor from apple.com
- Linked Data Structures
- String handling
- >Digital Mars C resources
- Safe C coding tips, TÜV Rheinland Group
snippits
- Cstring to int:
int n = atoi(StrInt);
- Return cursor to beginning of same line:
printf("%d\r",number);
SystemC
Assembly
- > Assembly programming tutorial
- Unix assembly programming
- Assembly programming tutor from U Akron
- List of assembly tutorials (Linux)
Mark-up Languages
LaTeX
HTML
- HTML 4.01/XHTML reference page
- Span formats (including mouse hover)
- HTML ASCII quick reference
- HTML URL encoding quick reference
Post Script
Modeling
AMPL (Linear Programming)
- AMPL FAQ
- Robert Fourer, AMPL: "A Mathematical Programming Language"
- GLPsol command:
glpsol --model example.txt --output results.txt
- CPLEX with AMPL Users Guide
VHDL
- VHDL Tutorial, UPenn
Scripting
Regular Expressions
(^(?:(\w+)(?:( )+|( )*\n))+((.)*)\(((.)*|(.)*\n(.)*)\)(( )*|( )*\n)\{(.)*\n)
Finds a function declaration (eclipse find)$1 trace\(" @ $5\\n"\); //MAB 22 SEP 08: Add trace print statements !!!!!INSERT RETURN CHARACTER HERE!!!!!
Use this to replace the function declaration adding a trace statement identifying the function (normally "trace" should be replaced with printf)
MATLAB
- MATLAB quick reference, Georgia Tech
- MATLAB functions
CGI
PHP
- PHP Tutorial
- PHP vs. Pearl scripting
- Installing PHP on Windows
- PHP.net
- Installing Apache server on Windows
- Function for loading the contents of web pages into a variable
- Regular Expressions Quick Reference