Skip to content

Instantly share code, notes, and snippets.

View MediaPreneur's full-sized avatar

Dennis Oosterman MediaPreneur

View GitHub Profile
@MediaPreneur
MediaPreneur / fix_exfat_drive.md
Created May 28, 2023 07:39 — forked from scottopell/fix_exfat_drive.md
Fix corrupted exFAT disk macOS/OSX

exFAT support on macOS seems to have some bugs because my external drives with exFAT formatting will randomly get corrupted.

Disk Utility is unable to repair this at first, but the fix is this:

  1. Use diskutil list to find the right drive id.
  2. You want the id under the IDENTIFIER column, it should look like disk1s1
  3. Run sudo fsck_exfat -d <id from above>. eg sudo fsck_exfat -d disk1s3
  4. -d is debug so you'll see all your files output as they're processed.
  5. Answer YES if it gives you the prompt Main boot region needs to be updated. Yes/No?
@MediaPreneur
MediaPreneur / Activate Office 2019 for macOS VoL.md
Created July 20, 2022 08:13 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref

@MediaPreneur
MediaPreneur / recovery.json, cloudready_recovery.json
Created July 19, 2022 10:28 — forked from Chenx221/recovery.json, cloudready_recovery.json
Chrome OS recovery images manual download (Flex)
# Chrome OS recovery images manual download
https://dl.google.com/dl/edgedl/chromeos/recovery/recovery2.json
https://dl.google.com/dl/edgedl/chromeos/recovery/recovery.json
# Google Chrome OS Flex images manual download
https://dl.google.com/dl/edgedl/chromeos/recovery/cloudready_recovery2.json
https://dl.google.com/dl/edgedl/chromeos/recovery/cloudready_recovery.json
@MediaPreneur
MediaPreneur / README.markdown
Created May 10, 2022 07:27 — forked from FranklinYu/README.markdown
links for old versions of Docker for Mac (inspired by docker/for-mac#1120)

links for old versions of Docker for Mac

Deprecated

Docker provides download links in release note. They promised that

(we) will also include download links in release notes for future releases.

Note:

@MediaPreneur
MediaPreneur / 01-Learning-Python3.md
Created May 6, 2022 16:01 — forked from kenjyco/01-Learning-Python3.md
Learn Python 3 with Jupyter Notebook
function parseVideo (url) {
// - Supported YouTube URL formats:
// - http://www.youtube.com/watch?v=My2FRPA3Gf8
// - http://youtu.be/My2FRPA3Gf8
// - https://youtube.googleapis.com/v/My2FRPA3Gf8
// - Supported Vimeo URL formats:
// - http://vimeo.com/25451551
// - http://player.vimeo.com/video/25451551
// - Also supports relative URLs:
// - //player.vimeo.com/video/25451551
#!/bin/bash
chown -R 0:0 /System/Library/Extensions
chmod -R o-w /System/Library/Extensions
kextcache -v 1 -a i386 -a x86_64 -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions
if [ ! -d /Extra ]
then
mkdir -p /Volumes/EFI
mount_hfs /dev/disk0s1 /Volumes/EFI
@MediaPreneur
MediaPreneur / README.md
Created March 4, 2016 10:19 — forked from irazasyed/README.md
Fix for Google Chrome - Update failed (error 11)

Fix for Google Chrome - Update failed (error 11)

Follow this link for the instructions -- Here

@MediaPreneur
MediaPreneur / gist:eab67520416d0da866fc
Created February 3, 2016 03:59 — forked from strangerstudios/gist:3137539
Integrate Paid Memberships Pro with WP Affiliate Platform
<?php
/*
Plugin Name: PMPro WP Affiliate Platform Integration
Plugin URI: http://www.paidmembershipspro.com/wp/pmpro-dev/
Description: Process an affiliate via WP Affiliate Platform after a PMPro checkout.
Version: .3
Author: Stranger Studios
Author URI: http://www.strangerstudios.com
IMPORTANT NOTE: The WP Affiliate Platform folks are maintaining a version of this gist that may have important updates. You can get their version here: https://www.tipsandtricks-hq.com/wordpress-affiliate/paid-memberships-pro-wp-affiliate-plugin-integration-873
@MediaPreneur
MediaPreneur / ifttt-pocket_to_nvalt.rb
Created October 23, 2015 23:47 — forked from ttscoff/ifttt-pocket_to_nvalt.rb
A Hazel script for converting IFTTT-saved Pocket favorites to nvALT notes
#!/usr/bin/env ruby
# Works with IFTTT recipe https://ifttt.com/recipes/125999
#
# Set Hazel to watch the folder you specify in the recipe.
# Make sure nvALT is set to store its notes as individual files.
# Edit the $target_folder variable below to point to your nvALT
# ntoes folder.
require 'date'
require 'open-uri'
require 'net/http'