Skip to content

Instantly share code, notes, and snippets.

View SterlingAr's full-sized avatar

Marius Bora SterlingAr

View GitHub Profile
@SterlingAr
SterlingAr / install_steam
Created February 23, 2017 22:17 — forked from vespakoen/install_steam
install steam & age of empires 2 HD on ubuntu 14.04
# install wine 1.7
add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.7
# download steam
curl -o ~/Downloads/SteamSetup.exe http://media.steampowered.com/client/installer/SteamSetup.exe
# install some tricks
winetricks vcrun2010
// Gist for the FreeCodeCamp Profile Lookup Challenge. Instructions as comments. Total: 39 lines.
// We have an array of objects representing different people in our contacts lists.
// Example: var contacts = [ { ... } , { ... } , { ... } , { ... } ];
// A lookUpProfile function that takes
// firstName and a property (prop)
// as parameters has been pre-written for you.
function lookUpProfile(firstName, prop){
// The function should check if firstName is an actual contact's firstName
// and the given property (prop) is a property key of that contact.