Skip to content

Instantly share code, notes, and snippets.

View joshuajhun's full-sized avatar
💭
👨🏻‍💻

kuya.jhun joshuajhun

💭
👨🏻‍💻
View GitHub Profile
@joshuajhun
joshuajhun / accessibility-deep.md
Last active October 7, 2016 16:10
accessibility deep dive.

#Accessibility deep dive.

context

I am the oldest of two in my family. It's really just me and my sister. Besides my wife my sister is probably one of the people I am closest too. When we got older we were pretty much inseparable. We played music together, we got really close.

One thing I forgot to mention was the fact that she was born with this really interesting disease called biliary artresia. Basically your liver has these bile-ducts that help with blood filtration and other things and when she was born those were absent.

Long story short she had multiple surgeries to help with her situation. Growing up I knew my sister was sick but I didn't really have any context behind any of it. It wasn't until I got older and I did research about my sister condition was when I really cared.

@joshuajhun
joshuajhun / if-you're-lost.js
Last active August 24, 2016 16:44
If you're feeling lost with writing countdown check out my codez
function countDown(seconds){
console.log(seconds);
seconds--
if(seconds >= 0){
setTimeout(countDown,1000, seconds); // we are passing in the seconds as a parameter so that the funtion isn't called immediately
// if you want to see how that looks like pass in the seconds to countDown like this countDown(seconds) and remove [, seconds]
}
}
@joshuajhun
joshuajhun / terminal.md
Created August 16, 2016 15:17
learn the terminal

#Getting comfortable with the terminal

###context If you're anything like me you grew up around technology. I actually worked at an apple store so there is a pretty high chance I might of helped your grandpa or your mom reset their iCloud password and or had to explain to said relative that your home wifi can only be reached from your house and not the store.

What I found to be super interesting was that I was surrounded by some really smart people. A lot of these people knew how to take macs apart and trouble shoot hardware issues. What I found interesting with all of that was that a lot of the these apple techs was that they never ever touched the terminal.

It was almost as if the terminal was this untouchable thing. Like only the super nerds were the only people who could leverage the power of the terminal.

That is simply not the truth.

@joshuajhun
joshuajhun / .md
Created August 15, 2016 14:18
Testing the Dom

Test Driven Development with WebDriver.io

##Learning goals

  • Understand the benefits of testing
  • Utilize WebDriver.io to test changes on the dom
  • Utilize Mocha's assertion library to write effective tests.
  • Understand Red, Green, Refactor

##So Why testing?

@joshuajhun
joshuajhun / .md
Last active October 31, 2016 15:47
Higher Level Functions
@joshuajhun
joshuajhun / rails_views_tips_and_tricks.md
Created June 7, 2016 06:35
Rails Views Tips and Tricks

Rails Views Tips and Tricks

##Goals

  • refactor views to remove database queries
  • use partials to tidy up repeated code
  • use built-in Rails Helper methods
  • use custom helper methods
  • utilizing presenters to dry up code and push logic further down the stack

Context

class Pokemon
attr_reader :yung_name
def initialize(name)
@yung_name = name
end
def sleeping(time)
sleep(time)
"#{yung_name} fell asleep for #{time} seconds!"
function suhDude(){
  alert(‘suh dude’);
}

function timedSuhDude(){
  setTimout(suhDude,3000);
}

Name: Yung-Jhun

Which Assignments and Why?

  • Besides the required assignment (goalz) I decided to do the Community plan and the Side hustle plan. I chose the community one because I really think that this one really matters. Software development really allows people to grow and effect positive change around them.I want to make sure I'm keeping myself accountable to acoomplishing some of these goals. In that same vein I wanted to also make sure that I don't stop building things. The things I listed in the side-hustle list are things I really want to work hard at finishing.

Submitted Assignments

#THAT YUNG-SIDE HUSTLE

##The de Andres leaderboard.

  • I want to build a way for me and my wife to see events that will be happening durring our week and also a visual representation of how much we have left in our personal budges. I think that having something like this up will keep me and her on the same page on whats going on socially and what's left in our budget (something i'm still working lol)
  • The MVP would be a small heroku that just displayed the information on a page.
  • Ideally I would love to display this leaderboard on rotating slides in my living room on a mounted TV. It would be really cool if it pulled a weather API. I would love to run this project off of my raspberry pi. It would be cool to utilize annyang! the voice to text library so I can ask the leaderboard questions and it could answer them. It would also be pretty cool to also link the raspberry pi to like a philipps hue system to do cool things with lights.
  • I want to build this project because I think it could really help impro