- Setup the AWS CLI and add an spscommerce profile with your Dev aws credentials
$ aws configuration add --profile spscommerce
- Add the functions.sh to your home directory
- Add the following to your ~/.bashrc file
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCowcjLpXjx/xUD34RCwWjzv9czZU2T/dV9utmTXh8ZhnPIPSJGhlwzO4rBTZSDtvd57K5sXToir0YIQzl3eS1k44zyA8abEJn9hpKkthRmmr/V47/dp41+08+OCFUkuXJMHwpHwfmjMRXLjAMulFhUwMAYMjdHoMtRstsP+LF46gozmRJf/OArZdsmq+XfqCLGngDBHymBj/82JzhKToOy4vktYea4W49GWlf3+ueH36+oMWKse+YDHpjif3E0Bu8niiiqtC+J+KcID6pg9HWoybbC2jtmOFJ4CpBTe17lD/LykRF5BczOSfhMk87kRvDMOSAIh7Ye+9RosNphOxkMMbGFd5weOyySwDdK5p+PPz+yyC1C64VLwijtU3/tiJALIiZkqpTkPIRrVetWxTTCOQbaIEXOgEA9a50LH6Ll49uiryfyBSyi5ot5un2TPx+Qq9xec9IyCbuGUzGMx2iuGJq5ka7PBrJAj8Hrbt6ouN2ubBYflxOqXIN7wbtvyeU= aness@MSP-V7VRP7W61H |
#!/bin/bash | |
set b="N" | |
while [ $b != "Y" ]; do | |
echo "Do thing 2? (Y/N)"; read a | |
if [ "$a" == "N" ]; then | |
echo "Doing Thing 1" | |
else | |
echo "Doing Thing 2" | |
fi |
web: | |
image: nginx:latest |
/** | |
* @license Angulartics v0.19.2 | |
* (c) 2013 Luis Farzati http://luisfarzati.github.io/angulartics | |
* Universal Analytics update contributed by http://github.com/willmcclellan | |
* License: MIT | |
*/ | |
(function(angular) { | |
'use strict'; | |
/** |
// Check the install instructions for https://github.com/GreyGnome/EnableInterrupt | |
#include <EnableInterrupt.h> | |
// Modify this at your leisure. Refer to https://github.com/GreyGnome/EnableInterrupt/wiki/Usage#Summary | |
#define MOMENTARY_SWITCH 10 | |
const int redPin = 11; | |
const int greenPin = 10; | |
const int bluePin = 9; |
class StupidMath(): | |
def __init__(self, number): | |
self.number = number | |
def __add__(self, other): | |
return repr(self.number - other.number) + repr(self.number+other.number) | |
def __repr__(self): | |
return str(self.number) | |
print "{} + {} = {}".format(StupidMath(10), StupidMath(3), StupidMath(10) + StupidMath(3)) |
Key verification failure! at /var/local/cur8/lib/perl5/Cur8/SpamFilter.pm line 15. | |
Compilation failed in require at /var/local/cur8/lib/perl5/Cur8/MasonPackages.pm line 125. | |
BEGIN failed--compilation aborted at /var/local/cur8/lib/perl5/Cur8/MasonPackages.pm line 125. | |
Compilation failed in require at /var/local/cur8/lib/perl5/Cur8/Mason.pm line 18. | |
BEGIN failed--compilation aborted at /var/local/cur8/lib/perl5/Cur8/Mason.pm line 18. | |
Compilation failed in require at (eval 3) line 3. |
'use strict'; | |
// Declare app level module | |
var widgetSlider = angular.module('widgetSlider', []); | |
widgetSlider.directive("foo", [ "$log", function( $log ) { | |
return { | |
restrict: "E", | |
template: "<div ng-bind='values'></div><bar />", | |
controller: function($scope) { |
# Most normal settings | |
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage' | |
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage' | |
try: | |
execfile(os.path.join("/etc/project", "settings_local.py")) | |
except IOError: | |
execfile(os.path.join(SITE_ROOT, 'settings_local.py')) |