SoherewehaveSectionthree, lecture, 33 swiftcodingwarmupalternating a raise.
SoourSimonistowrite a functionthatcombinestoraisebyalternatingLeetakingelements.
Forexample, giventhetoraiseABCandBoRomithefunctiontoreturn a bough b roseeme?
Soinotherwords, wewantourfirstarrayfollowedby a secondarraywith 001 onetotwobecausetheracestartedzeroandthenwewantthattotranslateintoourthirdarraywhich I mean, that's basicallywhatthisis.
So I knewwheretostart.
I know I hadtoe.
I knew I hadtodeclareto a raisewiththegiveninformationinsideofthem.
Andafterthat, I neededtocreate a function.
I needthisfunctioncombinedbecause, youknow, makessense.
Butbasically, l s allowsyoutoseewhatisinyourcurrentdirectory.
Soifyousayjusttypeand l s enterandyou'rein, youknow, debtdirectory, Dexdesktop.
Youseewhateverfilesareonyourdesktoporfoldersorwhateveritmaybe, C D standsforchangedirectoryandyouputCDandthenyouhavetoput a directorynameafterthat, thatiswithinthedirector.
Youdesist.
Let's saydid l s.
Andyouseethatdirectory?
I'd havejourneysinthatwhenyoucould.
D'ohisyoucansayCD.
I didjourneyandthen I'lltakeyoutothatdirectory, andthenyoucanclick, oryoucantypein l s enteragainandthenyouwillseewhateverisanideaJourneyfolderordirectordirectorisjustfolder, um, in k d.
Also, whenyou'retypingin, let's saysideofjourney, youcantypein I d E E andthenhittab, mostlikelyaslongasyoudon't haveanythingelsenamedsomethingsimilar, Uh, a littleautocomplete.
Whateveryou'retypinginandtouchallowsyoutocreate a fileyouputtouchinginthefilingandyouwanttocreateInsteadofmaking a director, you'remaking a five.
Sobasically, thisisjust a bunchofgetcommand.
Sothere's I'llput a put a listofitonthescreen, youknow?
Justkindoflikewe'repushingrightdirectionbecause I'm gettingtheyhave a fullondocumentationguydocumentedguidewhereittakesyouthroughthestepsofsettinguporgeneratingyour S h G.
Sowhatyouneedtodoisyouneedthio, generateyoursshhkey, copiedthePBcopypasteinterminal, andgotoyourgethelpaccountandaddtheSS H keyyouadd, youenterthepasswordappropriatepasswordforit, andthenyougo.
Youputsomethingon, gethub, anyoneisabletoseeit, oryoucanpay, youknow, X amountofdollarspermonthandallowupthio X amountofwhyamountofprivaterepositories.
So I thinkifyouspendlikesevenbucks a monthyoucanget 55 orprivaterepositoriesandpaymore.
Yougetmore, ofcourse.
Butthatbucket, you'reabletogetuptowhatitwas 85 I thinkyou'reabletogetuptofiveprivaterepositoriesonbitbucket.
It's fasterifyouknowhowtouseitwell, andbasically, whatwedois, youknow, justtimesothatyoudownloadedsomethingyoudownloadit, andthenwekindofgothroughthestepsofit, which I willrefreshmycellphone.
But I'veactuallydone a videoonelikethisaspectbeforeinmyit's likecalled, likeHowtomake a Resume 100% free, whichisactuallyisbecausewithgethub, whenyoucandoisyoucreate a website, which I toldpeopletotakeoffmygethelpaccount.
I believeyoucouldYoucoulddoallthegoodstuffandit's justsimplylaidoutthereforyou.
We'regonnafinishoffthisvideowithanexercise.
It's a lecture 41 pushingyourcodetogetup.
It's ThisisthelastlectureofOfsectionthreeandit's justkindoftodo a littlebitlike I wasjusttalkingabout, youknow, youlearnmorewhenyouactually d'oh, that's whatwe'regonnadowiththis.
We'regonnaYouknow, we'regonnamakesurethatyouhavegivendownloadedand I'm gonnaplaywith a littlebitandpushyourcodeWhetherit's just, youknow, readme.
I don't knowwhatwe'llfindoutonthescreen.
Let's go.
SothisisthefinalexerciseofSectionthreepushingtogethubandsorrytoskimpoutonthis a littlebit, butisyoucouldsee, youknow, itsayscreatefoldercode, projectprofilesandCraiggetup, account a newrepoanddoallthisatas a sage.
And I can't dothatbecause I havealreadyjoined.
I joined, like a yearagoongive I don't domuchonit.
I have I haveoneotheraccountbecause I havetwodifferentwebsitesoneshereandyoucanonlyhaveonewebsiteonitforfreeat a timeThatcouldhavechanged, I don't know.
Butatthetime, so I created a wholeotheraccountinordertohaveanotherwebsite.
Speakingofwebsite, that's notwhat I wantedto D'oh!
Here's mywebsite, actually, Andlike I saidbefore, thisisThea, thisistheinformation.
Yougetupdated, actually, soprobablybedoingthatsoon, and I'llbepullingandthenpushingbackup.
Sothat's basicallywhatthisthisisdoing.
Youdoallthestuff, youknow, createget a Repo X codeproject, which I don't haveanyAh, excludeprojectsonmygethub.
I needtochangethat.
AndthenAdisShh!
PullfromgetHub.
Actuallydidthisinthevideo.
I I talkedaboutearliersayinghowyoucouldcomeoverhereandtakemywebsiteandthenjustchangeittomakeityoursactuallydiditinthatvideo.