This file contains hidden or 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
| function [ response, corners ] = harris_corner_detector( image, varargin ) | |
| % MATLAB FUNCTION DEFINITIONS | |
| % function [ response, corners ] = harris_corner_detector( image, varargin ) | |
| % MATLAB CALLING SEQUENCE | |
| % response = harris_corner_detector( image ) | |
| % response = harris_corner_detector( image, sigma ) | |
| % [ response, corners ] = harris_corner_detector( image ) | |
| % [ response, corners ] = harris_corner_detector( image, sigma) |
This file contains hidden or 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
| # Written like it was in shell, not sure what the right python calls are, just an FYI | |
| mkdir -p /dev/shm/pdf_convert | |
| cp /current_scantron_directory/pdf_image /dev/shm/pdf_convert | |
| convert_function /dev/shm/pdf_convert/filename /dev/shm/pdf_convert/converted_filenames | |
| cp /dev/shm/pdf_convert/* /current_scantron_directory | |
| #So here, the script copies the image to a custom made (you can pick the name) directory in shared memory, better known as the temp #directory. Then it runs whatever convert function you have there and puts out the images based on whatever syntax you run the conversion #with. Then it copies all of the temp directories contents back into your scantron directory. All of the paths are made up, but they should #be easy to understand because they are just placeholders for your current working directories. Temp will always be in /dev/shm though |
This file contains hidden or 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
| pkg="wget" | |
| if yum -qq install $pkg; then | |
| echo "Successfully installed $pkg" | |
| else | |
| echo "Error installing $pkg" | |
| fi |
This file contains hidden or 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
| ### Bringing up ZABBIX Server Install ### | |
| # 1. Add user for zabbix | |
| sudo adduser jordan | |
| sudo adduser jordan | |
| ### enter password | |
| # 2. Install Zabbix, and all important dependencies | |
| sudo yum -y install mysql-server php-xml mysql |
This file contains hidden or 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
| location ~* \.(eot|ttf|woff)$ { | |
| add_header Access-Control-Allow-Origin *; | |
| } |
This file contains hidden or 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
| for f in *.mkv; | |
| do avconv -i "$f" -codec copy "${f%.mkv}.mp4"; | |
| done |
OlderNewer