Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
##
# Apache HTTP Server
##
. /etc/rc.common
mysqlPath="/Library/Application Support/appsolute/MAMP PRO/db/mysql"
mysqlTmpPath=/Applications/MAMP/tmp/mysql
@leonsomed
leonsomed / ps-export-layers-to-png.jsx
Created March 28, 2016 04:12 — forked from tomekc/ps-export-layers-to-png.jsx
Photoshop script that exports to PNG all layers and groups whose names end with ".png".
#target photoshop
// $.level = 2;
/*
* Script by Tomek Cejner (tomek (at) japko dot info)
* based on work of Damien van Holten:
* http://www.damienvanholten.com/blog/export-groups-to-files-photoshop/
*
* My version adds support of nested layer groups,
* and exports single layers in addition to groups.
@leonsomed
leonsomed / AnimatedListView.java
Created March 26, 2016 23:26
AnimatedListView Android
package com.leonziyo.imagegallery;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewTreeObserver;
import android.view.animation.AlphaAnimation;
import android.view.animation.Animation;
import android.view.animation.AnimationSet;
import android.view.animation.ScaleAnimation;