string code snippets in ruby

check if string starts with a timestamp in ruby
create a password with at least one uppercase letter in ruby
create a password with numbers in ruby
create a sha1 hash from a string in ruby
create a sha256 hash from a string in ruby
create a template string in ruby
find the first character in a string in ruby
find the first index of a character in a string in ruby
find the first index of a substring in a string in ruby
find the kth character in a string in ruby
find the kth longest word in a string in ruby
find the last index of a substring in a string in ruby
format a date in to the format month day, year hour:minute:second am/pm in ruby
generate a random string in ruby
given a string (that is also capitalized) input to a function, how to test whether it includes letters 'a', 'g', 't', and 'c'? in ruby
given a string of digits, output all the contiguous substrings of length n in that string in the order that they appear. in ruby
how to create this: 'abcdefghijklmnopqrstuvwxyz' using a shortcut code in ruby
join an array of characters into a string in ruby
left pad with space in ruby
remove a substring from a string in ruby
remove all white space in ""the quick brown fox jumps over the lazy dog"" in ruby
replace a character in a string in ruby
shuffle a string in ruby
split a string into an array of characters in ruby
split a string into an array of words in ruby
what to do in order to get ["0", "[0, 1], "{foo: 0}"] in ruby
write a method to return true if the input string equals 'cool' otherwise return false in ruby

gistlibby LogSnag