![]() ![]() This blog will detail how I did it using Ubuntu 20.04 as well as securing the server down so that not just anyone can use it and host video conferences.įirst thing you need to do, is have a spare server that is capable of hosting the video conferencing software, as well as the users you want to have per conference. ![]() I will detail further on what I did to fix this issue. It also has Apple Store and Google Play Store apps so you can connect that way, however, I had issues with the Google Play version of the App connecting to my server, but figured out the problem was with certificates and the Google version of the app not trusting my SSL certificates on my server. So you can host and have meetings directly from the server using any web browser on any OS. The thing I liked about Jitsi is that it has it’s own web client. So while taking a college class, I found out about Jitsi and decided I would try to create my own hosted video conference server. Plus we all are Zoom’d out after work, so we didn’t want to use Zoom. However, we found that not all of us have iPhone or Androids, Laptops, and even comptuers running the same OS. My family is all over the country, and with travel and get togethers not being possible, I figured I would reach out and try to video conference with my family. I decided that I would write a blog about how I built my own video conferencing server during this whole outbreak with COVID and having to social distance and stay home. I hope you all are staying safe and healthy. then you will have to escape it.Hello everyone! It’s been a while since I updated my blog. There is also the negative form of these: ![]() \s matches white space (tabs, regular space, newline).There is a nice shorthand syntax for specifying character ranges: Remember: the return value when using =~ is either the string index or nil matches any letter from a to z (no caps)Įxample: Does this string contain any numbers? def contains_number(str)Ĭontains_number("The year is 2015") # returns 12Ĭontains_number("The cat is black") # returns nil.In other words, a range like is the same as. We can use ranges to match multiple letters or numbers without having to type them all out. This will not take into account the amount of characters, we will see how to do that soon. For example, matches any vowel.Įxample: Does the string contain a vowel? def contains_vowel(str) Character ClassesĪ character class lets you define a range or a list of characters to match. Now you are going to learn how to build more advanced patterns so you can match, capture & replace things like dates, phones numbers, URLs, etc. If we don’t care about the index we could use the String#include? method.Īnother way to check if a string matches a regex is to use the match method: if "Do you like cats?".match(/like/) This returns the index of the first occurrence of the word if it was found or nil otherwise. The most simple expressions match a word or even a single letter. Ruby regular expressions are defined between two forward slashes to differentiate them from other language syntax. In other words, your program will be able to tell the difference between a valid & invalid email address. Think about an email address, with a ruby regex you can define what a valid email address looks like. Two common use cases for regular expressions include validation & parsing. Ruby regular expressions ( ruby regex for short) help you find specific patterns inside strings, with the intent of extracting data for further processing. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |