Skip to content

Instantly share code, notes, and snippets.

View hazzik's full-sized avatar

Alex Zaytsev hazzik

  • Brisbane, Australia
View GitHub Profile
@hazzik
hazzik / mount_ntfs_3g.plist
Last active February 6, 2022 00:27 — forked from zhylmzr/mount_ntfs_3g.plist
automount all ntfs volume writable in macOS Big Sur+
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>mount_ntfs_3g</string>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<false/>
#! /bin/bash
# Assumes that you tag versions with the version number (e.g., "1.1")
# and then the build number is that plus the number of commits since
# the tag (e.g., "1.1.17")
DESCRIBE=`git describe --tags --always`
# increment the build number (ie 115 to 116)
VERSION=`echo $DESCRIBE | awk '{split($0,a,"-"); print a[1]}'`
# BlogML import script originally sourced from:
# https://github.com/philippkueng/philippkueng.github.com/tree/30ef1570f06d33938b18d5eee7767d6641b9a779/source/_import
# Best post I could find about how to use it was here:
# http://philippkueng.ch/migrate-from-blogengine-dot-net-to-jekyll.html
#
# how to install
# --------------
# mkdir source/_importer
# cp blogml.rb to the source/_importer/ you created above
# cp your BlogML.xml to the same source/_importer/ directory
module Jekyll
class TagCloudTag < Liquid::Tag
safe = true
def initialize(tag_name, text, tokens)
super
end
def render(context)
html = ""
public class IoCAwareScanner : DefaultModelMetadataScanner
{
private readonly Action<Type, Type> registerAsTransient;
internal static readonly Type ModelMetadataConfigurationType = typeof(IModelMetadataConfiguration);
protected IoCAwareScanner(Action<Type, Type> registerAsTransient)
{
this.registerAsTransient = registerAsTransient;
}