Articles by Stewart Nguyen

Ruby Howtos

  1. How to Check if a File Exists in Ruby
  2. How to Convert Array to Hash in Ruby
  3. How to List File in Folder in Ruby
  4. The Binary Left Shift Operator in Ruby
  5. Difference Between Each_with_index and each.with_index in Ruby
  6. How to Capitalize String in Ruby
  7. How to Generate Random Number in Ruby
  8. Ruby Class Variables
  9. The send Method in Ruby
  10. How to Get Object Type using kind_of, instance_of, and is_a In Ruby
  11. How to Install a Specific Verson for a Gem in Ruby
  12. How to Parse XML With Ruby
  13. How to Trim a String Without Creating a New String in Ruby
  14. Meaning of Ruby Question Mark ?
  15. The Attr_accessor, Attr_reader, and Attr_writer in Ruby
  16. The continue Keyword in Ruby
  17. How to Read Lines of a Files in Ruby
  18. How to Determine Object Type in Ruby
  19. Conditional Assignment in Ruby
  20. require vs include in Ruby
  21. How to Write Multi-Line String in Ruby
  22. How to Concatenate Strings in Ruby
  23. The %w Syntax Mean in Ruby
  24. How to Check Whether a String Contains a Substring in Ruby
  25. How to Sum an Array of Numbers in Ruby
  26. Ruby && vs and
  27. How to Sleep for X Seconds in Ruby
  28. for vs each in Ruby
  29. How to Check if Value Exists in Array in Ruby
  30. How to Create Multi-Line Comment in Ruby
  31. How to Convert Array to String in Ruby

Git Howtos

  1. How to Clone Specific Tag in Git
  2. How to Create Branch From a Commit in Git
  3. How to Squash All Commits on a Branch in Git
  4. How to List Remote Branches in Git
  5. How to Remove Uncommitted Changes in Git
  6. How to Set Upstream Branch in Git
  7. How to Prune Remote Branches in Git
  8. How to Set Up Git Remote
  9. How to Untrack Files in Git