Skip to content

Instantly share code, notes, and snippets.

View chuchuva's full-sized avatar

Pavel Chuchuva chuchuva

View GitHub Profile
@nucklehead
nucklehead / cleanIcon.js
Last active May 20, 2024 19:04
Script to clean unused icons in ionic
#!/bin/env node
let path = require('path'), fs=require('fs');
function fromDir(startPath, filter, callback){
if (!fs.existsSync(startPath)){
console.log("no dir ",startPath);
return;
}
@adriansr
adriansr / svg2icns.sh
Created February 19, 2018 15:21
Convert SVG file to macOS icon (icns) format
#!/bin/sh -x
set -e
SIZES="
16,16x16
32,16x16@2x
32,32x32
64,32x32@2x
128,128x128