INSERT GRAPHIC HERE (include hyperlink in image)
Subtitle or Short Description Goes Here
Development Phase: | |
Step 1: Create Certificate .pem from Certificate .p12 | |
Command: openssl pkcs12 -clcerts -nokeys -out apns-dev-cert.pem -in apns-dev-cert.p12 | |
Step 2: Create Key .pem from Key .p12 | |
Command : openssl pkcs12 -nocerts -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 |
import subprocess, StringIO, csv | |
from simplejson import dumps | |
from firebase import Firebase | |
from time import sleep, time | |
# to install Firebase, pip install -e git://github.com/mikexstudios/python-firebase.git#egg=python-firebase | |
firebase = Firebase('https://<your_app>.firebaseio.com/stations') | |
def fetch_data(): |
alias nginx.start='sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.nginx.plist' | |
alias nginx.stop='sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.nginx.plist' | |
alias nginx.restart='nginx.stop && nginx.start' | |
alias php-fpm.start="launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php56.plist" | |
alias php-fpm.stop="launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.php56.plist" | |
alias php-fpm.restart='php-fpm.stop && php-fpm.start' | |
alias mysql.start="launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist" | |
alias mysql.stop="launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist" | |
alias mysql.restart='mysql.stop && mysql.start' | |
alias nginx.logs.error='tail -250f /usr/local/etc/nginx/logs/error.log' |
### SERVER SERVICES ALIAS | |
# Nginx | |
alias nginx.start='sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.nginx.plist' | |
alias nginx.stop='sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.nginx.plist' | |
alias nginx.restart='nginx.stop && nginx.start' | |
# PHP-FPM | |
alias php-fpm.start="launchctl load -w ~/Library/LaunchAgents/homebrew-php.josegonzalez.php55.plist" | |
alias php-fpm.stop="launchctl unload -w ~/Library/LaunchAgents/homebrew-php.josegonzalez.php55.plist" | |
alias php-fpm.restart='php-fpm.stop && php-fpm.start' |
C6111111116009998880Pepe 01012016205203000142 | |
S7001112226111111111Movistar 02012016180130 | |
C9112223336111111111Mama 03012016190000000142 | |
C9114445556111111111Rodrigo 04012016200000000230 | |
C6111111116336667770Jose 05012016200000000501 | |
S611111111 14200 05012016220000 | |
U4815162342 | |
C6111111116336667770Javi 06012016200000000110 | |
U4815162342 | |
C6111111116336667770Jose 06012016200500000501 |
<?php | |
/** | |
* Created by PhpStorm. | |
* User: markokunic | |
* Date: 4/21/17 | |
* Time: 3:41 PM | |
*/ | |
namespace AppBundle\Exporter; |
curl -XPOST -H "Content-Type: application/json" 'http://localhost:9200/book/_doc/1/_update?pretty' -d '{"doc": { "title": "Deportes Extremos en Verano" }}' | |
#Obtendremos la siguiente respuesta: | |
{ | |
"_index": "book", | |
"_type": "_doc", | |
"_id": "1", | |
"_version": 2, | |
"found": true, | |
"_source": { |
{ | |
"name": "vytx6Jd", | |
"cluster_name": "elasticsearch_fjugaldev", | |
"cluster_uuid": "8XzlylxzTz6SVn0mhYSxRw", | |
"version": { | |
"number": "6.2.1", | |
"build_hash": "7299dc3", | |
"build_date": "2018-02-07T19:34:26.990113Z", | |
"build_snapshot": false, | |
"lucene_version": "7.2.1", |
{ | |
"_index": "book", | |
"_type": "_doc", | |
"_id": "1", | |
"_version": 1, | |
"result": "created", | |
"_shards": { | |
"total": 2, | |
"successful": 1, | |
"failed": 0 |