Skip to content

Instantly share code, notes, and snippets.

View carlcrott's full-sized avatar

Carl Crott carlcrott

  • <( '.' <) <( '.' )> (> '.' )>
  • San Francisco CA
View GitHub Profile
test.hs:1:1: Parse error: naked expression at top level
@carlcrott
carlcrott / pwnage.md
Last active June 13, 2020 02:48
Carl Crott -- Software + Research

Carl Crott
Oakland CA
[email protected]
415.304.3670

                        recruiters: please no unsolicited phone calls, email is preferred.

Bio:

Capable and driven multi-systems engineer with a core focus on UI to DB development and automated infrastructure. Both a technical developer and conversational in research concepts. Experience in scaling, application testing/hardening, linux sysadmin, web scraping, biochem / bioinformatics and design and prototyping of scientific hardware.

Here is an essay version of my class notes from Class 1 of CS183: Startup. Errors and omissions are my own. Credit for good stuff is Peter’s entirely.

CS183: Startup—Notes Essay—The Challenge of the Future

Purpose and Preamble

/*
* JoomSpirit CSS file for typo
*/
body {
color:#6e6e6e;
font: normal 0.8em/1.3 arial, sans-serif;
}
Valued client black glass,
I've recently worked with several of my customers to help drastically lower their EC2 costs by leveraging Reserved Instances. As I was looking at some of my other customers, your account came up as one that could potentially be saving a lot of money based on your current EC2 usage.
For your account, I analyzed your September EC2 usage. Based on that usage, I calculated the optimal number of Reserved Instances that would result in the most cost savings for you each month. If your usage remained the same but you purchased Reserved Instances, you could save approximately $27.90 per month. This would save you between 45% ($701.88) and 64% ($1,004.44) depending on if you went with 1 year or 3 year Reserved Instances.
I've attached a complete proposal that goes into details on this analysis showing you the exact number of Reserved Instances and the exact cost savings that you could immediately start to recognize by leveraging Reserved Instances.
As explained in the attached proposal,
The x3 repo is the third incarnation of the Integrated Plasmonics experiment interface.
#### Installation:
<pre>
# get x3
$ sudo apt-get -y install python-virtualenv
$ cd ~/django_projects/
$ git clone [email protected]:IntegratedPlasmonics/x3.git
# configure + install packages
(x3)lilith@lilith:~/django_projects/x3$ grep "frame_metadata" -r ./*
(x3)lilith@lilith:~/django_projects/x3$ find . -name models.py
python manage.py syncdb
Syncing...
Creating tables ...
Creating table account_emailaddress
Creating table account_emailconfirmation
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
(x3)lilith@lilith:~/django_projects/x3/base$ ls
assay cartridge chemistry chip experiment __init__.py __init__.pyc logfile logfile.1 logfile.2 measurement prototype settings.py settings.pyc static urls.py urls.pyc wsgi.py wsgi.pyc
(x3)lilith@lilith:~/django_projects/x3/base$ tree experiment/
experiment/
├── __init__.py
├── __init__.pyc
├── main.html
├── models.py
├── models.pyc
├── static
from django.conf.urls import patterns
import os
from django.conf.urls.defaults import *
import logging
logger = logging.getLogger(__name__)
logger.info("loading URLS")
urlpatterns = patterns('',
sudo su
export PATH=$PATH:/home/ubuntu/.rvm/bin/rvmsudo:/home/ubuntu/.rvm/bin/rvm
sudo echo "export rvmsudo=/home/ubuntu/.rvm/bin/rvmsudo" >> /root/.bashrc
sudo echo "export rvm=/home/ubuntu/.rvm/bin/rvm" >> /root/.bashrc
source /root/.bashrc
which rvm