Higher Education schools moving to online-only instruction due to COVID-19.
Last updated March 16, 2020 at 10:00am PDT
Shareable link: bit.ly/covid19schools
- Alabama A&M University 03/14/2020
| cd Downloads | |
| download_dir=$(pwd) | |
| cd $download_dir | |
| curl https://download.osgeo.org/geos/geos-3.9.1.tar.bz2 --output geos.tar.bz2 | |
| mkdir geos | |
| tar xjf geos.tar.bz2 -C geos --strip-components=1 | |
| cd geos | |
| ./configure && make | |
| sudo make install |
| ''' | |
| God level craftsman code | |
| The example below combines 3-4 different software ideas - | |
| 1. Functional programming (also known as Composition Over Inheritance) - | |
| even though I'm using OOP constructs (classes, methods, etc.), most of the | |
| functionality is pluggable/replaceable. Pure OOP lovers will hate the code below. | |
| But we're not theorists, we're engineers - we're only interested in getting the job done | |
| in the best possible way. | |
| 2. Clean code - You can just search for it. |
| code[class*="language-"],pre[class*="language-"]{color:black;background:0;text-shadow:0 1px white;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*="language-"]::-moz-selection,pre[class*="language-"] ::-moz-selection,code[class*="language-"]::-moz-selection,code[class*="language-"] ::-moz-selection{text-shadow:none;background:#b3d4fc}pre[class*="language-"]::selection,pre[class*="language-"] ::selection,code[class*="language-"]::selection,code[class*="language-"] ::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*="language-"],pre[class*="language-"]{text-shadow:none}}pre[class*="language-"]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*="language-"],pre[class*="language-"]{background:#f5f2f0}:not(pre)>code[class*="language |
| /* PrismJS 1.23.0 - https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+bash+basic+diff+git+go+java+json+makefile+markup-templating+php+properties+python+regex+ruby+scala+yaml&plugins=line-highlight+line-numbers+autolinker+file-highlight+show-language+highlight-keywords+autoloader+normalize-whitespace+toolbar+copy-to-clipboard+download-button+match-braces+diff-highlight */ | |
| var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,n=0,a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof r?new r(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n} |
| #!/bin/bash -xe | |
| # https://aws.amazon.com/premiumsupport/knowledge-center/codedeploy-agent-launch-configuration/ | |
| ## Code Deploy Agent Bootstrap Script## | |
| exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1 | |
| AUTOUPDATE=false | |
| function installdep(){ |
| #!/bin/bash | |
| # rm -rf codedeploy_agent && wget -O codedeploy_agent https://gist.githubusercontent.com/saxenap/e5db4e821e2009655f2262c15212ddb6/raw/ && chmod 777 codedeploy_agent && ./codedeploy_agent | |
| sudo yum -y update | |
| sudo yum -y install ruby | |
| sudo yum -y install wget | |
| cd /home/ec2-user | |
| wget https://aws-codedeploy-us-east-2.s3.us-east-2.amazonaws.com/latest/install |
| "use strict"; | |
| // Load plugins | |
| const autoprefixer = require("autoprefixer"); | |
| const browsersync = require("browser-sync").create(); | |
| const cp = require("child_process"); | |
| const cssnano = require("cssnano"); | |
| const del = require("del"); | |
| const eslint = require("gulp-eslint"); | |
| const gulp = require("gulp"); |
| REGION | YEAR | WEEK | %UNWEIGHTED ILI | ILITOTAL | NUM OF PROVIDERS | TOTAL PATIENTS | |
|---|---|---|---|---|---|---|---|
| Alabama | 2015 | 1 | 5.42916 | 525 | 23 | 9670 | |
| Alaska | 2015 | 1 | 0.975177 | 11 | 8 | 1128 | |
| Arizona | 2015 | 1 | 2.65774 | 639 | 60 | 24043 | |
| Arkansas | 2015 | 1 | 5.29005 | 321 | 19 | 6068 | |
| California | 2015 | 1 | 3.99683 | 1865 | 157 | 46662 | |
| Colorado | 2015 | 1 | 3.56194 | 134 | 6 | 3762 | |
| Connecticut | 2015 | 1 | 2.2769 | 62 | 16 | 2723 | |
| Delaware | 2015 | 1 | 1.35514 | 29 | 9 | 2140 | |
| District of Columbia | 2015 | 1 | 12.6485 | 181 | 2 | 1431 |
Higher Education schools moving to online-only instruction due to COVID-19.
Last updated March 16, 2020 at 10:00am PDT
Shareable link: bit.ly/covid19schools
| #!/bin/bash | |
| # rm -rf install-inotify-tools && wget -O php_environment https://gist.githubusercontent.com/saxenap/5e8c1cd6f3f38881e2ae16e29d6efdb9/raw/ && chmod 777 install-inotify-tools && ./install-inotify-tools | |
| sudo amazon-linux-extras install -y epel | |
| sudo yum install -y inotify-tools | |
| #sudo yum -y install libtool | |
| #git clone https://github.com/inotify-tools/inotify-tools.git | |
| #cd inotify-tools |