if you are using linux, unix, os x:
pip install -U setuptools
pip install -U pip
pip install numpy
pip install scipy
pip install matplotlib
#pip install PySide
Development Phase: | |
Step 1: Create Certificate .pem from Certificate .p12 | |
Command: openssl pkcs12 -clcerts -nokeys -nodes -out apns-dev-cert.pem -in apns-dev-cert.p12 | |
Step 2: Create Key .pem from Key .p12 | |
Command : openssl pkcs12 -nocerts -nodes -out apns-dev-key.pem -in apns-dev-key.p12 | |
Step 3: Optional (If you want to remove pass phrase asked in second step) | |
Command : openssl rsa -in apns-dev-key.pem -out apns-dev-key-noenc.pem |
if you are using linux, unix, os x:
pip install -U setuptools
pip install -U pip
pip install numpy
pip install scipy
pip install matplotlib
#pip install PySide
cd ~ | |
sudo rm -Rf /usr/local/share/elasticsearch | |
sudo /usr/local/share/elasticsearch/bin/service/elasticsearch remove | |
sudo rm /usr/local/bin/rcelasticsearch | |
wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.3.tar.gz -O elasticsearch.tar.gz | |
tar -xf elasticsearch.tar.gz | |
rm elasticsearch.tar.gz | |
sudo mv elasticsearch-* elasticsearch | |
sudo mv elasticsearch /usr/local/share |
DELIMETER | | |
CREATE EVENT history_generator | |
ON SCHEDULE EVERY 1 DAY | |
DO | |
BEGIN | |
DECLARE scount INT DEFAULT 0; | |
DECLARE tschedule INT DEFAULT 0; | |
DECLARE schedule_1_id INT DEFAULT 0; | |
DECLARE schedule_2_id INT DEFAULT 0; | |
DECLARE counter INT DEFAULT 0; |