Skip to content

Instantly share code, notes, and snippets.

View lojic's full-sized avatar

Brian Adkins lojic

View GitHub Profile
@irazasyed
irazasyed / README.md
Last active May 5, 2024 02:06
Fix for Google Chrome - Update failed (error 11)

Fix for Google Chrome - Update failed (error 11)

How to Fix Google Chrome Update Failed (error 11) Issue on Mac OSX

If you've tried to update your Google Chrome and the update failed because of the error 11 issue, Then here's a simple and easy solution that'll let you update your Google Chrome again and fix the issue once & for all.

First try fixing with the following instructions on this page: https://support.google.com/chrome/answer/111996?hl=en&rd=1

If it fails, try below:

@svdamani
svdamani / sorts.hpp
Last active May 29, 2024 00:04
Sorting Algorithms using Iterators in C++
#include <algorithm>
template <class Iterator>
inline void BubbleSort(Iterator begin, Iterator end) {
for (Iterator i = begin; i != end; ++i)
for (Iterator j = begin; j < i; ++j)
if (*i < *j)
std::iter_swap(i, j);
}