This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo dscl | |
> cd /Local/Default/ | |
/Local/Default > ls Users uid | |
/Local/Default > create Users/_node UserShell /bin/bash | |
/Local/Default > create Users/_node UniqueID 300 | |
/Local/Default > create Users/_node PrimaryGroupID 300 | |
/Local/Default > create Users/_node NFSHomeDirectory /Users/_node | |
/Local/Default > ls Groups gid | |
/Local/Default > create Groups/_node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class StyleRelativePathTransform : IBundleTransform | |
{ | |
private const string UrlPattern = @"url\s*\(\s*([""']?)([^:)]+)\1\s*\)"; | |
private static readonly Regex UrlRegex = new Regex(UrlPattern, RegexOptions.IgnoreCase | RegexOptions.Compiled); | |
public void Process(BundleContext context, BundleResponse response) | |
{ | |
var mergedCss = new StringBuilder(); |