Difference between revisions of "Coding"

From esoterum.org
Jump to: navigation, search
(Regular Expressions)
(Programming)
Line 46: Line 46:
 
*[http://www.cs.uakron.edu/~margush/306/index.html Assembly programming tutor from U Akron]
 
*[http://www.cs.uakron.edu/~margush/306/index.html Assembly programming tutor from U Akron]
 
*[http://www.techtutorials.info/assembly.html List of assembly tutorials (Linux)]
 
*[http://www.techtutorials.info/assembly.html List of assembly tutorials (Linux)]
 +
 +
== Scripting ==
 +
=== Bash ===
 +
*> [http://kd7yhr.org/bushbo/bash.txt Bash commands reference]
 +
*> [http://www.tldp.org/LDP/abs/html/index.html Advanced Bash scripting guide]
 +
*> [http://linuxgazette.net/issue18/bash.html Handling strings]
 +
 +
=== DOS ===
 +
*<code>XCOPY *.jpg C:\FOLDER\ /S</code> Search subfolders for *.jpg and copy files to C:\FOLDER\
  
 
== Mark-up Languages ==
 
== Mark-up Languages ==

Revision as of 00:25, 15 April 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

Scripting

Bash

DOS

  • XCOPY *.jpg C:\FOLDER\ /S Search subfolders for *.jpg and copy files to C:\FOLDER\

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), in eclipse, the return character apparently needs to be copied and pasted into the replace field, \n does not seem to work)

MATLAB

CGI

PHP

Interfaces