ssh -i SERVER_KEY.pem USER@SERVER_IP
This file contains 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
""" | |
Generate PDF reports from data included in several Pandas DataFrames | |
From pbpython.com | |
""" | |
from __future__ import print_function | |
import pandas as pd | |
import numpy as np | |
import argparse | |
from jinja2 import Environment, FileSystemLoader | |
from weasyprint import HTML |
This file contains 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
<template> | |
<!-- REPLACE WITH YOUR INPUT FILE TAG/COMPONENT --> | |
<div> | |
<b-field class="m-4"> | |
<b-upload @input="handleUpload" v-model="dropFiles" multiple drag-drop expanded> | |
<section class="section"> | |
<div class="content has-text-centered"> | |
<p> | |
<b-icon icon="upload" size="is-large"></b-icon> | |
</p> |
This file contains 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
<template> | |
<div id="app"> | |
<GmapMap | |
:center="center" | |
:zoom="18" | |
map-style-id="roadmap" | |
:options="mapOptions" | |
style="width: 100vmin; height: 50vmin" | |
ref="mapRef" | |
@click="handleMapClick" |
This file contains 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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Python: Django", | |
"type": "python", | |
"request": "launch", |
This file contains 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
theBoard = {'7': ' ', '8': ' ', '9': ' ', | |
'4': ' ', '5': ' ', '6': ' ', | |
'1': ' ', '2': ' ', '3': ' '} | |
board_keys = [] | |
for key in theBoard: | |
board_keys.append(key) | |
''' We will have to print the updated board after every move in the game and |
This file contains 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
def cod3breaker(nums): | |
code = str(nums[1] - nums[0]) + str(nums[2] - nums[1]) + str(nums[3] - nums[2]) + str(nums[4] - nums[3]) + str(nums[5] - nums[4]) | |
print(code) | |
cod3breaker([60, 78, 80, 161, 163, 167]) |
https://www.genbeta.com/desarrollo/diferencias-entre-paradigmas-de-programacion
- Programa = transcripción de un algoritmo.
- Instrucciones = órdenes a la máquina.
- Modelo computacional = máquina de inferencias lógicas.
- Variables del programa = referencias a memoria.
NewerOlder