GNU Octave is a high-level interpreted language, primarily intended for numerical computations.
(via GNU Octave)
- not equal
~= - logical AND
&&
| // From: http://alvinalexander.com/scala/scala-class-object-function-convert-multiline-string-to-list-seq | |
| implicit class QHelper( val sc : StringContext) { | |
| def Q(args : Any*): Seq[String] = { | |
| val strings = sc.parts.iterator | |
| val expressions = args.iterator | |
| var buf = new StringBuffer(strings.next) | |
| while(strings.hasNext) { | |
| buf append expressions.next | |
| buf append strings.next |
GNU Octave is a high-level interpreted language, primarily intended for numerical computations.
(via GNU Octave)
~=&&| <?php | |
| interface Option/*[T]*/ { | |
| /** | |
| * @return T | |
| */ | |
| public function get(); | |
| /** | |
| * @param => T $f |
| #Install Gource in Ubuntu | |
| ======================== | |
| #Go to the folder.... and | |
| #see http://tylerfrankenstein.com/code/install-gource-ubuntu-1010-visualize-git-repo | |
| sudo apt-get update | |
| sudo apt-get install libsdl2-dev libsdl2-image-dev libpcre3-dev libfreetype6-dev libglew-dev libglm-dev libboost-filesystem-dev libpng12-dev libsdl1.2-dev libsdl-image1.2-dev libtinyxml-dev | |
| ./configure | |
| make | |
| sudo make install |
| var scope, compiledTemplate, UserService, deferred; | |
| //We must load the app module | |
| //and VERY IMPORTANT, the template the directive uses via templateUrl | |
| var TEMPLATE_URL = 'app/account/public/views/signupForm.html'; //proper path to the template | |
| var TEMPLATE_KEY = '/app/account/public/views/signupForm.html'; //as loaded in the directive, used as Key in the tempalteCache | |
| beforeEach( module( 'tybaNg', TEMPLATE_URL ) ); | |
| beforeEach( function(){ console.log("Global before each")} ); | |
| describe( "Describe 1", function(){ | |
| beforeEach( function(){ console.log("Describe 1 - before each 1")} ); | |
| beforeEach( function(){ console.log("Describe 1 - before each 2")} ); | |
| //do tests... | |
| it("a test...", function(){ | |
| //if there is not a "it()", the beforeEach/afterEach does not execute | |
| }); |
| Miguel at 12:15 in path ~/Desktop | |
| $ php test.php | |
| doing things inside the function | |
| I am a calback | |
| Array | |
| ( | |
| [0] => one | |
| [1] => two | |
| [2] => three | |
| ) |