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 | |
########## | |
# contents | |
########## | |
# contents | |
# notes | |
# script setup | |
# git config files |
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
require 'csv' | |
def get_max_lines_file(file) | |
count = 0 | |
file = File.open(file, "r") { |file| file.each_line { |line| count += 1 }} | |
return count | |
end | |
def fit_log(file_in, file_out) | |
# vars |
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
<?php | |
if ( ! defined('EVENT_ESPRESSO_VERSION')) { exit('No direct script access allowed'); } | |
class EEG_PayU_Standard extends EE_Offsite_Gateway { | |
const itemized_payment_option_name = '_itemized_payment'; | |
protected $_payu_id = NULL; | |
protected $_image_url = NULL; | |
protected $_gateway_url = NULL; |
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
# This script installs everything you need on an EC2 GPU Instance | |
# Create an Ubuntu 12.04 GPU Instance with at least 16GB of free space | |
# Base packages | |
sudo apt-get update | |
sudo apt-get install build-essential | |
sudo apt-get install gcc git cmake | |
# CUDA/Nvidia installations | |
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/cuda-repo-ubuntu1204_6.0-37_amd64.deb |