Skip to content

Instantly share code, notes, and snippets.

View StrezlessMusick's full-sized avatar
🎼
Working

Sin Estres StrezlessMusick

🎼
Working
View GitHub Profile
@StrezlessMusick
StrezlessMusick / do2gj.py
Created October 13, 2023 07:41 — forked from sanzoghenzo/do2gj.py
Day One Classic to GitJournal
"""
Convert Day One Classic/Narrate journal entries to GitJournal entries.
Parse the plist XML files to extract useful metadata to be added as yaml headers for the markdown file.
Handle sifttter-redux XML indentation problems by removing leading whitespaces.
"""
import glob
import io
import os
import plistlib
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<?xml version="1.0" encoding="UTF-8"?>
<MediaInfo
xmlns="https://mediaarea.net/mediainfo"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://mediaarea.net/mediainfo https://mediaarea.net/mediainfo/mediainfo_2_0.xsd"
version="2.0">
<creatingLibrary version="22.03" url="https://mediaarea.net/MediaInfo">MediaInfoLib</creatingLibrary>
<media ref="eMastered_Dicen Que Soy Loco - 6_23_22, 1.52 PM Unmastered-1.wav">
<track type="General">
<AudioCount>1</AudioCount>
@StrezlessMusick
StrezlessMusick / createinstallmedia.md
Created June 2, 2022 01:14 — forked from windyinsc/createinstallmedia.md
Create a bootable installer for macOS

Create a bootable installer for macOS

The following instructions were predominantly sourced via this Apple Support Document.

With macOS, you can use a USB flash drive or other removable media as a startup disk from which to install macOS. These advanced steps are intended primarly for system administrators and others who are familiar with the command line.

The final executable command(s) are found within Section III. Final macOS Executable Commands labled as Full Example or Full Example w/Options. I personally use the w/Options command which include both the --nointeraction and &&say Installation commands.

I. Overview

@StrezlessMusick
StrezlessMusick / README.md
Created May 31, 2022 06:32
How to Bootcamp / Dual Boot Windows 10 on a mid-2011 iMac using USB

How to Install / Bootcamp Windows 10 on a mid-2011 iMac using USB

Apple has released support for bootcamping Windows 10, but only on 2012 Macs and later. Despite not being supported. it is possible to install Windows 10 on earlier iMacs and it seems to run quite well.

IMPORTANT: Unplug all external and physical hard drives (where possible) that you won't be installing to to avoid accidentally erasing them. Also make note of which drives and partitions remain (e.g. System and Storage hard drives), and be super careful to not erase the wrong one.

RECOVERY: If you nuke your machine, restore your time machine backup. Instructions here.

Requirements

@LitileXueZha
LitileXueZha / debug-react-source-code.md
Last active July 10, 2022 02:23
Debug react source code on yourself custom builds with source map.

Debug react source code on yourself custom builds with source map. First of all, read offical guide How to Contribute and be familiar with it's build flow.

Clone the repository, use specified branch or tag, eg: v16.8.0:

$ git clone --depth 1 --branch v16.8.0 [repo url]
$ cd ./react
$ yarn
...
AssertionError [ERR_ASSERTION]: Current node version is not supported for development
@h0tw1r3
h0tw1r3 / check_lastupdate.py
Last active October 24, 2021 00:36
nagios style last system update check for yum, dnf and apt
#!/usr/bin/env python
from __future__ import print_function
from datetime import timedelta
from datetime import datetime
import os
import re
import sys
@philwolstenholme
philwolstenholme / ######-phil-wolstenholme-drupalcon-europe-2020-utility-first-css.md
Last active November 1, 2021 09:18
Phil Wolstenholme - DrupalCon Europe 2020 - Utility-first CSS

Hello DrupalCon! 👋

Here's a big dump of code examples from my slides, plus some examples that didn't make it to the final cut.

The snippets should be organised by slide number, e.g. #46--_search.scss is the snippet of search-related SCSS shown on slide 46.

My slides

Here's a PDF of my slides (via Google Drive) for your reference, or if Zoom goes wrong!

@Atavic
Atavic / Firefox Zero user.js
Last active February 14, 2023 13:05
rev20210116
// Firefox Zero user.js
// rev20210116
// Privacy & Local Storage
user_pref("browser.bookmarks.max_backups", 0); // No bookmarks backup
user_pref("browser.cache.disk.enable", false); // Disable disk cache
user_pref("browser.cache.offline.enable", false); // Disable offline cache
user_pref("browser.messaging-system.whatsNewPanel.enabled", false);
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false);
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.