- Create a new directory with these three files (requirements.txt, main.py, README.md)
python -m venv venvsource venv/bin/activatepip install -r requirements.txtpython main.py- Update
main()to run the example prompt chains
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
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |
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
| #!/bin/bash | |
| # Allows to attach and remove EBS volumes managed under LVM to | |
| # have a dynamically sized partition attached to an EC2 instance | |
| # | |
| # Intance needs either to be launched with a role able to access to relevant AWS API endpoints | |
| # or the credentials can be hardcoded in the config. | |
| # | |
| # Minimal IAM Role: | |
| # { |
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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
| VAGRANTFILE_API_VERSION = "2" | |
| $script = <<SCRIPT | |
| echo "-------------------- updating package lists" | |
| apt-get update | |
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
| -- phpMyAdmin SQL Dump | |
| -- version 2.11.6 | |
| -- http://www.phpmyadmin.net | |
| -- | |
| -- Host: localhost:3306 | |
| -- Generation Time: Jan 11, 2013 at 04:24 PM | |
| -- Server version: 5.0.51 | |
| -- PHP Version: 5.2.5 | |
| SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |