• 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

    Sorting &Swapping Elements, & Bubble Sort Algorithms!!! [Ruby Programming Language Notes]

    May 19, 2021 /

    Sorting & Swapping Elements, & Bubble Sort Algorithms!!! Algorithm a sequence of actions to take! Sorting Algorithms Swapping Elements Operation: array = [“a”, “b”, “c”, “d”] #let’s swap “a” & “b” temp = array[0]; #save a copy of the first ele array[0] = array[1]; #overwrite the 1st ele with the 2nd ele array[1] = temp; #overwrite the 2nd ele with the 1st ele copy p array # => [“b”, “a”, “c”, “d”] This works but is a bit messy. Ruby has a clean shortcut (that also works in Python!)! array = [“a”, “b”, “c”, “d”] #let’s swap “a” & “b” array[0], array[1] = array[1], array[0] p array # => [“b”,…

    read more
    Aaron Comments Off on Sorting &Swapping Elements, & Bubble Sort Algorithms!!! [Ruby Programming Language Notes]

    You May Also Like

    Windows OS Under the Hood–NETWORKING ESSENTIALS—CompTIA A+ (220-1001) A-PLUS Certification Prep Course Notes

    May 10, 2021

    What is a ‘NOC’? What is a ‘SOC’? The Battle of ‘NOCs’ vs. ‘SOCs’…

    June 3, 2021

    Defining a Member Function With a Parameter-–C++ Notes (C Plus Plus Notes)

    May 26, 2021
  • Tech

    Symbols!!! [Ruby Programming Language Notes]

    May 19, 2021 /

    Symbols in Ruby Symbols are an additional data type, similar to strings, but different. str = ” “ strings are wrapped in quotes. Symbol = : symbols begin with a colon. Ex: str = “hello # the string sym = :hello # the symbol p str.length # => 5 p sym.length # => 5 p str[1] # => “e” p sym[1] # => “e” p str == sym # => false #Lesson…A string is DIFFERENT from a symbol! Strings are mutable (can be changed, or mutated). Symbols are immutable (can never be changed, or mutated). Because strings are mutable, they are always stored in a new memory location (even if…

    read more
    Aaron Comments Off on Symbols!!! [Ruby Programming Language Notes]

    You May Also Like

    More Notes!!! [Ruby Programming Language Notes]

    May 19, 2021

    Enumeration–Functions–STRUCTURED PROGRAMMING Course Notes

    May 27, 2021

    Arrays & Vectors–Arrays–STRUCTURED PROGRAMMING Course Notes

    May 29, 2021
  • Tech

    More Common Enumerable Methods!!! [Ruby Programming Language Notes]

    May 19, 2021 /

    More Common Enumerable’s .all?–return ‘true’ when all elements result in true when passed into the block. Ex: p [2,4,6].all? { |el| el.even? } # =>(returns) true Ex: p [2,3,6].all? { |el| el.even? } # => false .any?–return ‘true’ when at least one element results in true when passed into the block Ex: p [3,4,7].any? { |el| el.even? } # => true Ex: p [3,5,7].any? { |el| el.even? } # => false .none?–return ‘true’ when no elements result in true when passed into the block. Ex: p[1,3,5].none? { |el| el.even? } # => true Ex: p[1,4,5].none? { |el| el.even? } # => false .one?–return ‘true’ when exactly one element results in…

    read more
    Aaron Comments Off on More Common Enumerable Methods!!! [Ruby Programming Language Notes]

    You May Also Like

    Current Events Breakdown: To unlock a terrorist’s iPhone, the FBI turned to an obscure company in Australia; a technique called an “Exploit Chain” was used.

    April 14, 2021

    Recursion–Functions–STRUCTURED PROGRAMMING Course Notes

    May 28, 2021

    Local Area Networking—NETWORKING ESSENTIALS—CompTIA A+ (220-1001) A-PLUS Certification Prep Course Notes

    May 6, 2021
  • Tech

    Array-Giving Enumerables!!! [Ruby Programming Language Notes]

    May 18, 2021 /

    array.map–allows us to take in an array and modify it a certain way. (Returns a new array!) (This can let us skip the step of shoveling a desired result into a new array[].) arr = [“a”, “b”, “c”, “d”] Old way: new_arr = [ ] arr.each { |ele| new_arr << ele.upcase + “!” } print new_arr puts Output: [“A!”, “B!”, “C!”, “D!”] New way with .map: arr = [“a”, “b”, “c”, “d”] #(.map is still an enumerable, so when we call it we have to pass in a block.) #This block accepts the element as well, like .each. new_arr = arr.map { |ele| ele.upcase + “!” } #In the block…

    read more
    Aaron Comments Off on Array-Giving Enumerables!!! [Ruby Programming Language Notes]

    You May Also Like

    Current Events Breakdown: To unlock a terrorist’s iPhone, the FBI turned to an obscure company in Australia; a technique called an “Exploit Chain” was used.

    April 14, 2021

    Function Overloading–Functions–STRUCTURED PROGRAMMING Course Notes

    May 28, 2021

    Cabling & Topology–The Physical Network–NETWORKING, SECURITY, & MORE ESSENTIALS—CompTIA Network+ (N10-007) NETWORK-PLUS Certification Prep Course Notes

    May 11, 2021
  • 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

    Linked In, Microsoft, GitHub Offer Pandemic Relief through Online Education Training Courses & Certification…

    December 30, 2020

    Get ready for self-driving banks

    January 18, 2021

    Blockchain & Money: Session 22: Trade Finance & Supply Chain, by M.I.T. Sloan School of Management with Professor Gary Gensler

    April 23, 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

    Recursion–Functions–STRUCTURED PROGRAMMING Course Notes

    May 28, 2021

    Dual Economy Continues to Emerge as Millions Have Lost Jobs But Hiring Booms In Some Sectors…

    December 30, 2020

    Post-Quantum Cryptography: The Race Is On

    March 18, 2021
  • Tech

    Ruby Programming Language Notes

    May 17, 2021 /

    General Notes: “Commands” are also called “functions” and “methods”. Functions do 3 things: They name pieces of code the way variables name strings and numbers. They take arguments the way your scripts take ‘ARGV’. Using steps 1 & 2, they let you make your own “mini-scripts” or “tiny commands”. *You can create a function by using the word ‘def’ in Ruby. ‘def’ means ‘define’. Functions (aka Commands aka Methods) To Remember: open –Opens the file close –Closes the file. Like “File –> Save…” in your editor. read –Reads the contents fo the file. You can assign the result to a variable. readline –Reads just one line of a text file.…

    read more
    Aaron Comments Off on Ruby Programming Language Notes

    You May Also Like

    Blockchain & Money: Session 4: Blockchain Basics & Consensus by M.I.T. Sloan School of Management with Professor Gary Gensler

    April 15, 2021

    Billions were stolen in blockchain hacks last year…

    January 18, 2021

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

    May 15, 2021
  • Tech

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

    May 16, 2021 /

    Network Monitoring SNMP (Simple Network Management Protocol) SNMP uses (listens on) UDP port 161 or port 10161 when using TLS. SNMP–managed devices run an agent that talks with a N.M.S. (Network Management Station) (Note: A NMS can run on a virtual machine.) N.M.S. (Network Management Station) SNMPv1 is unencrypted, SNMPv2 added basic encryption, SNMPv3 added TLS encryption. (It’s ok if there are different versions on the same setup.) SNMP allows us to administer & manage network devices from a single source. SNMP Manager is the device that “talks with” SNMP devices. The SNMP Manager (usually a computer) runs the NMS (the interface that talks with the managed devices). The NMS…

    read more
    Aaron Comments Off on Network Monitoring–Advanced IP Networking–NETWORKING, SECURITY, & MORE ESSENTIALS—CompTIA Network+ (N10-007) NETWORK-PLUS Certification Prep Course Notes

    You May Also Like

    USB (Universal Serial Bus) Standards—CompTIA A+ (220-1001) A-PLUS Certification Prep Course Notes

    May 5, 2021

    Blockchain & Money: Session 14: Blockchain Payments, Part 2 by M.I.T. Sloan School of Management with Professor Gary Gensler

    April 20, 2021

    Blockchain & Money: Session 16: Central Banks and Commercial Banking, Part 2 by M.I.T. Sloan School of Management with Professor Gary Gensler

    April 21, 2021
  • Tech

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

    May 16, 2021 /

    Managing The Network Managing Risk What is Risk Management? Security policies are documents with broad overview statements. Security controls provide more details. Procedures discuss specific implementation of policies. Security Policies Security Policies document to users how to access system resources and what is allowable and acceptable. Safety policies apply to the IT department, too! NDA’s, software licensing, & data restrictions need to be considered to protect an organization. A.U.P. (Acceptable Use Policy) What can people do with company equipment?? defines ownership; web-site access; access times; R.A.P. (Remote Access Policy) VPN usage; Authentication rules; Password Policy Complexity; Lockout IT Safety Policy Lifting equipment; Equipment handling; Spills; Procedures; License Restrictions Usage; Transfer;…

    read more
    Aaron Comments Off on Managing The Network–Advanced IP Networking–NETWORKING, SECURITY, & MORE ESSENTIALS—CompTIA Network+ (N10-007) NETWORK-PLUS Certification Prep Course Notes

    You May Also Like

    What is a ‘NOC’? What is a ‘SOC’? The Battle of ‘NOCs’ vs. ‘SOCs’…

    June 3, 2021

    TCP/IP Basics–The World of TCP/IP–NETWORKING, SECURITY, & MORE ESSENTIALS—CompTIA Network+ (N10-007) NETWORK-PLUS Certification Prep Course Notes

    May 12, 2021

    Wireless Networking—NETWORKING ESSENTIALS—CompTIA A+ (220-1001) A-PLUS Certification Prep Course Notes

    May 6, 2021
  • Tech

    Building a Real-World Network–Advanced IP Networking–NETWORKING, SECURITY, & MORE ESSENTIALS—CompTIA Network+ (N10-007) NETWORK-PLUS Certification Prep Course Notes

    May 15, 2021 /

    Building a Real-World Network Network Types Know the differences between all the “area network” acronyms. Geographical: LAN, WAN, CAN, MAN, Internet; Wireless: WLAN, PAN; Network Design Network design starts with assessing customer needs. Design considerations include documentation, compatibility with existing hardware & software. Bring in security early & make sure to assess external connectivity. Assess current networking infrastructure. Analyze existing network documentation. Assess wireless needs. Power Management UPS–Uninterruptible Power Supply A UPS is a battery back-up & should be used for short-term power loss. Power generators can be diesel or gas, and are used to maintain power for when electric power is not available. Dual power supplies and redundant circuitry…

    read more
    Aaron Comments Off on Building a Real-World Network–Advanced IP Networking–NETWORKING, SECURITY, & MORE ESSENTIALS—CompTIA Network+ (N10-007) NETWORK-PLUS Certification Prep Course Notes

    You May Also Like

    What is a “Function” in Programming?, & What is “Object Oriented Programming” (OOP)–Notes

    May 24, 2021

    Blockchain & Money: Session 19: Primary Markets, ICOs, and Venture Capital, Part 1, by M.I.T. Sloan School of Management with Professor Gary Gensler

    April 21, 2021

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

    May 18, 2021
 Older Posts
Newer Posts 

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
© 2026 Starby Four.
Ashe Theme by WP Royal.