Skip to content

Instantly share code, notes, and snippets.

View Frankenmint's full-sized avatar

Frankenmint Frankenmint

View GitHub Profile
@yuanotes
yuanotes / png2svg.sh
Last active April 8, 2024 18:57
Convert png to svg.
#!/bin/bash
if [ "$1" == "" ]; then
echo Usage: $0 pngfile
exit 0
fi
FILE=`basename $1 .png`
if [ ! -e $FILE.png ]; then
//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Created: 2010/12/05
// Updated: 2018/09/12
// License: MIT
//
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it)
//