This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import boto3 | |
| # http://boto3.readthedocs.io/en/latest/reference/services/ec2.html#service-resource | |
| ec2 = boto3.resource('ec2', aws_access_key_id='AWS_ACCESS_KEY_ID', | |
| aws_secret_access_key='AWS_SECRET_ACCESS_KEY', | |
| region_name='us-west-2') | |
| # create VPC | |
| vpc = ec2.create_vpc(CidrBlock='192.168.0.0/16') | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /** @jsx React.DOM */ | |
| var LopMonHoc = React.createClass({ | |
| getInitialState: function(){ | |
| return {data: []} | |
| }, | |
| loadData: function(){ | |
| $.ajax({ | |
| url: '/daotao/lops', | |
| success: function(data){ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # ------------------------------------------------------------------# | |
| # FILE: mbriggs.zsh-theme # | |
| # BY: Matt Briggs (matt@mattbriggs.net) # | |
| # BASED ON: smt by Stephen Tudor (stephen@tudorstudio.com) # | |
| # ------------------------------------------------------------------# | |
| SCM_THEME_PROMPT_DIRTY="${red}⚡${reset_color}" | |
| SCM_THEME_PROMPT_AHEAD="${red}!${reset_color}" | |
| SCM_THEME_PROMPT_CLEAN="${green}✓${reset_color}" | |
| SCM_THEME_PROMPT_PREFIX=" " |