Skip to content

Instantly share code, notes, and snippets.

@jamieweavis
jamieweavis / macos-app-icon.md
Last active October 10, 2024 23:10
How to create an .icns macOS app icon
@mprentice
mprentice / xsl_license_fix.bash
Created August 10, 2012 21:11
Fix license text from xsl:comment to !--
#!/bin/bash
# Replace erroneous <xsl:comment> license tags with xml <!--> comments
bak="$HOME/tmp/xslbak"
mkdir -p "$bak"
find /usr/local/tusk/tusk-4_0_0 -name '*.xsl' -print0 | while IFS='' read -r -d '' fold ; do
lic=`awk '/<xsl:comment>/,/<\\/xsl:comment>/' "$fold" | grep 'licenses/ecl1\.php'`
if [ "" != "$lic" ] ; then
fdir="${fold%/*}"