Posts by TMoraes • 133 points
10 posts
-
0
votes0
answers35
viewsQ: How to not overwrite components using Tailwindcss?
I created a component Header and when I log it into a component called Home, Header overwrites the h3 and even though I tried to put a display block on each component, it didn’t work…
-
0
votes1
answer81
viewsQ: Vuejs: Is it possible to render multi-Components after firing actions within each of them?
Well, I created a Root Component called Index.Ve and in it I registered 3 Components <template> <v-app> <Login /> <Agree /> <Validation /> </v-app>…
-
0
votes1
answer29
viewsQ: Escaping SQL "ILIKE" using bilbioteca psycopg2
I followed that topical here in the stack to try to create a select in which I look for a person using the ILIKE function, but I have the return of "None", even making changes in the column and…
-
1
votes0
answers81
viewsQ: Implementing Web Push Notification using Flask
I’m trying to create a way to implement a web push notification in my project. Using some tutorials I managed to generate an alert with the message I want. #!/usr/bin/env python from flask import…
-
0
votes1
answer136
views -
0
votes2
answers182
viewsA: Finding strings in a log and other patterns
I found this solution: import os import re import sys f = open('log.log','r') log = [] for line in f: if re.search(r': connected|: disconnected',line): ob = dict() ob['USER'] =…
-
-2
votes2
answers182
viewsQ: Finding strings in a log and other patterns
I’m trying to identify two strings in a log file: "Connected" and "Disconnected". But I’m not sure how to make it work. On my server I have stored several log files import os import time import re…
-
0
votes3
answers1817
viewsA: Should I declare Get’s and Set’s at UML?
I always kept the SET/GET implicitly in the Class Diagram, for example. But I think it depends, the way the teacher wants it done, or even the development team. I have always had a fight with UML,…
-
0
votes1
answer150
viewsQ: Cakephp: Upload Error
I am unable to move my images let alone detect the error in the code, and no error messages are displayed on the screen My Model Photo: public $validate = array( 'uploadImg' => array(…
-
1
votes1
answer735
viewsQ: Cakephp - Loading a background-image css
I’m not being able to upload my image to the Css Background style.css - working, just not able to call this image .layout{ width: 100%; height: 230px; position: relative; margin: auto;…