I hereby claim:
- I am naitsric on github.
- I am naitsric (https://keybase.io/naitsric) on keybase.
- I have a public key whose fingerprint is 0CEF 42B8 CA4F E63C 5AE9 D5C3 FA47 D3D0 192D 97F4
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
pg_dump -d xxx --compress=6 -n public | gdrive upload - -p xxxxx $NEW_DUMP | |
pg_dump --compress=6 -d xxx -n public -h xx.amazonaws.com -U xxxx | |
pg_dump -d xxx -n public -h xxx.amazonaws.com -U xxx --verbose > masterlive.sql | |
gunzip -c ~/Downloads/asdasdasdasdasda.sql.gz | psql -h xxxxxxxs.amazonaws.com -p 5432 -U xxx xxxx |
FROM python:3.5 | |
MAINTAINER CristianDuque <anticris9303@gmail.com> | |
ENV PYTHONUNBUFFERED 1 | |
RUN apt-get update | |
RUN apt-get install -y libgeos-dev && apt-get install -y supervisor && apt-get install -y nginx && apt-get install -y redis-server | |
RUN echo "daemon off;" >> /etc/nginx/nginx.conf |
import math | |
def encrypt(text): | |
total_sum = 0 | |
total_cnt = 0 | |
for c in text: | |
total_cnt += 1 | |
total_sum += ord(c) ** total_cnt | |
print(total_sum) |
# coding=utf-8 | |
import requests | |
from bs4 import BeautifulSoup, NavigableString | |
def find_view_state(html): | |
params = html.split("|") | |
for param in params: | |
if '/wEP' in param: | |
return param |
#!/usr/bin/python | |
import os, sys | |
import re | |
from stat import * | |
import xlrd, xlwt | |
from datetime import datetime | |
def walktree(top, callback): | |
'''recursively descend the directory tree rooted at top, | |
calling the callback function for each regular file''' |
import xlrd, xlwt | |
import time | |
import datetime, time | |
from time import gmtime, strftime | |
import os, sys | |
from xlutils.copy import copy | |
import socket | |
target = "lol.xlsx" | |
result = "lol.xls" |
#import xlrd, xlwt | |
import datetime, time | |
from time import gmtime, strftime | |
import os, sys | |
from shutil import copyfile | |
#from xlutils.copy import copy | |
target = "" | |
result = "" |
function testSchemas() { | |
var threads = GmailApp.search('from:"xxxxxx@xxx.com"'); | |
//var threads = GmailApp.getInboxThreads(0, 2); | |
var label = GmailApp.getUserLabelByName("Verificado"); | |
var ssNew = SpreadsheetApp.create("Listado de Tareas", 100, 17); | |
skin(ssNew); | |
for (var i = 0; i < threads.length; i++) { | |
var threads = threads[i]; |
var angularMain = angular.module('angularMain', []); | |
function barrioController($scope, $http) { | |
$scope.formData = {}; | |
// Cuando se cargue la página, pide del API todos los TODOs | |
$http.get('api/barrios') | |
.success(function(data) { | |
$scope.todos = data; | |
console.log(data) |