Outline
Title Page: How to Track and Prevent Your computer from being stolen
Basic Tips
-don't leave it in car in open
-bring it with you
-attach cable to unmovable object
Apple's Track Your Mac
-How it works
-How to use it
-Draw Backs
###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:
| // 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 |
| #!/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 |
| #!/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 |
| 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. |
Steps to add a service catalog to a kubernetes cluster on DigitalOcean
-
log into do and provision a new cluster
- follow steps to download config file and make sure that everything is working
- install helm and tiller if you don't have it: https://www.digitalocean.com/community/tutorials/how-to-install-software-on-kubernetes-clusters-with-the-helm-package-manager
-
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
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