Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| import AWS from 'aws-sdk/global'; | |
| import S3 from 'aws-sdk/clients/s3'; | |
| import { | |
| AuthenticationDetails, | |
| CognitoUser, | |
| CognitoUserPool, | |
| } from 'amazon-cognito-identity-js'; | |
| const REGION = 'some-string-value'; | |
| const USER_POOL_ID = 'some-string-value'; |
| #!/bin/bash | |
| if [[ $EUID -ne 0 ]]; then | |
| echo -e "\e[1;31mThis script must be run as root or it will fail\e[0m" 1>&2 | |
| exit 1 | |
| fi | |
| echo -e "\e[1;32mBitrix Environment for Linux installation script\e[0m" 1>&2 | |
| echo "" | |
| echo -e "\e[1;32mYes will be assumed to answers, and will be defaulted. 'n' or 'no' will result in a No answer, anything else will be a yes.\e[0m" |
| #!/bin/sh | |
| #cd /usr/scr | |
| rpm --import etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 | |
| yum install -y autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel freetype-devel speex-devel | |
| mkdir ~/ffmpeg_sources | |
| cd ~/ffmpeg_sources | |
| curl -O http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz |