Skip to content

Instantly share code, notes, and snippets.

View oizik's full-sized avatar

Gary Jarrel oizik

  • Melbourne, Australia
View GitHub Profile
@oizik
oizik / HFS.md
Created July 21, 2023 09:12 — forked from r0mdau/HFS.md
How to recover pictures and files from failed MacOS / HFS+ hard drive with Linux

How to recover pictures and files from failed MacOS / HFS+ hard drive with Linux

A couple months ago, a friend ask me to repair a failing macintosh.

It appears the hard drive has multiple failures from SMART anlysis.

Next reboot... Oh crap, the operating system does not start anymore. The drive contains 10 years of pictures to recover. A heart pinch :'(

Important thing to know, if (certainely) the disk is crypted and you don't know the principal user login password,

@oizik
oizik / sentry-config.html
Created May 28, 2023 06:38 — forked from Chocksy/sentry-config.html
Sentry.js configuration for logging JavaScript exceptions to Sentry (https://sentry.io/). Without the added ignore options, you'll quickly find yourself swamped with unactionable exceptions due to shoddy browser plugins and 3rd party script errors.
<!-- Sentry.js Config -->
<script src="https://js.sentry-cdn.com/{{ENV['SENTRY_PUBLIC_DSN']}}.min.js" type="text/javascript"></script>
<script type="text/javascript">
// custom functions to handle errors in JS.
function handleRouteError(err) {
Sentry.captureException(err);
}
function errorHandler(error, data, level) {
level = level || 'info';
@oizik
oizik / mongodb_live_atlas_search.ipynb
Created April 30, 2022 11:55 — forked from doug-ol/mongodb_live_atlas_search.ipynb
Jupyter Notebook for Atlas Search Talk at MongoDB.live - From A to Autocomplete
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.