create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| server { | |
| index index.php; | |
| set $basepath "/var/www"; | |
| set $domain $host; | |
| # check one name domain for simple application | |
| if ($domain ~ "^(.[^.]*)\.dev$") { | |
| set $domain $1; | |
| set $rootpath "${domain}"; |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| # -*- encoding:utf8 -*- | |
| import pdfquery | |
| pdf = pdfquery.PDFQuery("mipdf.pdf") | |
| pdf.load() | |
| gobierno = pdf.pq('LTTextLineHorizontal:contains("Gobierno Aut")')[0] | |
| # print gobierno.length |
| import org.json.JSONArray; | |
| import org.json.JSONException; | |
| import org.json.JSONObject; | |
| public class WeatherDataParser { | |
| /** | |
| * Given a string of the form returned by the api call: | |
| * http://api.openweathermap.org/data/2.5/forecast/daily?q=94043&mode=json&units=metric&cnt=7 | |
| * retrieve the maximum temperature for the day indicated by dayIndex |
| # -*- encoding: utf8 -*- | |
| #### Django deployment for Debian Based SERVERS ###### | |
| from __future__ import unicode_literals | |
| import re | |
| import os | |
| import getpass | |
| from fabric.api import * |
| from fabric.api import * | |
| from fabric.operations import sudo | |
| env.hosts = [ | |
| '[email protected]', | |
| ] | |
| def host_type(): | |
| run('uname -a') |
| from fabric.api import * | |
| from fabric.contrib.files import exists, upload_template | |
| from fabric.operations import sudo | |
| APP = { | |
| "url": "owl.jvacx.com", | |
| "name": "owl", | |
| "user": "vagrant", | |
| "path": "/var/www/owl", | |
| "deps": [ # System's Packages dependencies |
| #!/bin/sh | |
| GIT_WORK_TREE=%(project_path)s git checkout -f |
| server { | |
| listen 80 default_server; | |
| root %(project_path)s; | |
| index index.php index.html index.htm; | |
| server_name %(project_url)s www.%(project_url)s; | |
| location / { | |
| try_files $uri $uri/ =404; |
| from fabric.api import * | |
| from fabric.operations import sudo | |
| env.hosts = [ | |
| '[email protected]', | |
| ] | |
| def host_type(): | |
| run('uname -a') |