Have the function SecondGreatLow(arr) take the array of numbers stored in arr
and return the second lowest and second greatest numbers, respectively, separated by a space. For example: if arr contains [7, 7, 12, 98, 106] the output should be 12 98. The array will not be empty and will contain at least 2 numbers. It can get tricky if there's just two numbers!.
Saturday, August 31, 2013
Coderbyte: Letter Count I (Ruby)
PROBLEM
Have the function LetterCountI(str) take the str
parameter being passed and return the first word with the greatest
number of repeated letters. For example: "Today, is the greatest day
ever!" should return greatest because it has 2 e's (and 2 t's) and it comes before ever which also has 2 e's. If there are no words with repeating letters return -1. Words will be separated by spaces.
Coderbyte: Array Addition I (Ruby)
PROBLEM
Have the function ArrayAdditionI(arr) take the array of numbers stored in arr and return the string true if any combination of numbers in the array can be added up to equal the largest number in the array, otherwise return the string false. For example: if arr contains [4, 6, 23, 10, 1, 3] the output should return true because 4 + 6 + 10 + 3 = 23. The array will not be empty, will not contain all the same elements, and may contain negative numbers
Have the function ArrayAdditionI(arr) take the array of numbers stored in arr and return the string true if any combination of numbers in the array can be added up to equal the largest number in the array, otherwise return the string false. For example: if arr contains [4, 6, 23, 10, 1, 3] the output should return true because 4 + 6 + 10 + 3 = 23. The array will not be empty, will not contain all the same elements, and may contain negative numbers
Coderbyte: Arith Geo (Ruby)
PROBLEM
Have the function ArithGeo(arr) take the array of numbers stored in arr
and return the string "Arithmetic" if the sequence follows an arithmetic pattern or return "Geometric" if it follows a geometric pattern. If the sequence doesn't follow either pattern return -1.
An arithmetic sequence is one where the difference between each of the
numbers is consistent, where as in a geometric sequence, each term after
the first is multiplied by some constant or common ratio. Arithmetic
example: [2, 4, 6, 8] and Geometric example: [2, 6, 18, 54]. Negative
numbers may be entered as parameters, 0 will not be entered, and no
array will contain all the same elements.
Coderbyte: Palindrome (Ruby)
PROBLEM
Have the function Palindrome(str) take the str
parameter being passed and return the string true if the parameter is a palindrome, (the string is the same forward as it is backward) otherwise return the string false. For example: "racecar" is also "racecar" backwards. Punctuation and numbers will not be part of the string.
Coderbyte: Ex Oh (Ruby)
PROBLEM
Have the function ExOh(str) take the str parameter being passed and return the string true if there is an equal number of x's and o's, otherwise return the string false. Only these two letters will be entered in the string, no punctuation or numbers. For example: if str is "xooxxxxooxo" then the output should return false because there are 6 x's and 5 o's.
Friday, August 30, 2013
Namecheap September 2013 Coupon Codes
This is the code for Namecheap coupon code for the month of September. Enjoy!
- SCHOOLSALE is Namecheap standard domain name coupon. Limit 30 uses per account for 1 year registrations of com/net/org/biz and 1 year transfers of com/net/org/info/biz.
- POWERSRV will give you 20% off first month shared hosting.
- 24x7VPS will give you 10% off first month VPS hosting.
Thursday, August 29, 2013
Wednesday, August 28, 2013
List Of Passers In Agricultural Engineer Licensure Examination, August 2013
Congratulations to the following for successfully passing the Agricultural Engineer Licensure Examination.
The Professional Regulation Commission (PRC) announces that 237 out of 601 passed the Agricultural Engineer Licensure Examination given by the Board of Agricultural Engineering in the cities of Manila, Baguio and Davao this August 2013.
List Of Passers In Physician Licensure Examination, August 2013
Congratulations to the following for successfully passing the Physician Licensure Examination.
The Professional Regulation Commission (PRC) announces that 1,834 out of 2,211 passed the Physician (Complete and Finals with Prelims) Licensure Examination given by the Board of Medicine in the cities of Manila, Cebu and Davao this August 2013.
Tuesday, August 27, 2013
Monday, August 26, 2013
Sunday, August 25, 2013
Saturday, August 24, 2013
Friday, August 23, 2013
Coderbyte: Word Count (Ruby)
PROBLEM
Have the function WordCount(str) take the str
string parameter being passed and return the number of words the string contains (ie. "Never eat shredded wheat" would return 4). Words will be separated by single spaces.
Coderbyte: Vowel Count (Ruby)
PROBLEM
Have the function VowelCount(str) take the str
string parameter being passed and return the number of vowels the string contains (ie. "All cows eat grass" would return 5). Do not count y as a vowel for this challenge.
Thursday, August 22, 2013
Wednesday, August 21, 2013
SM Means Serving Millions On SM Supermalls
By having of almost 50 location nationwide, SM Supermalls is one of the biggest shopping malls in the Philippines. Because of it's well established name, the definition of SM are varied from Supermall, Shoemart, Shopping Mall and more.
We stumbled an old scanned newspaper where the true definition of SM is explained.
The Conjuring Meme
Based on the reaction of the people who watched the The Conjuring, it is probably the one of the most terrifying horror film this year. In face, it is one of the social media trend for almost a week and still counting. Many meme about this film has been posted which is mostly related to college studies and about tropical storm Maring.
List Of Cloudfone Philippines Service Centers
CityLight Telecom Center
Unit V362d Vmall, GSC
San Juan
Unit V362d Vmall, GSC
San Juan
CityLight Telecom Center
CZK 202 SM CITY Masinag
Marcos Highway, Mayamot Antipolo
CZK 202 SM CITY Masinag
Marcos Highway, Mayamot Antipolo
Express Repair
Cyberzone SM City Bicutan
Don Bosco, Paranaque City
Cyberzone SM City Bicutan
Don Bosco, Paranaque City
CityLight Telecom Center
2/F SM CITY Fairview
2/F SM CITY Fairview
Express Repair
SM Supercenter
Brgy, Ugong Pasig City
SM Supercenter
Brgy, Ugong Pasig City
Coderbyte: AB Check (Ruby)
PROBLEM
Have the function ABCheck(str) take the str parameter being passed and return the string true if the characters a and b are separated by exactly 3 places anywhere in the string at least once (ie. "lane borrowed" would result in true because there is exactly three characters between a and b). Otherwise return the string false.
Coderbyte: Alphabet Soup (Ruby)
PROBLEM
Have the function AlphabetSoup(str) take the str string parameter being passed and return the string with the letters in alphabetical order (ie. hello becomes ehllo). Assume numbers and punctuation symbols will not be included in the string.
Coderbyte: Time Convert (Ruby)
PROBLEM
Have the function TimeConvert(num) take the num
parameter being passed and return the number of hours and minutes the parameter converts to (ie. if num = 63 then the output should be 1:3). Separate the number of hours and minutes with a colon.
Tuesday, August 20, 2013
Tropical Storm Maring Meme
The havoc made by tropical storm Maring in the Philippines is still intact on approximately 600, 000 Filipino, many provinces became flooded and declared a state of calamity that forced the people to evacuate. Even this incidence happen, there are Filipino that remain the spirit of happines. Using the social media as a tool, they create some meme and some of it turned to be awesome!
Monday, August 19, 2013
GitHub Windows: Commit failed: Failed To Create A New Commit
PROBLEM
While testing some functionality of GitHub Windows, an error occurred while committing. To be exact, the error displayed is Commit failed: Failed to create a new commit. We tested it on different projects and the commit was successful.
Coderbyte: Check Nums (Ruby)
PROBLEM
Have the function CheckNums(num1,num2) take both parameters being passed and return the string true if num2 is greater than num1, otherwise return the string false. If the parameter values are equal to each other then return the string -1.
Coderbyte: Simple Symbols (Ruby)
PROBLEM
Have the function SimpleSymbols(str) take the str parameter being passed and determine if it is an acceptable sequence by either returning the string true or false. The str parameter will be composed of + and = symbols with several letters between them (ie. ++d+===+c++==a) and for the string to be true each letter must be surrounded by a + symbol. So the string to the left would be false. The string will not be empty and will have at least one letter.
Coderbyte: Letter Capitalize (Ruby)
PROBLEM
Have the function LetterCapitalize(str) take the str parameter being passed and capitalize the first letter of each word. Words will be separated by only one space.
Coderbyte: Simple Adding (Ruby)
PROBLEM
Have the function SimpleAdding(num) add up all the numbers from 1 to num. For the test cases, the parameter num will be any number from 1 to 1000.
Sunday, August 18, 2013
Neri Naig Photo Gorgeous Compilation
We look at the brighter side of what happened to Chito Miranda and Neri Naig sex video scandal controversies so you won't see any photos of the said scandal. In case you did not know Neri Naig before, she is one product of a Philippine reality show Star Circle Quest. See the photos below to know this how gorgeous she is.
Coderbyte: Letter Changes (Ruby)
PROBLEM
Have the function LongestWord(sen) take the sen
parameter being passed and return the largest word in the string. If
there are two or more words that are the same length, return the first
word from the string with that length. Ignore punctuation and assume sen will not be empty.
Coderbyte: Longest Word (Ruby)
PROBLEM
Have the function LongestWord(sen) take the sen
parameter being passed and return the largest word in the string. If
there are two or more words that are the same length, return the first
word from the string with that length. Ignore punctuation and assume sen will not be empty.
Saturday, August 17, 2013
Not A Valid URL Format When Creating A New Twitter Application
PROBLEM
Twitter not accepting the URL format and gives an error message Not a valid URL format.
Twitter not accepting the URL format and gives an error message Not a valid URL format.
SQLyog Community Version Download Address
PROBLEM
Cannot find the SQLyog Community Version Download Address on their website.
Cannot find the SQLyog Community Version Download Address on their website.
Coderbyte: First Factorial (Ruby)
PROBLEM
Have the function FirstFactorial(num) take the num parameter being passed and return the factorial of it (ie. if num = 4, return (4 * 3 * 2 * 1)). For the test cases, the range will be between 1 and 18.
Have the function FirstFactorial(num) take the num parameter being passed and return the factorial of it (ie. if num = 4, return (4 * 3 * 2 * 1)). For the test cases, the range will be between 1 and 18.
Coderbyte: First Reverse (Ruby)
PROBLEM
Have the function FirstReverse(str) take the str parameter being passed and return the string in reversed order.
Have the function FirstReverse(str) take the str parameter being passed and return the string in reversed order.
Friday, August 16, 2013
Thursday, August 15, 2013
Wednesday, August 14, 2013
Tuesday, August 13, 2013
Convert Number To Word In Visual Basic 6
Most system that involve payment required the converted word it's numerical value but the problem is, Visual Basic 6 don't have any built in function to this. Because of this we created a function that convert number to word. This function can convert up to 9 hundred thousands since we don't need to convert values higher than this. Adding more than 9 hundred thousands is easy, if you want to implement this to your system just copy the code below.
List Of Passers In Metallurgical Engineering Licensure Examination, August 2013
Congratulations to the following for successfully passing the Metallurgical Engineering Licensure Examination.
The Professional Regulation Commission (PRC) announces that 25 out of 42 passed the Metallurgical Engineer Licensure Examination given by the Board of Metallurgical Engineering in the cities of Manila and Davao from August 10-12, 2013.
Monday, August 12, 2013
List Of Passers In Master Plumbers Licensure Examination, August 2013
Congratulations to the following for successfully passing the Master Plumbers Licensure Examination.
The Professional Regulation Commission (PRC) announces that 246 out of 645 passed the Master Plumber Licensure Examination given by the Board for Master Plumbers in Manila, Cebu and Davao this August 2013.
Sunday, August 11, 2013
Saturday, August 10, 2013
Fix Ruby On Rails Error: A Fatal Error Has Occurred. Please See The Bundler Troubleshooting Documentation At http://bit.ly/bundler-issues. Thanks!
I currently studying Ruby on Rails and this error "Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!" when I run bundle install --without production. I searched solution over the Internet but unfortunately, this solution does not solve my problem. You may try the solution below if it fix your problem.
Auto Resize Flexgrid Column Depending On Content In Visual Basic 6
Flexgrid is one of the most used controls for report generation in our programming firm. Recently, we required to have a function the will automatically resize the Flexgrid column depends on the column content. If you are somehow problematic about this method then you may try the code below if it will suit to your need.
Thursday, August 8, 2013
Wednesday, August 7, 2013
List Of Passers In Physical And Occupational Therapist Licensure Examination, August 2013
Congratulations to the following for successfully passing the Physical And Occupational Therapis Licensure Examination.
The Professional Regulation Commission (PRC) announces that 355 out of 679 passed the Physical Therapist Licensure Examination and 64 out of 150 passed the Occupational Therapist Licensure Examination given by the Board of Physical and Occupational Therapy in the cities of Manila and Cebu this August 2013.
Tuesday, August 6, 2013
Convert Number To Ordinal Number Format In Visual Basic 6
Converting ordinal number in Visual Basic is you only need to create a few If...Else statement that will compare your values and concat the appropriate word to put (th, st, nd, rd and th). Using the function below, you can transform a number to it's corresponding ordinal number format.
Monday, August 5, 2013
Sunday, August 4, 2013
Run Cucumber On Single .feature Test File
When debugging cucumber tests, it may be helpful to run cucumber on a single test file at a time and to cut down on execution time, and reduce the amount of error output to go through.
How to run cucumber on single .feature test file.
Saturday, August 3, 2013
Mitsubishi Adventure (GX, TX, GLX, GLS Sport SE, Super Sports) Brochure
If you are planning to buy Mitsubishi Adventure (GX, TX, GLX, GLS Sport SE, Super Sports) and you don't know what model suits to your need and budget, then you must review each one of the model. We compiled all the brochure of each model below.
Chito Miranda And Neri Naig Sex Video Scandal
Well this might be the most controversial part on the career of Parokya ni Edgar front man Chito Miranda as well on her girl friend Neri Naig. This is because of a collage picture, screencast of the video, circulating over the Internet where the couple having private sex. The videos is leaked after the incidence of robbery on Chito Miranda's home where his hard drive is included on his stolen items where the files are stored.
SM Olongapo City Funny Elevator Operator Videos
The videos of SM Olongapo's elevator operator became viral on social media where she is very cheerful and always put a smile on every customer. Her popularity also reached Philippine news media where she will be featured this coming Sunday (August 4, 2013). In case you still not yet watch the videos, then your in the right place.By the way, her name is Cheridel Alejandrino.
List Of Passers In Nutritionist-Dietitian Licensure Examination, July 2013
Congratulations to the following for successfully passing the Nutritionist-Dietitian Licensure Examination.
The Professional Regulation Commission (PRC) announces that 605 out of 940 passed the Nutritionist-Dietitian Licensure Examination given by the Board of Nutrition and Dietetics in Manila and Zamboanga last July 2013.
List Of Passers In Agriculturist Licensure Examination, July 2013
Congratulations to the following for successfully passing the Agriculturist Licensure Examination.
The Professional Regulation Commission (PRC) announces that 1,712 out of 4,861 passed the Agriculturist Licensure Examination given by the Board of Agriculture in the cities of Manila, Baguio, Cagayan de Oro, Cebu, Davao, Iloilo, Legazpi, Lucena, Tacloban, Tuguegarao and Zamboanga last July 2013.
The Professional Regulation Commission (PRC) announces that 1,712 out of 4,861 passed the Agriculturist Licensure Examination given by the Board of Agriculture in the cities of Manila, Baguio, Cagayan de Oro, Cebu, Davao, Iloilo, Legazpi, Lucena, Tacloban, Tuguegarao and Zamboanga last July 2013.
Friday, August 2, 2013
Namecheap August 2013 Coupon Codes
This is the code for Namecheap coupon code for the month of July. Enjoy!
- FUNINTHESUN is Namecheap standard domain name coupon. Limit 30 uses per account for 1 year registrations of com/net/org/biz and 1 year transfers of com/net/org/info/biz.
- SUBLIMEBIZ will give you 20% off first month shared hosting.
- FUTUREVPS will give you 10% off first month VPS hosting.