How to check the traffic of the transferred domains?

Hi everybody.

I bought "similar" domains for one of the sites I run.
My registrar is ******** – I configured redirection via their "dashboard" about a year ago.

I have never set up analysis / tracking / etc.

The transferred domains are now ready to be renewed. Is there a way to see what traffic they've gotten in the past year to decide if it's worth renewing them for transfer?

I hope this makes sense. Appreciate any help.

samsung – How to prevent photo messages from being transferred in a group conversation?

We have a pair of Samsung Galaxy J3 phones on Virgin Mobile. On a phone, pictures received via MMS normally display in the same conversation: as you can see, the chat picture is sent between two "test" messages. The photo of the otter was sent in response to the second test message from the other phone and it normally appears online.

enter the description of the image here

On the other phone, photos received via MMS appear in a "group" conversation involving both the contact who sent the photo as good as telephone number for the recipient phone. No test messages appear in this conversation, however, and the otter photo was not sent from this conversation.

enter the description of the image here

Why do these two phones handle MMS messages differently? How can this behavior be stopped?

ssh – Configure a transparent proxy with a port transferred under mac OS X

I want to set up a transparent proxy on mac, i've searched and ended up using squid (in my case for mac) for that. Now, I've transferred my traffic to a port using ssh like this:

ssh root@ip -L 0.0.0.0:5145:127.0.0.1:5145 -N -C

The port is again transferred to the SSHed server using ssh root@another-ip -D 5145

Now, what I want to do is set up a transparent proxy with squid, which proxy all traffic via this port 5145. I want to use proxy traffic on another device in the same subnet from that port. I'm using a manual http proxy in the WI-FI settings of my Android phone.
I tested the HTTP proxy port configuration at 5145 but it did not work. Then I tested another random port, but that did not work either. I am not quite sure that the squid uses the 5145 proxy itself.

Can any one explain how this is supposed to work?

How were my photos transferred to my new iPhone when they were not in iCloud?

I bought a new iPhone to replace my old one.

My iCloud was full for a long time because of the pictures. So I took care of that before doing a device backup on iCloud.

Before turning on the new one:

  1. I've disabled syncing photos to iCloud and deleted all iCloud photos.
  2. I made a device backup on iCloud.
  3. I confirmed that iCloud indicated that no data was being used by any photos and that the backup had completed the download.

Then I turned on the new phone. During the installation, I performed the synchronization process "suspend the phone one near the other", and part of this process has prompted me to download the backup I had just created (I did it). I have finished setting up the new phone, then I turned off the old phone. I turned it off completely (by holding the button down). I have not turned on the old phone since.

After that, I checked my photos – they were empty. No pictures.

Several hours later (at least four), before going to bed, I checked the photos again. Always empty, no photos.

The next morning, I checked my photos. Suddenly, they were all there. And I mean all from among them, not just recently deleted ones that were previously in iCloud. I know because my iCloud is full for at least 6 months and has not synced for a long time, but there were pictures from last week.

I certainly do not complain because I had planned anyway to transfer them, but I am surprised, confused and a little weird.

How were the photos from my old phone found on my new phone, even though they were not in iCloud and my old phone was completely turned off from the beginning?

java – Simple banking application in Spring Boot, JPA, REST where the balance can be transferred between predefined accounts and recoverable transaction history

I want to create a very simple banking application where (i) predefined accounts with a positive balance can send money (ii) by asking for a balance and a list of transactions can be found.

I have created an API for these operations. All operations are kept in the database. I have also written test cases to check.

I always try to learn from different sources and use the best practices in terms of project structure and own code. It would be great if someone gave me suggestions and ideas on the following application to improve my code. I would be very grateful.
Thank you.

Here is the structure of my project:


    ├── pom.xml
├── src
│   ├── main
│   │   ├── java
│   │   │   └── com
│   │   │       └── forhadmethun
│   │   │           └── banking
│   │   │               ├── BankingApplication.java
│   │   │               ├── config
│   │   │               │   └── documentation
│   │   │               │       └── DocumentationConfig.java
│   │   │               ├── controller
│   │   │               │   ├── api
│   │   │               │   │   └── AccountController.java
│   │   │               │   └── request
│   │   │               │       ├── AccountStatementRequest.java
│   │   │               │       └── TransferBalanceRequest.java
│   │   │               ├── dto
│   │   │               │   ├── model
│   │   │               │   │   └── AccountStatement.java
│   │   │               │   └── response
│   │   │               │       ├── ResponseError.java
│   │   │               │       └── Response.java
│   │   │               ├── entity
│   │   │               │   ├── Account.java
│   │   │               │   └── Transaction.java
│   │   │               ├── repository
│   │   │               │   ├── AccountRepository.java
│   │   │               │   └── TransactionRepository.java
│   │   │               └── service
│   │   │                   ├── AccountService.java
│   │   │                   └── impl
│   │   │                       └── AccountServiceImpl.java
│   │   └── resources
│   │       ├── application.properties
│   │       ├── static
│   │       └── templates
│   └── test
│       └── java
│           └── com
│               └── forhadmethun
│                   └── banking
│                       └── service
│                           └── impl
│                               └── AccountServiceImplTest.java


AccountController.java

@RestController
@RequestMapping("/api/account")
public class AccountController {
    @Autowired private AccountService accountService;
    @RequestMapping("/create")
    public List create(@RequestBody Account account) {
        accountService.save(account);
        return accountService.findAll();
    }

    @RequestMapping("/all")
    public List all() {
        return accountService.findAll();
    }

    @RequestMapping("/sendmoney")
    public Response sendMoney(
            @RequestBody TransferBalanceRequest transferBalanceRequest
            ) {

        return Response.ok().setPayload(
                accountService.sendMoney(
                        transferBalanceRequest
                )
        );
    }
    @RequestMapping("/statement")
    public Response getStatement(
            @RequestBody AccountStatementRequest accountStatementRequest

    ){
        return Response.ok().setPayload(
                accountService.getStatement(accountStatementRequest.getAccountNumber())
        );

    }

}

AccountStatementRequest.java

@Getter
@Setter
@NoArgsConstructor
public class AccountStatementRequest {
    private String accountNumber;

}

TransferBalanceRequest.java

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class TransferBalanceRequest {
    private String fromAccountNumber;

    private String toAccountNumber;

    private BigDecimal amount;

}

AccountStatement.java

@AllArgsConstructor
@NoArgsConstructor
@Data
public class AccountStatement {
    BigDecimal currentBalance;
    List transactionHistory;
}

Response.java

package com.forhadmethun.banking.dto.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;


@Getter
@Setter
@Accessors(chain = true)
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class Response {

    private Status status;
    private T payload;
    private Object errors;
    private Object metadata;

    public static  Response badRequest() {
        Response response = new Response<>();
        response.setStatus(Status.BAD_REQUEST);
        return response;
    }

    public static  Response ok() {
        Response response = new Response<>();
        response.setStatus(Status.OK);
        return response;
    }

    public static  Response unauthorized() {
        Response response = new Response<>();
        response.setStatus(Status.UNAUTHORIZED);
        return response;
    }

    public static  Response validationException() {
        Response response = new Response<>();
        response.setStatus(Status.VALIDATION_EXCEPTION);
        return response;
    }

    public static  Response wrongCredentials() {
        Response response = new Response<>();
        response.setStatus(Status.WRONG_CREDENTIALS);
        return response;
    }

    public static  Response accessDenied() {
        Response response = new Response<>();
        response.setStatus(Status.ACCESS_DENIED);
        return response;
    }

    public static  Response exception() {
        Response response = new Response<>();
        response.setStatus(Status.EXCEPTION);
        return response;
    }

    public static  Response notFound() {
        Response response = new Response<>();
        response.setStatus(Status.NOT_FOUND);
        return response;
    }

    public static  Response duplicateEntity() {
        Response response = new Response<>();
        response.setStatus(Status.DUPLICATE_ENTITY);
        return response;
    }

    public void addErrorMsgToResponse(String errorMsg, Exception ex) {
        ResponseError error = new ResponseError()
                .setDetails(errorMsg)
                .setMessage(ex.getMessage())
                .setTimestamp(new Date());
        setErrors(error);
    }

    public enum Status {
        OK, BAD_REQUEST, UNAUTHORIZED, VALIDATION_EXCEPTION, EXCEPTION, WRONG_CREDENTIALS, ACCESS_DENIED, NOT_FOUND, DUPLICATE_ENTITY
    }

    @Getter
    @Accessors(chain = true)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class PageMetadata {
        private int size;
        private long totalElements;
        private int totalPages;
        private int number;

        public PageMetadata(int size, long totalElements, int totalPages, int number) {
            this.size = size;
            this.totalElements = totalElements;
            this.totalPages = totalPages;
            this.number = number;
        }
    }

}

ResponseError.java

@Getter
@Setter
@Accessors(chain = true)
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class ResponseError {
    private Date timestamp;
    private String message;
    private String details;
}

Account.java

@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@Entity
@Table(name = "account")
public class Account {

    @Id
    @GeneratedValue
    private Long accountId;

    String accountNumber;

    BigDecimal currentBalance;

}

Transaction.java

@NoArgsConstructor
@AllArgsConstructor
@Data
@Entity
@Table(name = "transaction")
public class Transaction {
    @Id
    @GeneratedValue
    private Long transactionId;

    private String accountNumber;

    private BigDecimal transactionAmount;

    private Timestamp transactionDateTime;

}

AccountRepository.java

@Repository
public interface AccountRepository extends JpaRepository {
    Account findByAccountNumberEquals(String accountNumber);

}

TransactionRepository.java

@Repository
public interface TransactionRepository extends JpaRepository {
    List findByAccountNumberEquals(String accountNumber);

}

AccountService.java

public interface AccountService {
    List findAll();
    Account save(Account account);
    Transaction sendMoney(
            TransferBalanceRequest transferBalanceRequest
    );
    AccountStatement getStatement(String accountNumber);
}

AccountServiceImpl.java

@Service
public class AccountServiceImpl implements AccountService {

    @Autowired
    private AccountRepository accountRepository;

    @Autowired
    TransactionRepository transactionRepository;

    public Account save(Account account){
        accountRepository.save(account);
        return accountRepository.findByAccountNumberEquals(account.getAccountNumber());
    }

    public List findAll(){
        return accountRepository.findAll();
    }

    public Account findByAccountNumber(String accountNumber){
        Account account = accountRepository.findByAccountNumberEquals(accountNumber);
        return account;
    }


    @Override
    public Transaction sendMoney(
            TransferBalanceRequest transferBalanceRequest
    ) {
        String fromAccountNumber = transferBalanceRequest.getFromAccountNumber();
        String toAccountNumber = transferBalanceRequest.getToAccountNumber();
        BigDecimal amount = transferBalanceRequest.getAmount();
        Account fromAccount = accountRepository.findByAccountNumberEquals(
                fromAccountNumber
        );
        Account toAccount = accountRepository.findByAccountNumberEquals(toAccountNumber);
        if(fromAccount.getCurrentBalance().compareTo(BigDecimal.ONE) == 1
                && fromAccount.getCurrentBalance().compareTo(amount) == 1
        ){
            fromAccount.setCurrentBalance(fromAccount.getCurrentBalance().subtract(amount));
            accountRepository.save(fromAccount);
            toAccount.setCurrentBalance(toAccount.getCurrentBalance().add(amount));
            accountRepository.save(toAccount);
            Transaction transaction = transactionRepository.save(new Transaction(0L,fromAccountNumber,amount,new Timestamp(System.currentTimeMillis())));
            return transaction;
        }
        return null;
    }

    @Override
    public AccountStatement getStatement(String accountNumber) {
        Account account = accountRepository.findByAccountNumberEquals(accountNumber);
        return new AccountStatement(account.getCurrentBalance(),transactionRepository.findByAccountNumberEquals(accountNumber));
    }

AccountServiceImplTest.java

@RunWith(SpringRunner.class)
@DataJpaTest
public class AccountServiceImplTest {

    @TestConfiguration
    static class AccountServiceTestContextConfiguration {
        @Bean
        public AccountServiceImpl accountServiceImplTest() {
            return new AccountServiceImpl();

        }
    }

    @Autowired
    private AccountServiceImpl accountService;

    @Test
    public void sendMoneyTest() {
        Account account1 = new Account(0L, "1001", new BigDecimal(50000));
        Account account2 = new Account(0L, "2002", new BigDecimal(2000));
        accountService.save(account1);
        accountService.save(account2);

        TransferBalanceRequest transferBalanceRequest =
                new TransferBalanceRequest(
                        account1.getAccountNumber(),
                        account2.getAccountNumber(),
                        new BigDecimal(3000)
                );
        accountService.sendMoney(transferBalanceRequest);
        assertThat(accountService.findByAccountNumber(account1.getAccountNumber())
                .getCurrentBalance())
                .isEqualTo(new BigDecimal(47000));
        assertThat(accountService.findByAccountNumber(account2.getAccountNumber())
                .getCurrentBalance())
                .isEqualTo(new BigDecimal(5000));

    }

    @Test
    public void getStatement() {
        Account account1 = new Account(0L, "1001", new BigDecimal(50000));
        Account account2 = new Account(0L, "2002", new BigDecimal(2000));
        accountService.save(account1);
        accountService.save(account2);
        TransferBalanceRequest transferBalanceRequest =
                new TransferBalanceRequest(
                        account1.getAccountNumber(),
                        account2.getAccountNumber(),
                        new BigDecimal(3000)
                );

        accountService.sendMoney(transferBalanceRequest);
        assertThat(accountService.getStatement(account1.getAccountNumber())
                .getCurrentBalance())
                .isEqualTo(new BigDecimal(47000));
        accountService.sendMoney(transferBalanceRequest);
        assertThat(accountService.getStatement(account1.getAccountNumber())
                .getCurrentBalance()).isEqualTo(new BigDecimal(44000));
        assertThat(accountService.getStatement(account1.getAccountNumber())
                .getTransactionHistory().size()).isEqualTo(2);
    }

}
```

dns – Is CNAME transferred to the NS value by the domain provider?

Like, I've registered a domain example.com on GoDaddy, the below is my analysis in GoDaddy:

Host     Type      Line       Analysis

@        CNAME     default    23he.16cdn.com.
@        NS        default    ns1.dnspod.com.
@        NS        default    ns1.dnspod.com.
www      CNAME     default    23he.16cdn.com.

I have a question, if GoDaddy deliver the CNAME @ and www at ns1.dnspod.com.?
then in my local PC I nslookup example.comthen get 23he.16cdn.com. again?

virus – How are viruses transferred via USB?

I had an encounter with the Paint virus and I noticed that it is infecting the operating system files in order to target .exe files (this changes an original .exe file in a hidden operating system file and renames with a & # 39; v & # 39; before the initial name, then name a size of 899KB as the original .exe for the user to click).

I was able to get rid of it via my anti-virus (probably the part of it related to my operating system), but I could not cancel the name change made. .exe files on my PC, plus the tiny 899Ko fake. I've finally written a script to delete and rename.

The other day, I was trying to select a file on a USB drive and saw the paint virus file (my file explorer configured to always show all hidden files, including protected files from the system. 'exploitation') and permanently deleted it like any other file.

How did this hidden paint virus file hope to be copied or transferred to my system without being selected by myself from the USB drive when copying other files from it if I did not delete it?

The host has been transferred to a new server – normal?

Dear WebHostingTalk.com,

I've hosted several websites on a reseller plan with Host4Geeks after a horrific experience with Hostwinds.

Until now, I'm really happy with them and I have no intention of going for an indefinite future – or at least until I feel really ready to manage my own VPS plan .

However, a few days ago, I received an unexpected e-mail stating that they were moving the server whose plan was configured for a new data center; so the intellectual property would change.

Today, I found that all my websites were offline, so assume that the change was made. I've updated my configuration in Cloudflare but I find that the DNS records in Host4Geeks do not seem to have been updated correctly – that is, they keep it in the box. IP address of the old server. I also could not connect to WHM until the support manually provided me with a new link.

Currently, all my websites are offline. I pray that the DNS continues to spread and that it does not spoil all WordPress websites.

I wonder if it 's a typical process for a host and if, in such a case, it usually provides a little more practical help than what I' d like. received from Host4Geeks. It seems quite buggy and I am disappointed that they do not want to do more to manage my ticket.

At the moment, their live chat is not operational and they take a lot of time to answer emails, which is the only way to contact them (they do not offer phone technical support ).

Again, I'm just trying to find out if this fits the course. If this is not the case, I would definitely consider switching providers after solving this problem because reliability and availability are always my main concerns.

TIA for any advice.

Does Hide make you perceptive or can be transferred?

If you hide with the help of the Hide action, if someone is not trying to check the wisdom (perception);

  1. Is it possible for someone to see you?

  2. If someone sees you without passing the test, do not you hide anymore?

  3. Is it possible that someone knows your position?

  4. If someone locates you without passing the test, do not you hide anymore?

Learn to redeem iOS-friendly encrypted wallet security when stored and transferred for trading or used to purchase or cashed

Best crypto wallet for iPhone users in the trading and transfer of bitcoin currencies for easy access to the use and retention of deposit and profits as a new trading experience for the first time in the cryptocurrency, foreign exchange and stock market markets