- So I'm excited to share my solution…with you for this challenge…because there's some useful stuff in here…and in addition to showing you my solution…for this challenge,…I've also included some stuff which I find useful…in my own life, like if I am in this directory,…right here, and I want to go through…and I want to add something to the end…of every file, like this code right here,…this is all code that I use to teach at Fresno State…and at a variety of other places…and so this code is licensed for everybody.…
It's public domain…and I need to add the license to the end…of all of these files and that's a lot of files.…So before I knew programming,…the way I might have done that…would be, I'd come over here…and I'd get the license…and then I'd come over here…and I would paste that in.…That would be very laborious,…that would take forever to go…and do that to all those files.…So I'm going to show you how programmatically…we can go through all of these files…and add that text to the end of every file.…So that's a real time saver,…
Author
Released
2/16/2016Todd introduces challenges and then provides overviews of his solutions in Go. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Visit other courses in the series to see how to solve the same challenges in languages like C++, C#, JavaScript, PHP, Python, R, Ruby, and Swift.
Skill Level Beginner
Duration
Views
The files have moved, and I can't access them via HTTP as shown in the course.
Related Courses
-
Learning Go
with David Gassner3h 48m Beginner
-
Introduction
-
Welcome1m 11s
-
Why choose Go?4m 33s
-
-
1. Problem 1—Exploring Lake Pend Oreille
-
Exploring Lake Pend Oreille3m 43s
-
Solution overview1m 31s
-
Working with files9m 20s
-
Reading file contents7m 45s
-
Calculating mean6m 16s
-
Calculating median6m 27s
-
Retrieving files using HTTP7m 31s
-
-
2. Problem 2—Image Analysis
-
Image analysis2m 54s
-
Solution overview8m 44s
-
Working with images10m 25s
-
Finished solution1m 2s
-
-
3. Problem 3—Eight Queens
-
Eight queens1m 50s
-
Solution overview3m 27s
-
Designing our alogrithm4m 10s
-
-
4. Problem 4—Accessing Peripherals
-
Accessing peripherals1m 23s
-
Solution overview5m 9s
-
Mouse input and audio output4m 19s
-
Solution4m 28s
-
-
5. Problem 5—Recursion and Directories
-
Solution overview5m 48s
-
Understanding recursion7m 53s
-
6. Problem 6—Building the Web
-
Building the web1m 32s
-
Solution overview3m 13s
-
Understanding templating3m 35s
-
Parsing data7m 15s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Solution overview