This file contains hidden or 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
#!/usr/bin/env bash | |
mkdir $2.iconset | |
sips -z 16 16 $1 --out $2.iconset/icon_16x16.png | |
sips -z 32 32 $1 --out $2.iconset/[email protected] | |
sips -z 32 32 $1 --out $2.iconset/icon_32x32.png | |
sips -z 64 64 $1 --out $2.iconset/[email protected] | |
sips -z 128 128 $1 --out $2.iconset/icon_128x128.png | |
sips -z 256 256 $1 --out $2.iconset/[email protected] | |
sips -z 256 256 $1 --out $2.iconset/icon_256x256.png |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en" dir="ltr"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Pascal's Triangle</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js" charset="utf-8"></script> | |
<script type="text/javascript"> | |
$(document).ready(function(){ |