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 |
| <a href='http://it-in.ru'>Разработано компанией it-in</a>, <a href='tel://+74995028023'>+7 (499) 502-80-23</a>, <a href='mailto:info@it-in.ru'>info@it-in.ru</a> |
| #!/bin/bash | |
| aptitude install libapache2-mod-rpaf rsync |
| Разработка и техническая поддержка: Bx-store</br> | |
| <a href='http://bx-store.ru'>http://bx-store.ru</a>; +7 (499) 502-80-23; <a href='mailto:info@bx-store.ru'>info@bx-store.ru</a> |
| [table][tr][td]Сайт с гордостью разработан в [/td][td][URL=http://bx-store.ru][IMG]http://it-in.ru/images/shared/logo-bx-store-179x40.png[/IMG][/URL][/td][/tr][tr][td]Адрес сайта:[/td][td][URL=http://xn--80akr1ac.com/]www.атлет.com[/URL][/td][/tr][tr][td]Сайт сдан:[/td][td]8 апреля 2013 г.[/td][/tr][tr][td]Ответственное лицо:[/td][td]Сергей Ковалев[/td][/tr][tr][td]E-mail:[/td][td][URL=mailto:info@bx-store.ru]info@bx-store.ru[/URL][/td][/tr][tr][td]Техническая поддержка:[/td][td][URL=http://it-in.ru/support/]http://it-in.ru/support/[/URL] | |
| [URL=http://it-in.ru/clients/]http://it-in.ru/clients/[/URL][/td][/tr][/table] |
| #!/bin/bash | |
| iptables -F | |
| iptables -X | |
| iptables -t nat -F | |
| iptables -t nat -X | |
| iptables -t mangle -F | |
| iptables -t mangle -X | |
| iptables -P INPUT ACCEPT | |
| iptables -P FORWARD ACCEPT | |
| iptables -P OUTPUT ACCEPT |
| #!/bin/bash | |
| echo 50000000 > /sys/devices/system/xenmgm/xenmgm0/memmin_bytes | |
| echo 10000000 > /sys/devices/system/xenmgm/xenmgm0/reserve_free_bytes | |
| echo 3 > /proc/sys/vm/drop_caches | |
| sync |