Skip to content

Instantly share code, notes, and snippets.

Shay Anderson shayanderson

Block or report user

Report or block shayanderson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View svn-log-search-by-user-and-date
svn log -v -r{2015-1-1}:HEAD | awk '/^r[0-9]+ / {user=$3} /./{if (user=="svnusername") {print}}' | grep -E "^ M|^ G|^ A|^ D|^ C|^ U" | awk '{print $2}' | sort | uniq
@shayanderson
shayanderson / util.php
Created May 14, 2015
Utility functions for PHP 5.5+
View util.php
<?php
/**
* Utility functions for PHP 5.5+
*
* @copyright 2015 Shay Anderson <http://www.shayanderson.com>
* @license MIT License <http://www.opensource.org/licenses/mit-license.php>
* @link <http://www.shayanderson.com/php/php-utility-functions.htm>
*/
/**
@shayanderson
shayanderson / lib-ImageResizer.php
Created Jan 29, 2014
Image Resizer class ImageResizer.php
View lib-ImageResizer.php
<?php
/**
* Image Resizer / Thumbnail Creator
*
* NOTE: Requires the GD lib:
* http://php.net/manual/en/book.image.php
*
* @package ImageResizer
* @name ImageResizer
* @author Shay Anderson 3.12
@shayanderson
shayanderson / imageresizer.php
Created Jan 29, 2014
Image Resizer command line script for ImageResizer.php class
View imageresizer.php
#!/usr/bin/php
<?php
/**
* Command line script for Image Resizer / Thumbnail Creator
*
* @author Shay Anderson
*
* NOTE: Requires the GD lib:
* http://php.net/manual/en/book.image.php
*
You can’t perform that action at this time.