This article aims to be a portal to installation and configuration of Cassandra. It is self-contained in the first place. It also provides links to the original articles.
Warning: This article is still under written.
class Array | |
#Usage :- [[1,2],8,[3],6,7,[4,[6,7]]].custom_flatten | |
def custom_flatten | |
flattened_array = [] | |
self.each do |element| | |
if element.is_a? Array | |
flattened_array += element.custom_flatten | |
else | |
flattened_array << element |
INSERT INTO hris_employeeattendance | |
( | |
employee_code, | |
for_date, | |
for_day, | |
in_time, | |
out_time, | |
hours_clocked, | |
create_time, | |
initial_status, |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |