Skip to content

Instantly share code, notes, and snippets.

View Dayof's full-sized avatar
🏠
Working from home

Dayanne Fernandes Dayof

🏠
Working from home
  • Landing AI
  • Goiânia, GO, Brasil
  • X @daayoff
View GitHub Profile
import toga
from colosseum import CSS
class StartApp(toga.App):
def startup(self):
self.main_window = toga.MainWindow(self.name)
self.main_window.app = self
self.outer_box = toga.Box()
Em nome da Cisco Networking Academy eu gostaria de convidar e oferecer gratuítamente a Academia Cisco Netwoking Academy ao time Py Ladies DF.
Aproveito este email para convidá-la a assistir os videos e texto abaixo.
Case de sucesso: Edna Felix - A Networking Academy Success Story: https://www.youtube.com/watch?v=FGG4vfaYw0Q&t=88s
@Dayof
Dayof / dg_update.md
Created June 6, 2018 16:22
Django Girls Tutorial - Atualização

Django Girls Tutorial - Atualização

  • Atualizar setting.py no deploy do Python Anywhere :
Problema do host foi quando no setting.py, no tutorial, nao pede para trocar <you_username>@pythonanywhere.com, 
no commit vai esse arquivo sem o @pythonanywhere correto, depois clonavam do Git pro pythonanywhere assim.

Programação concorrente - Trabalho 1

  • Problema de software de controle de robótica cirúrgica

Entidades :

  • 3 motores (3 graus de liberdade)
  • 1 software de controle
  • 1 joystick com 6 direções de movimento
  • buffer com espaço M
  • setup services
 $ curl -u couchbase:couchbase -v X POST http://localhost:8091/node/controller/setupServices -d 'services=kv%2Cindex%2Cn1ql'
  • init cluster
$ curl -u couchbase:couchbase -v -X POST http://localhost:8091/nodes/self/controller/settings -d \
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_euu5pnsa7fck21pfytg8cfa2j.run(/Users/dayannefernandes/GitHub/voc-dev/tictactoe-voc/android/build.gradle:11)
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Failed to notify project evaluation listener.
> SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.
> Could not get unknown property 'packageDebug' for root project 'android' of type org.gradle.api.Project.
import toga
from collections import namedtuple
# Structure of the main data source of the tree
GRADES = namedtuple('Grades', 'cl grade')
class TreeStructure:
def __init__(self):
# Data source of the tree
self.data = (

CLARA 2017

Features

  • Feedback do terceiro grau de liberdade na GUI da câmera
  • Criação da funcionalidade para permitir cadastro de perfis de usuário
    • Banco de dados
      • Modelagem (mapear atributos de cada entidade e seus relacionamentos)
        • Médico
  • Paciente
import toga
class StartApp(toga.App):
def startup(self):
# Main window
self.main_window = toga.MainWindow(self.name)
self.main_window.app = self
# Tree data source
tree_data = {
import toga
class StartApp(toga.App):
def startup(self):
# Main window
self.main_window = toga.MainWindow(self.name)
self.main_window.app = self
# Tree widget from Toga
self.tree = toga.Tree(['Navigate'])