Forking a WordPress Theme – WordPress Development Stack Exchange

I have to create a website using WordPress. I am familiar with common web technologies but am a newbie with WordPress. I want to make a custom theme. I do not want to use a stock theme and I do not want to use the child theme option. My approach is to use a stock theme as a base and to change the code to my liking step by step (effectively creating a fork). To test this approach as a first step I only changed the theme’s name strings in all files (using a python script). Upload and installation worked without errors but activation failed causing a fatal error (without pointing to the actual nature or cause of the error) and having to log into recovery mode. All I could do here was to activate another theme.

Has anyone an idea, what might have gone wrong?

Gmail deletes my receipts – Web Applications Stack Exchange

Every month I get a bill from my credit card company for stuff I bought online. I search my Gmail to check that the receipts corresponds to the credit card bill. Lately I have discover that receipts from certain companies have been classified as spam. I recover some of the receipts but some of them have already been deleted due to Gmail’s automatic spam deletion feature. For example, I think this has already happened to me twice with my Steam receipts. I marked Steam receipts as “not spam” to no avail. Can I somehow force Gmail to preserve my messages for two months before deleting them?

Independent coin flip probability – Mathematics Stack Exchange

We flip 10 coins that are all fair. After flipping all 10 the first time, if the coin landed on tails we leave it alone. We then flip the remaining coins and try to get them all to be tails.

A) What is the probability that after the first round of flips, there are only 5 coins on tails, conditioned on the event that after the second round all coins show tails?

B) What is the probability that after the second round of flips, all coins show tails?

For A, I’m thinking of using Bayes formula but I’m struggling on how to apply it.

For B, I know that the probability that after the first round, the probability that we have one tails is $ (frac{1}{2})^9 $ so we would need 9 tails in the second round and that would be $ (frac{1}{2})^9 $ so this scenario would have probability $ frac{1}{2}^{18} $. Do I just need to do this for each scenario and add all the probabilities? Doing so gives me a probability of

Hamming Code help – Computer Science Stack Exchange

I’m stuck on the following question that I am trying to use for revision purposes. The question states that the data transmitted is 1001101, however, during transmission the second bit has an error and is received as 1 instead of 0, thus the data is 1101101. I need to use the hamming code to detect this error, however, when doing so, my p1, p2 and p4 values are all equal to 1, giving me 111 and indicating an error with bit 7.

Can anyone please help point me in the right direction? I am new to this so apologies if the error is staring me right in the face.

Thanks in advance for any help.

chart.js – Duplicade yAxisID – Stack Overflow

When I add yAxisID to the dataset options it adds an extra column to the right that I can’t remove. I leave an example of the result

var ctx = document.getElementById("myChart");
var myChart = new Chart(ctx, {
    type: 'line',
    data: {
        
        datasets: ({
            type: 'line',
            label: "Ventas",
            data: ({x:new Date(), y:100},{x:new Date(), y:300}),
            yAxisID: 'y-axis-1'
        })
    },
    options: {
      scales: {
        x: {
          
        },
        y: {
          suggestedMin:0,
          suggestedMax:300,
          ticks: {
                            stepSize: 10,
                            callback: function(value, index, values) {
                                return value+'€';
                            }
                        }
        }
      }
    }
});

prueba tecnica con spring-boot – Stack Overflow en español

disculpen por molestarlos con este tipo de preguntas pero como soy nuevo dentro de la programacion y ademas con spring-boot voy a pasar una prueba tecnica con este framework
me dieron este ejercicio que debo hacerlo lo mas pronto posible.

Solo para confirmar con la comunidad.
yo debo hace el back y hacer los mismos endpoint que esta en la documentacion.
y hacer las pruebas en postman para ver si mis urls funcionan correctamente

swagger: '2.0' 
info: 
  version: v2 
  title: User and Password 
basePath: "/" 

tags: 
  - name: Compliance
    description: tools to verify the compliance rules
  - name: CRUD
    description: Create Update Verify for user object

paths: 
  "/api/compliance/password/{password}": 
    get: 
      tags: 
      - Compliance
      summary: Return true if password is compliant or false and reasons if not, 
          Complexity =
          at least 8 characters
          at least one digit
          at least one special character (!,#,$,%,&,@)
          at least one uppercase letter 
      consumes:
      - application/json 
      produces: 
      - application/json 
      parameters: 
      - name: password 
        in: path 
        description: password for analysis
        required: true 
        type: string 
      responses: 
        '200': 
          description: compliance result
          schema: 
            "$ref": "#/definitions/Compliance" 

otra parte del codigo

 "/api/user/": 
    post: 
      tags: 
      - CRUD
      summary: Create a new user
      consumes: 
      - application/json
      produces: 
      - application/json
      parameters:
      - name: User
        in: body
        description: login to retrieve
        required: true 
        schema: 
              $ref: '#/definitions/User'
      responses: 
        '201': 
          description: user created
        '409':
          description: user already exists
        '400': 
          description: password is not Compliant 
          schema: 
            "$ref": "#/definitions/Compliance" 
            
  "/api/user/{login}": 
    get: 
      tags: 
      - CRUD
      summary: ...
      produces: 
      - application/json 
      parameters: 
      - name: login
        in: path 
        description: login to retrieve
        required: true 
        type: string 
      responses: 
        '200': 
          description: user found
          schema: 
            "$ref": "#/definitions/User" 
        '404': 
          description: user not found 
``

“/api/user/{login}/verify”:
post:
tags:
– CRUD
summary: …
consumes:
– application/json
produces:
– application/json
parameters:
– name: login
in: path
description: login to retrieve
required: true
type: string
– name: password
in: body
description: password
required: true
schema:
$ref: ‘#/definitions/Password’
responses:
‘200’:
description: password is ok
‘403’:
description: invalid password

definitions:
Compliance:
type: object
properties:
isValid:
type: boolean
reason:
type: string

User:
type: object
properties:
name:
type: string
phone:
type: string
password:
type: string

Password:
type: string


**Gracias** por su ayuda 

Combinations with mutual exclusivity – Mathematics Stack Exchange

I have a set S of n elements, from which I will choose combinations of m elements.

Normally, this is fairly basic. However, certain elements within S are mutually exclusive. This can be in pairs, or larger subsets, of which only 1 can at most exist in the final combination.

Given n and m, and the sizes of all mutually exclusive subsets in S; how can I best determine the number of possible combinations?

If no clean way exists, what is the best way to find a decent lower- and upper bound?

Email and Mobile Verification – User Experience Stack Exchange

Email and Mobile Verification – User Experience Stack Exchange

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123