Skip to content

Instantly share code, notes, and snippets.

@ktravers
Last active December 7, 2016 06:03
Show Gist options
  • Save ktravers/aa96e2f67fab43d7110d1e4deba62451 to your computer and use it in GitHub Desktop.
Save ktravers/aa96e2f67fab43d7110d1e4deba62451 to your computer and use it in GitHub Desktop.

Command Line fun stuff

  1. https://learn.co/curriculum/tracks/17595/lessons/17604
  2. https://learn.co/lessons/hs-cli-cultural-piece
Let It Snow:
ruby -e 'C=`stty size`.scan(/\d+/)[1].to_i;S=["2743".to_i(16)].pack("U*");a={};puts "\033[2J";loop{a[rand(C)]=0;a.each{|x,o|;a[x]+=1;print "\033[#{o};#{x}H \033[#{a[x]};#{x}H#{S} \033[0;0H"};$stdout.flush;sleep 0.1}'
Custom BASH matrix:

https://gist.githubusercontent.com/ttscoff/3729164/raw/bbfebb9a2e9e938f57981e78d6020f7ff94945cd/matrixish.sh

ASCIIquarium

brew install asciiquarium

Make Your Mac Talk

say 'Hello Brooklyn!'
say -v ?
say -v "Zosia" "Lalalalalalalalala" -o recording.mp4`
open recording.mp4

for voice in `say -v ?|cut -d" " -f 1`; do echo $voice; say -v $voice 'hamburgers'; done;

Lyrics:
"Now this is a story all about how My life got flipped-turned upside down And I'd like to take a minute Just sit right there I'll tell you how I became the prince of a town called Bel-Air. In west Philadelphia born and raised On the playground was where I spent most of my days. Chillin' out maxin' relaxin' all cool And all shooting some b-ball outside of the school. When a couple of guys who were up to no good Started making trouble in my neighborhood. I got in one little fight and my mom got scared. She said, "You're movin' with your auntie and uncle in Bel-Air.""

Hack Twitter with HTML

  1. https://learn.co/curriculum/tracks/10937/lessons/10947
  2. https://learn.co/lessons/dev-tools-super-power

Homework Excuse Generator

https://thimble.mozilla.org/en-US/anonymous/88d5b493-6d29-4a4d-aeeb-e6cf2b2fcec3/2498

Download the Learn IDE

https://learn.co/lessons/learn-environment-setup

Codeacademy Hour of Code

https://www.codecademy.com/hour-of-code

Code.org Hour of Code

https://code.org/learn

What can you do with Computer Science?

  • Teacher
  • Engineer
    • Airplanes
    • NASA
    • Space
  • Cyber security
  • Video games
    • Minecraft
  • Animation
    • Finding Dory
    • Minions
  • Supermodel (Karlie Kloss)
  • Software Developer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment