Skip to content

Commit cf189a7

Browse files
committed
Remove broken image references from blog posts
1 parent c581276 commit cf189a7

3 files changed

Lines changed: 3 additions & 31 deletions

File tree

_posts/2013-03-24-back-from-dead.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ category: General
55
forreview: false
66
filename: "2013-03-24-back-from-dead.md"
77
---
8-
![Back from the dead](http://farm3.staticflickr.com/2735/5807179168_41db33897d_z.jpg)
9-
10-
*Photo: [Flickr](http://www.flickr.com/photos/natura_pagana/5807179168/sizes/z/in/photostream/)*
118

129
The last post on this blog was from the summer of '10. Since then, things got a little hectic and I was not able to dedicate much time to this blog. Things are little better now and after a lot of nagging from a lot of people, I've decided to revive this blog.
1310

_posts/2013-04-02-clean-code-SRP.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ What advantage does this provide? Just like what happens with most software solu
4343

4444
With the old design, the interest calculation logic is embedded in the bank account class and changes to interest calculation could introduce bugs in your bank account logic as well. Moreover, since there is no clean separation of responsibilities, more and more functionality would get added into the bank account class and you end up with one big tangled mess that is difficult to understand and maintain.
4545

46-
![Spaghetti Code][spaghetti-code]
47-
48-
Photo: [Flickr][2]
49-
5046
If you have the interest calculation logic totally separated out, every time you change the code for interest calculation, your bank account class should mostly remain unaffected. Also, you could refactor your code in such a way that each interest scheme is a separate class and the interest calculator class could pick up the right scheme to use based on the account type and various other parameters. Having these small, focused classes makes your code easy to understand and maintain.
5147

5248
## I want more!
@@ -63,7 +59,5 @@ I have had good mileage applying the SRP to methods. It gives me small, focused
6359

6460
You may not end up with this type of a clean separation of concerns the first time you build a feature. Not to worry. Refactoring is your friend. Get in there, break it apart and revel in the glory of your readable, maintainable code! :)
6561

66-
[SOLID]: http://en.wikipedia.org/wiki/Solid_(object-oriented_design)
67-
[Wikipedia defines SRP]: http://en.wikipedia.org/wiki/Single_responsibility_principle
68-
[spaghetti-code]: http://farm3.staticflickr.com/2335/2176839381_50f8cbe72b_z.jpg
69-
[2]: http://www.flickr.com/photos/ndomer73/2176839381/sizes/z/
62+
[SOLID]: https://en.wikipedia.org/wiki/Solid_(object-oriented_design)
63+
[Wikipedia defines SRP]: https://en.wikipedia.org/wiki/Single_responsibility_principle

_posts/2016-10-15-output-audio-to-multiple-devices-simultaneously.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,20 @@ layout: post
33
title: "Play audio through multiple headphones on your macOS"
44
category: Life Hacks
55
forreview: false
6-
banner:
7-
todo: |
8-
- [x] review
9-
- [x] image resizing
10-
- [x] add reference links
11-
- [x] add photo of audio splitter
12-
- [ ] add banner image
136
---
147

158
Ever wanted to share a movie or song with a friend, but you did not have one of those audio splitters lying around? Here is an easy trick that you can do for free on your macOS to output audio to multiple devices at the same time.
169

17-
<img src="http://cdn.madaboutcode.com/i/1-multiple-headphones-mac/audio-splitter.jpg" style="max-width:300px" alt="Audio Splitter" class="small"/>
18-
19-
*You **don't** need one of these - Photo: [Amazon](https://www.amazon.in/gp/product/B00904WS2K/ref=as_li_tl?ie=UTF8&camp=3638&creative=24630&creativeASIN=B00904WS2K&linkCode=as2&tag=macode-21&linkId=fc49ccc5c1f81bd23d29e5b7c812a444)*
20-
2110
* `⌘+space` to open up spotlight and type in **Audio MIDI Setup**.
2211

2312
* Hit the **+** menu on the bottom left of the window and click on **Create Multi-output device**.
2413

25-
![create multi-output device](http://cdn.madaboutcode.com/i/1-multiple-headphones-mac/step1.jpg)
26-
2714
* Select the audio devices to simultaneously send the output. In my case, these were the two headphones. That need not be the case though. You could, for example, have the audio play through your laptop speakers and your hi-fi headphones at the same time. If your audio devices have different sample rates, check drift correction.
2815

29-
![pick devices](http://cdn.madaboutcode.com/i/1-multiple-headphones-mac/step2.jpg)
30-
3116
* Change the name of the new device to something meaningful - "All Headphones" in my case.
3217

33-
<img src="http://cdn.madaboutcode.com/i/1-multiple-headphones-mac/5-output-selection.jpg" alt="Select Output" class="small"/>
34-
3518
Voila! You can now choose the new device as your speaker from the Audio icon in the menu bar. Bear in mind that you need one of the headphones to be a USB (or use a USB DAC) or bluetooth for this to work as there is only one 3.5mm jack in your Mac.
3619

37-
The **Audio MIDI Setup** app is a treasure trove of good stuff. You can combine multiple devices to create some pretty complicated setups for free. See this 4.0 setup for example.
38-
39-
<img src="http://cdn.madaboutcode.com/i/1-multiple-headphones-mac/step3.jpg" alt="Audio MIDI Setup" style="max-width: 500px" />
20+
The **Audio MIDI Setup** app is a treasure trove of good stuff. You can combine multiple devices to create some pretty complicated setups for free.
4021

4122
You can read more about it in [this apple support article.](https://support.apple.com/en-in/HT202000)

0 commit comments

Comments
 (0)