This file contains hidden or 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
573808652 |
This file contains hidden or 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 random | |
propositos = [ | |
"Terminar los cursos a los que me inscribo", | |
"Dejar de hacer deploy en viernes", | |
"Poner mejores comentarios en mis commits", | |
"Tenerle más paciencia al Scrum Master", | |
"No olvidar el 'Where' en el 'Delete'", | |
"Lograr que mi crush sepa que es mi crush", | |
"No involucrarme en discusiones inútiles en Twitter", |
This file contains hidden or 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
let carne = "surtida de puerco" | |
if (cuidandoLinea) | |
carne = "pollo" | |
fetch("olla con agua") | |
.then( () => agregar(["maiz pozolero", "ajo", "sal"]) ) | |
.then( () => hervir({ minutos: 60 })) | |
.then( () => agregar([carne, "salsa preparada"])) | |
.then( () => hervir({ minutos: 90 })) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 django.http import HttpResponseRedirect, HttpResponse | |
from django.shortcuts import render | |
from django.urls import reverse | |
from django.contrib.auth.decorators import login_required | |
from django.contrib import messages | |
from django.contrib.auth import get_user | |
from django.db.models import Max, Avg, Count | |
from .models import ReviewInstance, Criteria,Contact | |
from .choices import CATEGORIES |
This file contains hidden or 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
<Toggle initial={false}> | |
{({ on, toggle }) => <Checkbox onClick={toggle} checked={on} />} | |
</Toggle> |
This file contains hidden or 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
class Toggle extends Component { | |
state = { | |
on: false | |
} | |
toggle = () => { | |
this.setState(() => { | |
on: !this.state.on | |
}) | |
} | |
render() { |
This file contains hidden or 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
class Dropdown extends Component { | |
state = { | |
isOpened: false, | |
} | |
handleClickOutside = () => { | |
this.toggle(); | |
} | |
toggle= () => { | |
this.setState({ isOpened: !this.state.isOpened }); |
This file contains hidden or 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
function SplitPane(props) { | |
return ( | |
<div className="SplitPane"> | |
<div className="SplitPane-left"> | |
{props.left} | |
</div> | |
<div className="SplitPane-right"> | |
{props.right} | |
</div> | |
</div> |
NewerOlder