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
from math import sin, cos, pi | |
import pygame | |
bg_color = (0, 0, 0) | |
fg_color = (0, 255, 255) | |
w, h = 500, 500 | |
n, r = 6, min(w, h) / 8 | |
x, y = (w / 2, h / 2) | |
vertex = [ | |
(x + r * cos(2 * pi * i / n), y + r * sin(2 * pi * i / n)) for i in range(n) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
1 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash | |
2 node -v | |
3 nvm | |
4 nvm | |
5 source ~/.bashrc | |
6 nvm | |
7 nvm install 10 | |
8 node -v | |
9 npm i pm2 -g | |
10 sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4 |
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
https://github.com/xinli0928/COVID-Xray | |
detector de tasas, tomar fotos en una app android y ver si es tasa o no con pytorch xD |
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
Los temas a tocar son: | |
- Un caso de uso como hilo conductor. | |
- GCP como cloud provider y con quien interactuaremos tanto antes como durante el workshop. | |
- Spark como tecnología para nuestra data transformation. | |
- GCS como data lake y BigQuery como data warehouse. | |
- Cloud Datalab (Jupyter notebooks) y BigQueryML para toda la parte de machine learning. |
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
export const EN_PERIODO = "EN PERIODO"; | |
export const OVULANDO = "OVULANDO"; | |
export const INFERTIL = "INFERTIL"; | |
const getGetOrdinal = function(n) { | |
var s = ["th", "st", "nd", "rd"], | |
v = n % 100; | |
return n + (s[(v - 20) % 10] || s[v] || s[0]); | |
}; |
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
import React from 'react' | |
import generateCRUDRoutes from '../shared/generateCRUDRoutes'; | |
import Retrieve from './Retrieve' | |
import Create from './Create'; | |
import Update from './Update'; | |
// Generate CRUD and Translation. | |
// Just create control and validation function and enjoy! | |
export default ({ | |
path, |
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
import torch | |
class SLP(torch.nn.Module) | |
""" | |
SLP Significa Single Layer Perceptron | |
""" | |
def __init__(self, input_shape, output_shape, device=torch.device("cpu")): | |
""" | |
:param input_shape: Tamano o forma de los inputs de entrada | |
:param output_shape: Tamano o forma de los inputs de entrada |
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
caché LRU |
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
caché LRU |