• Home
  • About
  • Social
    • Twitter
    • LinkedIn
    • Instagram
Starby Four

Vibes|Music|Tech

  • Home
  • About
  • Social
    • Twitter
    • LinkedIn
    • Instagram
  • Home
  • About
  • Social
    • Twitter
    • LinkedIn
    • Instagram

No Widgets found in the Sidebar Alt!

  • Tech

    Hashes–Another Data Structure!!! [Ruby Programming Language Notes]

    May 18, 2021 /

    Hashes! (Another data structure) An array allows us to have a single variable, or location, to store & group a lot of data. (Allows for organization!) An array was the first data structure we learned about. [ ]–An array is made up of elements, organized by indices. But sometimes we may need a different organization when building a program. That’s why we have HASHES!!! A hash is made up of values stored by keys. (A key “unlocks” the corresponding value.) { }–curly braces are used to represent a hash in Ruby. (This can be assigned to a variable.) In a hash, data comes in a pair, (a ‘key value’ pair).…

    read more
    Aaron Comments Off on Hashes–Another Data Structure!!! [Ruby Programming Language Notes]

    You May Also Like

    TCP/IP Applications–Making TCP/IP Work–NETWORKING, SECURITY, & MORE ESSENTIALS—CompTIA Network+ (N10-007) NETWORK-PLUS Certification Prep Course Notes

    May 13, 2021

    Integrating Security Into Networking From The Ground Up…

    December 30, 2020

    Wireless, Virtual, Cloud, & Mobile Networking–Advanced IP Networking–NETWORKING, SECURITY, & MORE ESSENTIALS—CompTIA Network+ (N10-007) NETWORK-PLUS Certification Prep Course Notes

    May 15, 2021
  • Tech

    Enumerables–A Cleaner Way to Iterate!!! [Ruby Programming Language Notes]

    May 18, 2021 /

    ENUMERABLES Enumerables–a cleaner way to iterate. Enumerable Methods–a way to quickly iterate thru an array or string array. array .each The ‘.each’ method takes in a {block-of-code} instead of (parameters). ‘.each’ passes on just the element. {block-of-code}–uses curly brackets{} to represent it. .each_with_index The ‘.each_with_index’ passes on the element, with the index, to the block of code. string .each_char .each_char.with_index Range enumerable–allows us to control where we start iterating & where we stop. (start..end).each iterate from start to end (inclusive!) (start…end).each iterate from start to end (excluding end!) A range can also be used on letters & other patterns, not just numbers!) Array Syntax for it: months = [ “Jan”,…

    read more
    Aaron Comments Off on Enumerables–A Cleaner Way to Iterate!!! [Ruby Programming Language Notes]

    You May Also Like

    Computer Organization–Notes

    May 25, 2021

    More Programming Notes…

    May 31, 2021

    Working With the Command-Line Interface–NETWORKING ESSENTIALS—CompTIA A+ (220-1001) A-PLUS Certification Prep Course Notes

    May 10, 2021

Archives

Categories

More

About

Documentation

Vim

Recent Posts

  • Metaverse security is a thing because security is still a thing…
  • What is a password manager and why do you need one…
  • What Is The Metaverse?
  • FAA Plans Warnings on 5G…What 5G Means for the FAA, FCC and Air-safety…
  • Blockchain & Money: Session 18: , by M.I.T. Sloan School of Management with Professor Gary Gensler

Tags

2020 A+ Bitcoin Blockchain C++ Careers CLI Cloud Coding CompTIA CompTIA A+ CompTIA Network+ Course Notes Covid-19 Crypto Cryptography Cyberattack Cybersecurity Data Structures Definitions Economy Essential Music Functions Learning Life M.I.T. Methods Mobile Music Music Video Networking News Notes NYC Peering Programming Ruby Security Structured Programming TCP/IP Tech Terminal The Internet Video Wireless Networking
© 2025 Starby Four.
Ashe Theme by WP Royal.