This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install development tools and some misc. necessary packages | |
yum -y groupinstall "Development tools" | |
yum -y install zlib-devel # gen'l reqs | |
yum -y install bzip2-devel openssl-devel ncurses-devel # gen'l reqs | |
yum -y install mysql-devel # req'd to use MySQL with python ('mysql-python' package) | |
yum -y install libxml2-devel libxslt-devel # req'd by python package 'lxml' | |
yum -y install unixODBC-devel # req'd by python package 'pyodbc' | |
yum -y install sqlite sqlite-devel # you will be sad if you don't install this before compiling python, and later need it. | |
# Alias shasum to == sha1sum (will prevent some people's scripts from breaking) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Creates a mask from given inputs | |
% Author Darren Brogan | |
% Heavily derived from createMask2 by Dan Malone | |
% Diff @ https://gist.github.com/BroganD1993/51217ec380e9bc383291/revisions | |
function image_mask = create_mask(image_mask, fft, num_shapes) | |
image_mask = generate_user_shapes(image_mask, fft, num_shapes); | |
image_mask = flip_mask_and_combine(image_mask); | |
image(256*image_mask); | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(e,a,g,h,f,c,b,d)%7Bif(!(f=e.jQuery)%7C%7Cg%3Ef.fn.jquery%7C%7Ch(f))%7Bc=a.createElement(%22script%22);c.type=%22text/javascript%22;c.src=%22http://ajax.googleapis.com/ajax/libs/jquery/%22+g+%22/jquery.min.js%22;c.onload=c.onreadystatechange=function()%7Bif(!b&&(!(d=this.readyState)%7C%7Cd==%22loaded%22%7C%7Cd==%22complete%22))%7Bh((f=e.jQuery).noConflict(1),b=1);f(c).remove()%7D%7D;a.documentElement.childNodes%5B0%5D.appendChild(c)%7D%7D)(window,document,%221.3.2%22,function($,L)%7B$('%23header,%20.pagehead,%20.breadcrumb,%20.commit,%20.meta,%20%23footer,%20%23footer-push,%20.wiki-actions,%20%23last-edit,%20.actions,%20.header,.site-footer,.repository-sidebar,.file-navigation').remove();%20$('%23files,%20.file').css(%7B%22background%22:%22none%22,%20%22border%22:%22none%22%7D);%20$('link').removeAttr('media');%7D); |