Archive | Codes

How To Install ZNC on Debian?

How To Install ZNC on Debian?

Install ZNC from Source on Debian? What is exactly ZNC? ZNC is an IRC bouncer. It’s designed to run on a server that remains connected to an IRC network and buffer messages. With ZNC, a local IRC client can connect and disconnect without losing a chat session or missing any messages. Before You Begin? Make […]

Continue Reading
Embedding Perl Script into WordPress Blog Posts

Embedding Perl Script into WordPress Blog Posts

In this example, I want to display the current time the page is viewed. A simple Perl script can do this: #!/usr/bin/perl #helloworld.pl print “Content-type: text/html \n\n”; $time = localtime(); print “<p>Hello World! It is $time</p>\n”; However, you cannot directly run Perl code in a blog post but you can embed the script into the […]

Continue Reading
Embed Files Directly Into Your Website Or Blog

Embed Files Directly Into Your Website Or Blog

It is always better to upload an image and link an image from a personal cloud host platform such as OneDrive, Dropbox or Google Drive rather than hosted it with your self hosted wordpress in your webserver as a media files. If you have a website or blog, it’s quick and easy to embed photos, […]

Continue Reading

Auto Redirect Scripts Code

There are several ways to redirect a URL. This is useful for those looking to redirect requests from their main domain to another directory under that domain or to another specific URL. For example, such as directing requests for example.com to example.com/blog. This can be done using an .htaccess file. OR from www.blog1.com to www.another.blog […]

Continue Reading

Embedded Social Video & Live Video Player

Facebook With the embedded video player you can easily add Facebook videos, Youtube videos and Facebook live videos to your website. You can use any public video post by a Page or a person as video or live video source. Step-by-Step 1. Choose URL or Page Pick the URL of a Facebook video you want […]

Continue Reading