One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| # Install Dependencies | |
| # sudo apt-get install build-essential | |
| # sudo apt-get build-dep php5 | |
| sudo apt-get install libmysqlclient-dev mysql-client libcurl4-openssl-dev libgd2-xpm-dev libjpeg-dev libpng3-dev libxpm-dev libfreetype6-dev libt1-dev libmcrypt-dev libxslt1-dev bzip2 libbz2-dev libxml2-dev libevent-dev libltdl-dev libmagickwand-dev libmagickcore-dev imagemagick libreadline-dev libc-client-dev libsnmp-dev snmpd snmp libvpx-dev libxpm-dev libgmp3-dev libicu-dev libpspell-dev libtidy-dev freetds-dev unixodbc-dev librecode-dev libglib2.0-dev libsasl2-dev libgeoip-dev imagemagick libmagickcore-dev libmagickwand-dev | |
| # Stop Apache | |
| sudo service apache2 stop | |
| # Cleanup Packages | |
| sudo apt-get autoremove |
| #!/bin/sh | |
| # Some things taken from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # Set the colours you can use | |
| black='\033[0;30m' | |
| white='\033[0;37m' | |
| red='\033[0;31m' | |
| green='\033[0;32m' |
| --- | |
| language: objective-c | |
| before_script: | |
| - ./scripts/travis/add-key.sh | |
| after_script: | |
| - ./scripts/travis/remove-key.sh | |
| after_success: | |
| - ./scripts/travis/testflight.sh | |
| env: | |
| global: |
| -- show running queries (pre 9.2) | |
| SELECT procpid, age(query_start, clock_timestamp()), usename, current_query | |
| FROM pg_stat_activity | |
| WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
| ORDER BY query_start desc; | |
| -- show running queries (9.2) | |
| SELECT pid, age(query_start, clock_timestamp()), usename, query | |
| FROM pg_stat_activity | |
| WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
| #!/bin/sh | |
| # To the extent possible under law, Viktor Szakats (vszakats.net) | |
| # has waived all copyright and related or neighboring rights to this | |
| # script. | |
| # CC0 - https://creativecommons.org/publicdomain/zero/1.0/ | |
| # Upload a file to Amazon AWS S3 using Signature Version 4 | |
| # | |
| # docs: |
| #!/bin/bash | |
| ### Command log to install Cuda Toolkit 6.5, driver 343.22, and ccminer. | |
| ## Update the system | |
| sudo apt-get update && sudo apt-get -y dist-upgrade | |
| # All the dependencies for Cuda & ccminer (I think) | |
| sudo apt-get -y install gcc g++ build-essential automake linux-headers-$(uname -r) git gawk libcurl4-openssl-dev libjansson-dev xorg libc++-dev libgmp-dev python-dev | |
| using UnityEditor; | |
| using System.IO; | |
| using System.Collections; | |
| using UnityEngine; | |
| using System.Collections.Generic; | |
| class PerformBuild | |
| { | |
| private static string BUILD_LOCATION = "+buildlocation"; |
| ### | |
| # Unity folders and files | |
| ### | |
| [Aa]ssets/AssetStoreTools* | |
| [Bb]uild/ | |
| [Ll]ibrary/ | |
| [Ll]ocal[Cc]ache/ | |
| [Oo]bj/ | |
| [Tt]emp/ | |
| [Uu]nityGenerated/ |
| # BEFORE STARTING PUT libcudnn5_5.1.10-1+cuda8.0_amd64.deb AND libcudnn5-dev_5.1.10-1+cuda8.0_amd64.deb IN /tmp | |
| # OTHERWISE THIS WON'T WORK | |
| # This has been tested only on EC2 P2 xlarge instance with 16 GB storage and stock Ubuntu 16.04 | |
| # It's a setup for a playground EC2 machine to perform workshops with Jupyter Notebook on GPU. | |
| # It might contain some unnecessary crap | |
| # The process takes like 15 minutes | |
| pushd /tmp && | |
| stat libcudnn5_5.1.10-1+cuda8.0_amd64.deb && | |
| stat libcudnn5-dev_5.1.10-1+cuda8.0_amd64.deb && |