I hereby claim:
- I am scottcrawford03 on github.
- I am scottcrawford (https://keybase.io/scottcrawford) on keybase.
- I have a public key ASAAqBHNQ-EcBc7rc9OTIwwncOAQdfnQLI-t0uTbQ2l_oQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
do-service-broker ❯❯❯ kc top nodes NAME CPU(cores) CPU% MEMORY(bytes) MEMORY% reverent-nash-8x97 44m 4% 613Mi 32% reverent-nash-8x9c 32m 3% 456Mi 23% reverent-nash-8x9m 45m 4% 485Mi 25%
Non-terminated Pods: (4 in total) Namespace Name CPU Requests CPU Limits Memory Requests Memory Limits
Steps to add a service catalog to a kubernetes cluster on DigitalOcean
log into do and provision a new cluster
set up service catalog via helm (commands pulled from https://kubernetes.io/docs/tasks/service-catalog/install-service-catalog-using-helm/#before-you-begin)
helm repo add svc-cat https://svc-catalog-charts.storage.googleapis.com
select recommendations.link, recommendations.recommendation_type, recommendations.title, profile_question_options.option_data, recommendations.profile_question_option_id, recommendations.priority | |
from recommendations | |
inner join profile_question_options on profile_question_options.id = recommendations.profile_question_option_id | |
where (recommendations.priority=2 and recommendations.recommendation_type='article' and recommendations.profile_question_option_id in` + oneClickParams + `) | |
or (recommendations.recommendation_type='article' and recommendations.profile_question_option_id in` + questionOptionQueryParam + `) | |
order by recommendations.priority | |
limit 7; | |
-- I want records that match the first where clause to be returned at the top and then i want to order the results of the second where clause by their priority. | |
-- If i were to do this with two queries i'd basically just make the first where cluase and add it to an array and then make the second where clause and append it to that same array. |
#!/bin/bash | |
cd ~ | |
sudo apt-get update | |
sudo apt-get install -y nginx | |
sudo chown -R `whoami`:`id -gn` /var/www/html | |
mkdir static | |
cd static |
#!/bin/bash | |
echo "updating and installing apache" | |
sudo apt-get update | |
sudo apt-get install -y apache2 | |
sudo chown -R `whoami`:`id -gn` /var/www/html | |
sudo apt-get install git | |
echo "making proj" | |
mkdir ~/proj |
// This one was tough because I didn't know that you had to tell the function that it was going to return a float and an error. | |
// Once I figured that piece out then it started to make sense. | |
package main | |
import ( | |
"fmt" | |
) | |
type ErrNegativeSqrt float64 |
###Intro -Talking about my experience with college coach
###Get scientific with it ##Talk about and show the effect of positive/negative thoughts on the brain -Fredrickson Experiement(http://jamesclear.com/positive-thinking) -http://www.huffingtonpost.com/james-clear/positive-thinking_b_3512202.html
###Positive thinking techniques ##From Books: