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
server { | |
server_name mdtx.dev-ms.in; | |
sendfile on; | |
root /srv/mdtx/public_html; | |
index index.php; | |
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
1 | |
$ rvm gemset empty | |
Then install them the regular way: | |
? | |
1 | |
$ bundle install | |
You might get an error that looks like this: “There was an error in your Gemfile, and Bundler cannot continue.”. If that’s the case, run: |
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
printf "John:$(openssl passwd -crypt V3Ry)\n" >> .htpasswd # this example uses crypt encryption | |
location / { | |
auth_basic "Restricted"; | |
auth_basic_user_file htpasswd; | |
} | |
url: http://wiki.nginx.org/HttpAuthBasicModule |
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
==> Downloading https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.1.tar.gz | |
######################################################################## 100,0% | |
==> Caveats | |
Data: /usr/local/var/elasticsearch/elasticsearch_sfelde/ | |
Logs: /usr/local/var/log/elasticsearch/elasticsearch_sfelde.log | |
Plugins: /usr/local/var/lib/elasticsearch/plugins/ | |
To have launchd start elasticsearch at login: | |
ln -sfv /usr/local/opt/elasticsearch/*.plist ~/Library/LaunchAgents | |
Then to load elasticsearch now: |
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
cd ~ | |
sudo apt-get update | |
sudo apt-get install openjdk-7-jre-headless -y | |
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch and replace wget link below | |
# NEW WAY / EASY WAY | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.6.deb | |
sudo dpkg -i elasticsearch-0.20.6.deb |
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
sudo netstat -ap | grep '80' | |
tcp6 0 0 :::80 :::* LISTEN 18712/apache2 |
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
git remote add --track master source git://github.com/openstack/tempest.git | |
git fetch source | |
git merge source/master | |
git push |
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
tt_content.gridelements_pi1.20.10.setup { | |
3 < lib.gridelements.defaultGridSetup | |
3 { | |
prepend = COA | |
prepend { | |
10 = TEXT | |
10 { | |
data = field:flexform_headline | |
typolink.parameter.data = field:flexform_link | |
wrap = <h3>|</h3> |
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
<?xml version="1.0" encoding="utf-8" standalone="yes" ?> | |
<T3DataStructure> | |
<ROOT type="array"> | |
<type>array</type> | |
<el type="array"> | |
<headline type="array"> | |
<TCEforms type="array"> | |
<label>Überschrift</label> | |
<config type="array"> | |
<type>input</type> |
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
CREATE DATABASE dbname | |
DEFAULT CHARACTER SET utf8 | |
DEFAULT COLLATE utf8_general_ci; |