Skip to content

Instantly share code, notes, and snippets.

View mixdesign's full-sized avatar
😋
Trying Flutter

Almas Adilbek mixdesign

😋
Trying Flutter
View GitHub Profile
@mixdesign
mixdesign / Generate APNS pem
Created November 14, 2014 11:56
The command line shell scripts to generate APNS pem file for push notification.
#!/bin/bash
# Created by Almas Adilbek 2014
echo Project name \"without space\":
read PROJECT_NAME
echo Certificate filename \".cer\":
read CER_FILE
# Convert the .cer file into a .pem file
@mixdesign
mixdesign / Create OSX icons.jsx
Last active August 29, 2015 14:01
Create OSX icons photoshop plugin.
try
{
// Prompt user to select iTunesArtwork file. Clicking "Cancel" returns null.
var iTunesArtwork = File.openDialog("Select a sqaure PNG file that is at least 1024x1024.", "*.png", false);
if (iTunesArtwork !== null)
{
var doc = open(iTunesArtwork, OpenDocumentType.PNG);
if (doc == null)
// 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