citizen_hacks_2019_part6
For the Citizen Hacks 2019 Vim competition
Start file
//Part 6: A New Hope event_date = new Date(2019, 9, 28); while(current_date < event_date){ let companies = find_companies(contacted_companies); //https://stackoverflow.com/questions/5915096/get-random-item-from-javascript-array let selected_company = companies[Math.floor(Math.random()*companies.length)]; request_sponsorship(); contacted_companies.add(); } privacy_commissioner_of_canada.grant_accepted(Citizen_Hacks); //Our first MLH hackathon! let MLH = require('mlh'); class Citizen_Hacks extends MLH{ //... } //Main Sponsors CSI_Annex.Sponsor(); Keybase.sponsor(); Feroot.sponsor(); Easy_DNS.sponsor(); Ada.sponsor(); //Other Sponsors Shirtliff_Hinds_Law.sponsor(); Github.sponsor(); Education_For_Digital_Peace.sponsor(); Fastmail.sponsor(); Mattermost.sponsor(); ProtonMail.sponsor(); Points.sponsor(); Norton_Rose_Fulbright.sponsor(); Waterloo_Engineering_Society.sponsor(); Sticker_Mule.sponsor(); team.find_speakers();
End file
// Part 6: A New Hope event_date = new Date(2019, 9, 28); while(current_date < event_date){ let companies = find_companies(contacted_companies); // https://stackoverflow.com/questions/5915096/get-random-item-from-javascript-array let selected_company = companies[Math.floor(Math.random()*companies.length)]; request_sponsorship(selected_company); contacted_companies.add(selected_company); } privacy_commissioner_of_canada.grant_accepted(Citizen_Hacks); // Our first MLH hackathon! let MLH = require('mlh'); class Citizen_Hacks extends MLH{ // ... } // Main Sponsors CSI_Annex.Sponsor(Citizen_Hacks); Keybase.sponsor(Citizen_Hacks); Feroot.sponsor(Citizen_Hacks); Easy_DNS.sponsor(Citizen_Hacks); Ada.sponsor(Citizen_Hacks); // Other Sponsors Shirtliff_Hinds_Law.sponsor(Citizen_Hacks); Github.sponsor(Citizen_Hacks); Education_For_Digital_Peace.sponsor(Citizen_Hacks); Fastmail.sponsor(Citizen_Hacks); Mattermost.sponsor(Citizen_Hacks); ProtonMail.sponsor(Citizen_Hacks); Points.sponsor(Citizen_Hacks); Norton_Rose_Fulbright.sponsor(Citizen_Hacks); Waterloo_Engineering_Society.sponsor(Citizen_Hacks); Sticker_Mule.sponsor(Citizen_Hacks); team.find_speakers();
View Diff
1c1 < // Part 6: A New Hope --- > //Part 6: A New Hope 8c8 < // https://stackoverflow.com/questions/5915096/get-random-item-from-javascript-array --- > //https://stackoverflow.com/questions/5915096/get-random-item-from-javascript-array 11,12c11,12 < request_sponsorship(selected_company); < contacted_companies.add(selected_company); --- > request_sponsorship(); > contacted_companies.add(); 17c17 < // Our first MLH hackathon! --- > //Our first MLH hackathon! 21c21 < // ... --- > //... 24,41c24,41 < // Main Sponsors < CSI_Annex.Sponsor(Citizen_Hacks); < Keybase.sponsor(Citizen_Hacks); < Feroot.sponsor(Citizen_Hacks); < Easy_DNS.sponsor(Citizen_Hacks); < Ada.sponsor(Citizen_Hacks); < < // Other Sponsors < Shirtliff_Hinds_Law.sponsor(Citizen_Hacks); < Github.sponsor(Citizen_Hacks); < Education_For_Digital_Peace.sponsor(Citizen_Hacks); < Fastmail.sponsor(Citizen_Hacks); < Mattermost.sponsor(Citizen_Hacks); < ProtonMail.sponsor(Citizen_Hacks); < Points.sponsor(Citizen_Hacks); < Norton_Rose_Fulbright.sponsor(Citizen_Hacks); < Waterloo_Engineering_Society.sponsor(Citizen_Hacks); < Sticker_Mule.sponsor(Citizen_Hacks); --- > //Main Sponsors > CSI_Annex.Sponsor(); > Keybase.sponsor(); > Feroot.sponsor(); > Easy_DNS.sponsor(); > Ada.sponsor(); > > //Other Sponsors > Shirtliff_Hinds_Law.sponsor(); > Github.sponsor(); > Education_For_Digital_Peace.sponsor(); > Fastmail.sponsor(); > Mattermost.sponsor(); > ProtonMail.sponsor(); > Points.sponsor(); > Norton_Rose_Fulbright.sponsor(); > Waterloo_Engineering_Society.sponsor(); > Sticker_Mule.sponsor();
Solutions by @Luoyb:
Unlock 1 remaining solutions by signing in and submitting your own entry