CSS – Bootstrap 4 – card overflow on a small screen

In my application, I often use the Bootcard .card class.

Very often, when I switch to mobile view, I notice a large overflow that causes a display error, and my entire page is found displaced.

That means I have to change the code in my .card class every time to make sure everything fits into the mobile view. It is very strange

On the big screen:

Enter the image description here

On a small screen:

Enter the image description here

This is the code:

TETETE Annulation prévue 03/05/2020


Pas de prochaine facture 03/04/2020

Thanks for your help !

Python rounding – stack overflow

I'm at the end of my program and just can't imagine logic that I can easily do in Excel, but I can't in Python.

Insert picture description here

How would I see the same logic in Python since A1 is a variable?

mysql – ActiveRecord :: StatementInvalid: Mysql2 :: Error :: TimeoutError – batch overflow

Periodically, when there are a lot of people (~ 60) on the website, I get such errors:

ActiveRecord::ConnectionTimeoutError: could not obtain a connection from the pool within 5.000 seconds (waited 5.000 seconds); all pooled connections were in use
ActiveRecord::StatementInvalid: Mysql2::Error::TimeoutError: Lock wait timeout exceeded; try restarting transaction: UPDATE rooms SET room_profiles_count = COALESCE(`room_profiles_count`, 0) + 1 WHERE rooms.id = 1363
ActiveRecord::StatementInvalid: Mysql2::Error::TimeoutError: Lock wait timeout exceeded; try restarting transaction: DELETE FROM room_profiles WHERE room_profiles.id = 3942

I tried to increase the pool to 100 but still get an error message
My stack: Rails 5, Puma, MySQL

here my configuration puma & database.yml

Please tell me how can I solve this problem?

java – exercise during – stack overflow in Spanish

Create a program called "ExampleWhileTres.java" that shows five columns.
The first column contains numbers between 10 and 20. The second column
Column is the square of each of the numbers in the first column. The third
Column is the cube of each of the numbers in the first column. The fourth
Column is the fourth power of each of the numbers in the first column and the
The fifth column is the fifth power of each of the numbers in the first column.
how is it done?

Unsecured Android encryption – batch overflow in Spanish

I currently have my app uploading the warning to playStore

Enter the image description here

My class is as follows

public class CryptoHandler {

    private String SecretKey = "DKDJXNSKDJD";

    private static CryptoHandler instance = null;

    public static CryptoHandler getInstance() {

        if (instance == null) {
            instance = new CryptoHandler();
        return instance;

    public String encrypt(String message) throws NoSuchAlgorithmException,
            NoSuchPaddingException, IllegalBlockSizeException,
            BadPaddingException, InvalidKeyException,
            UnsupportedEncodingException, InvalidAlgorithmParameterException {

        byte() srcBuff = message.getBytes("UTF8");
        SecretKeySpec skeySpec = new
                SecretKeySpec(SecretKey.substring(0,16).getBytes(), "AES");
        Cipher ecipher = Cipher.getInstance("AES/ECB/PKCS7Padding");
        ecipher.init(Cipher.ENCRYPT_MODE, skeySpec);
        byte() dstBuff = ecipher.doFinal(srcBuff);
        return Base64.encodeToString(dstBuff, Base64.DEFAULT);

    public String decrypt(String encrypted) {

        SecretKeySpec skeySpec = new
                SecretKeySpec(SecretKey.substring(0,16).getBytes(), "AES");

        Cipher ecipher = null;
        try {
            ecipher = Cipher.getInstance("AES/ECB/PKCS7Padding");
        } catch (NoSuchAlgorithmException e) {
        } catch (NoSuchPaddingException e) {
        try {
            ecipher.init(Cipher.DECRYPT_MODE, skeySpec);
        } catch (InvalidKeyException e) {
        byte() raw = Base64.decode(encrypted, Base64.DEFAULT);
        byte() originalBytes = new byte(0);
        try {
            originalBytes = ecipher.doFinal(raw);
        } catch (IllegalBlockSizeException e) {
        } catch (BadPaddingException e) {
        String original = null;
        try {
            original = new String(originalBytes, "UTF8");
        } catch (UnsupportedEncodingException e) {
        return original;

Did someone tell me the mistake?

Python – custom menu – batch overflow

I create a simple script with one def that I printed a personalized menu. The first parameter is the header, followed by the number of items that can be accessed via the menu, and finally a third parameter, which is unpacked in the function and represents the menu calls.
It's just a workout, nothing useful, but I think that what is supplied is not the most elegant solution, although it simplifies a lot. There can be confusion with the number of elements and all elements entered for the last parameter.
Does anyone have better ideas? Maybe with a higher complexity or more elegant, functional etc. Or do you think that would be the case with the proposed solution?
Here is the script:

def personalizado(txt, itens, *chamadas):
    print('-=-' * 15)
    print('-=-' * 15)
    for c in range(0, itens):
        print(f'{c +1} - {chamadas(c)}')

# teste protegido
if __name__ == '__main__':
    personalizado('MENU QUALQUER', 6, 'Acessar', 'Visualizar', 'Cadastrar',
                  'Deletar', 'Reiniciar', 'Exit',)

The result:

                MENU QUALQUER                

1 - Acessar
2 - Visualizar
3 - Cadastrar
4 - Deletar
5 - Reiniciar
6 - Exit

Denial of service – difference between integer overflow, buffer, stack, heap and cache overflow and the nuance of criticality with regard to the system

Stack Exchange network

The Stack Exchange network consists of 175 Q&A communities, including Stack Overflow, the largest and most trusted online community, where developers can learn, share their knowledge, and build their careers.

Visit Stack Exchange

Exploit development – understanding an integer overflow on Windows 10

I ran this test case, which looks for the lens of the content and is based on what I have researched on the Internet -128 to 127 the length range, but the code was compiled under Visual Studio 2019 with the following: /GS , /dynamicbase However, the proof of concepts is listed below. As soon as I ran the POC of Concept to overwrite it EIP / seh chains. I have __report_gsfailure Here it detects the overflow. I try to overwrite the see chains to get the code execution. I also tried to overwrite chains eb 0 pointing to a not sure one, but it doesn't work either

exp poc

junk = "A" * 1000

nseh = struct.pack('

Batch tracking

0:000> g
WARNING: Continuing a non-continuable exception
(1534.1d3c): Security check failure or stack buffer overrun - code c0000409 (!!! second chance !!!)
eax=00000001 ebx=006d9000 ecx=00000002 edx=000001e3 esi=00d347b8 edi=00d38718
eip=00a71b04 esp=008ff7d0 ebp=008ffaf4 iopl=0         nv up ei pl nz na po nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000202
00a71b04 cd29            int     29h

0:000> k
 # ChildEBP RetAddr  
00 008ffaf4 00a71258 demo!__report_gsfailure+0x17 (d:agent_work4ssrcvctoolscrtvcstartupsrcgsgs_report.c @ 220) 
01 008ffc2c 41414141 demo!main+0x258 (C:UsersuserSourceReposdemodemoSource.cpp @ 38) 
WARNING: Frame IP not in any known module. Following frames may be wrong.
02 008ffce0 777a7b44 0x41414141
03 008ffcf0 00000000 ntdll!_RtlUserThreadStart+0x1b

0:000> !exchain
008ffc64: 41414141
Invalid exception stack at 41414141

Program output 1k "A"

size: -113
length: 399

Source code

#define MAX_DATA_SIZE 255

 char buffer(MAX_DATA_SIZE);


if(size < MAX_DATA_SIZE)
  memset(buffer, '', MAX_DATA_SIZE);
  printf("(+) overflow");
  printf("Error!! Max Size:300n");

How do I implement React-Native-Background-Fetch? – Stack overflow in Portuguese

I just want to test if React-Native-Backgroung-Fetch works properly. Then I can create localNotification depending on a retrieval result. Also, I couldn't find an example of this library, so I couldn't even compare what was wrong or true.