Last week we had a quick look at Strings in Ruby. Now let’s look at some more advanced sting operations.
Compile And Run C/C++ Code In Linux
How to Link to External Links from the Post Title in WordPress
Do you want to add an external link as post title in WordPress? Sometimes you may just want to share a link with your users. Instead of sending them to a post, you may want the post title to link to the other website. In this tutorial, we will show you how to link to external links from the post title in WordPress.
Manually Create a Sticky Floating Footer Bar in WordPress
A sticky floating footer bar allows you to prominently display your important content to users. This bar remains visible to users at all time, so they are more likely to click on it and discover more useful content.
This method requires you to add code in your WordPress files, so we will be using the File Manager plugin, already installed on the DkIT WordPress servers.
Oh, I Meant Objects
Here is a more honest version of the last Ruby example. Ruby is a fairly pure object-oriented language, which borrows a good bit from Smalltalk. Pretty much everything is an “object”.
Getting Started with the Computing Department WordPress Infrastructure
The Department of Computing & Mathematics at DkIT has a very advanced WordPress Infrastructure for use by students in their class work and end of year projects. We use a Viglen IX2300 (2 x Quad Core Xeon CPUs, 12 GB RAM, 2 x 146 GB SATA disks) for the primary web server, and two Viglen HX2220i units provide MySQL Database Replication, failover and load balancing services to the master web server. These servers are all powered by Debian Linux.
Also, traffic to the servers is cached at the college’s main reverse proxy server (regardless of source). The result is a very fast setup indeed!
Using the WordPress functions.php file
functions.php or the theme functions file is a template used by WordPress themes. It acts like a plugin and gets automatically loaded in both admin and front-end pages of a WordPress site. Usually this file is used to define functions, classes, actions and filters to be used by other templates in the theme. It can be used to add features and extend the functionality of both the theme, and the WordPress installation.
Ruby Expressions
This is the first in a series for beginners on the Ruby Programming Language. Note that Ruby is a programming language. Ruby on Rails (“RoR”) is a web-application framework that is implemented in Ruby. Do not confuse the two. We will not covering Ruby on Rails in these tutorials.
These tutorials will be gather together under the tag #RubyTuesday, as we will be posting one each week from today to the end of term. Ready? Here we go…
Hello World in Morse code on Raspberry Pi
Somebody posted a tutorial on YouTube showing a LED blinking “hello world” in Morse code using a Raspberry Pi. However, they only show the code executing, not how it was put together. They also don’t show the hardware setup 🙁
Port Scanner in Python
This post will show how you can make a small and easy-to-use port scanner program written in Python. There are many ways of doing this with Python, but we’re going to do it using the built-in module Socket.