Category Archives: Programming

Ruby

Shows the Ruby version installed in the system: ruby -v Ruby files uses extension rb. To run a rb file: ruby file.rb Comments #This is a comment puts “printing text” #just an example =begin multiple line comment =end Operations with strings a = “string 1″ b = ‘string 2’ # between ”, variables will be… Read More »

Javascript basic

Some basic instructions for Javascript: <script type=”text/javascript” > var i=0; var input = “”; do { i++ input = input + ” ” + i; } while (i < 10); alert(“INPUT:” + input); var1 = var2 = 9; document.write(“var1 and var2 have the same value: ” + var1 + ” ” + var2); </script>

WordPress

Plugins Visual Composer – allows the creation of pages with lots of elements. List Category Posts – allow to list the posts in a category on a webpage Themes iKnowledge – WP theme to create a Knowledge Base.