Category: Uncategorized

  • Problem 1 from Project Euler . net

    Trying to reinforce the syntax in ruby, I did Problem 1 from Project Euler . net: If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3…

  • My first powershell

    A foreach loop that calls ping with a specific buffer size, and sends output to a ping*.txt file corresponding to the buffer size: foreach ($number in 32, 256, 1024) { ping -n100 -l$number yahoo.com > ping$number.txt }

  • For when I really can’t get my brain fired up on a given day

    Project Euler for programming problems.:  "Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required to solve most problems." I was looking up…