Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Miller anotherlab

View GitHub Profile
@anotherlab
anotherlab / Create Android Icons.jsx
Created Nov 13, 2014
Photoshop script to resize 1024x1024 png into Android icons
View Create Android Icons.jsx
// Photoshop Script to Create Android Icons from iTunesArtwork
//
// WARNING!!! In the rare case that there are name collisions, this script will
// overwrite (delete perminently) files in the same folder in which the selected
// iTunesArtwork file is located. Therefore, to be safe, before running the
// script, it's best to make sure the selected iTuensArtwork file is the only
// file in its containing folder.
//
// Copyright (c) 2010 Matt Di Pasquale
// Added tweaks Copyright (c) 2012 by Josh Jones http://www.appsbynight.com
View Create iOS Icons.jsx
// Photoshop Script to Create iPhone Icons from iTunesArtwork//// WARNING!!! In the rare case that there are name collisions, this script will// overwrite (delete perminently) files in the same folder in which the selected// iTunesArtwork file is located. Therefore, to be safe, before running the// script, it's best to make sure the selected iTuensArtwork file is the only// file in its containing folder.//// Copyright (c) 2010 Matt Di Pasquale// Added tweaks Copyright (c) 2012 by Josh Jones http://www.appsbynight.com//// Permission is hereby granted, free of charge, to any person obtaining a copy// of this software and associated documentation files (the "Software"), to deal// in the Software without restriction, including without limitation the rights// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell// copies of the Software, and to permit persons to whom the Software is// furnished to do so, subject to the following conditions://// The above copyright notice and
View RegEx validation
using System;
using System.Text.RegularExpressions;
public class Program
{
public void Main()
{
string[] guids = {
"0C885DD3-7DD9-484B-9B20-3E6552BCA144",