Difference between revisions of "Coding"

From esoterum.org
Jump to: navigation, search
(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 Tutoial]
+
*[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

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

snippits

  • Cstring to int: int n = atoi(StrInt);
  • Return cursor to beginning of same line: printf("%d\r",number);

SystemC

Assembly

Mark-up Languages

LaTeX

HTML

Post Script

Modeling

AMPL (Linear Programming)

VHDL

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

CGI

PHP

Interfaces