uk – Transit Without Visa through Heathrow for travel from Canada – is it still valid during COVID?

I am a Canadian permanent resident with Indian passport. I will be traveling on BA flight from Toronto to Mumbai on a single ticket which has a layover of 23 hours in London. This means I would have to leave Heathrow.

I tweeted Heathrow Airport and asked them about the quarantine mandate (Canada is not on the exempt list) and they said I am exempt from the 14 day quarantine as long as I quarantine for my entire stay in London (just a night) and travel only from Heathrow to hotel and hotel back to Heathrow to take the connecting flight.

However, just to be sure, I wanted to check if anyone has been through a similar situation in recent times and if they had any trouble at the UK border?

I will collect niche targeted valid email list and email marketing for $5

I will collect niche targeted valid email list and email marketing

Hello,

Are you Looking for a professional Unique and niche Targeted email list for email marketing?

✅If you want an accurate targeted email marketing then you must need a valid, verified and niche targeted email list for a good email campaign.

✅I am here to help you grow your email marketing audience with lead generation and boost your email campaign. and I will collect for you accurate email list & 100% clean and verify any category targeted niche email list.

⏩⏩My Services:-

✅Targeted email list

✅Any niche Based email list

✅Any Country Based Specialty (USA, UK, Canada, Australia) and Worldwide.

✅any company (Founder, owner, CEO) Email finding

✅Emails from use LinkedIn

✅Location base email list

✅personal email list

✅100% valid mail list

✅Clean & verified email

✅Mail chimp report and analysis.

✅Campaign setup

✅Create your mail-chimp account.

✅Template design.

⏩⏩Why you choose me?

  • 100% guarantee satisfaction
  • Timely Delivery
  • Genuine Mail
  • All are valid email
  • No Spam email

✅Please contact me before placing order to ensure that you’ll receive exactly what you want.
THANKS
NUSRAT

.(tagsToTranslate)email(t)campaign(t)nichetarget(t)validmail(t)emailscraping(t)temolate

I will install Elementor Pro with UAElementor with a valid license, Automatic Updates for $3

I will install Elementor Pro with UAElementor with a valid license, Automatic Updates

In this gig, you’ll get Elementor Pro and UA Elementor for just $3 a year.

Subscription is because Elementor doesn’t offer any lifetime license and also offers only limited licenses. So, if anyone meets the target, they will stop renewing the plugin that will stop the updates for you.

But in this gig, as we keep on renewing the plugin, you do not need to worry about the plugin to stop working because of expired license.

.

customs and immigration – Do you need to show a valid visa to when leaving Northern Cyprus?

The TRNC does not require that your student visa be current, as long as you leave within 60 days of its expiry. You should be within this time frame if you leave by the end of November, as TRNC student permits are issued for a year’s time frame which begins and ends on the last day of September, e.g. 30 Sept 2017 – 30 Sept 2018.

According to the Turkey Ministry of Foreign Affairs, you do not need a visa for your connection in Turkey (flight from Ercan to Atatürk) as long as you stay in the transit area.

If you will not leave the transit lounge at the airport you are not required to have transit visa. Otherwise, you have to make visa application to the nearest Turkish Representation. Contact information of the said missions can be reached through www.mfa.gov.tr (Ministry/Turkish Representations).

However, should you not have everything you need for your onward flight (e.g., separate ticket, boarding pass, baggage is not checked through) and you need to leave the transit area, you would require a visa (since your student visa has expired). As you are en route to the US, for which you would need to have a visa, that US visa means that you can use the electronic visa site. It takes about 3 minutes via the online system.

Pakistan: Official passport holders are exempted from visa for their travels to Turkey up to 90 days. Ordinary passport holders are required to have visa to enter Turkey. Ordinary passport holders with a valid Schengen, USA, UK, Ireland visa or residence permit may get their one month single entry e-Visas via the website www.evisa.gov.tr.

As you don’t mention your university, Cyprus International University immigration procedure is used as a reference.

javascript – Checking if the access token is valid or expired

Welcome to Code Review!

As I already mentioned in comments, epoch values can be treated as normal numerals, without having to involve momentjs or other external libraries.

In js, you can get current epoch value in milliseconds accuracy using Date.now(). The value in token is with seconds accuracy. It is only a factor of 1000.

Rewrite

/**
The token object passed in the function looks like this:
{
  access_token: '2hbssMdXDpwQX5WcnZ-iJlO754MLkEeDCmF-f1A-MaU',
  token_type: 'Bearer',
  expires_in: 604800,
  refresh_token: 'VxnN9uBVIcNMpuwRVpvXo2YxWuNFEayHqfnCM7aCTSI',
  scope: 'public',
  created_at: 1603604241
}
*/

export default function tokenValid(token = {}) {
  const now = Date.now() / 1000;
  const expiry = token.created_at + token.expires_in;
  return now < expiry;
}

EDIT

In response to the comment:

Changed

// from
parseInt(Date.now() / 1000)
// to
Date.now() / 1000

In the case here, Math.floor or Math.round are more suitable. parseInt is usually called when you want to convert from string to integer. We already know that Date.now() is giving a number and not a string. Also, the conversion/rounding is not really needed here.

Is there a regex where if first expression is valid then check for next

For eg.
set "var" "value"

I am using "(.+?)" to get "var" and "value".
But I only want to match this only when it starts with set.

base "as" "asd" – Should not match
set "as" "asd" – Match

transactions – Sequence valid before time

I’m studying sequence, and I set a transaction valid after 512 seconds.
First of all I use regtest and I start from clean blockchain, after that I mine 114 blocks.
At this point miner creates a transaction and tries to send it

My decode transaction

{
  "txid": "59ff4adafb47a5b22c6434af38f6e138c9008356778ed8b308c48029d7d4032f",
  "hash": "1bef48f96d18f1c78021b7e4b0a7d5285f6f7d2cc8c7adc31671820e367c3d70",
  "version": 2,
  "size": 191,
  "vsize": 110,
  "weight": 437,
  "locktime": 0,
  "vin": (
    {
      "txid": "88fb1408675c774c36692f170c6122af49cab7a5bab336272f0e4d8c0ef8c89a",
      "vout": 0,
      "scriptSig": {
        "asm": "",
        "hex": ""
      },
      "txinwitness": (
        "3044022070b753c99e2b6d241fd8a4ebe26f53644ef3eea58fff743e51f7a69e1ee7a99602204cbe9a60fc25be24baa3e4613f27a3e51df4a285174e001b62de18e1da2e42fd01",
        "03494041191fd2b02579fd49877755e55d9d451a37c6d0bbe04aab8ef507a78b19"
      ),
      "sequence": 4194305
    }
  ),
  "vout": (
    {
      "value": 49.99100000,
      "n": 0,
      "scriptPubKey": {
        "asm": "0 18363770025baac1ebdb99a948eab2776d9568ae",
        "hex": "001418363770025baac1ebdb99a948eab2776d9568ae",
        "reqSigs": 1,
        "type": "witness_v0_keyhash",
        "addresses": (
          "bcrt1qrqmrwuqztw4vr67mnx55364jwake269w8hl5fe"
        )
      }
    }
  )
}

I Give an error when I try to use sendrawtransaction

error code: -26
error message:
non-BIP68-final (code 64)

And it’s correct because my UTXO (88fb1408675c774c36692f170c6122af49cab7a5bab336272f0e4d8c0ef8c89a) come from the block with height 2 and 113 confirmations, and its median time is 1590276467 (2020-05-24 01:27:47 CET/CEST) and My transaction is valid after 512 seconds (Date:2020-05-24 01:41:23 CET/CEST) and the best block has that value 2020-05-24 01:28:06 CET/CEST (it’s not useful)

Now, If I create another transaction with the TXID comes from block with height 1 and 114 confirmations it works, I can send it.
Below my transaction and details.

{
  "txid": "f98d3ef70ca2c9d797bf7fff2e96e07f5ba10a280186a2132c6a902eebcab31e",
  "hash": "5776ad750fe759411a1ed5aa10e759b33e52b2935555d90b997fa788c9e25405",
  "version": 2,
  "size": 191,
  "vsize": 110,
  "weight": 437,
  "locktime": 0,
  "vin": (
    {
      "txid": "e1ee4602a78ab4f5f58705a75405d2f223307989950e1cbe03a4518cf23b7914",
      "vout": 0,
      "scriptSig": {
        "asm": "",
        "hex": ""
      },
      "txinwitness": (
        "304402200641ef29e3f0c8ef0c55dbb4a86a752e3655dd0c928c4e2e6659d3beeaf3f3870220026821b9ba043894cb20c7d7a378eaae76f56400755bf412f8ab1524a9a238b301",
        "03494041191fd2b02579fd49877755e55d9d451a37c6d0bbe04aab8ef507a78b19"
      ),
      "sequence": 4194305
    }
  ),
  "vout": (
    {
      "value": 49.99100000,
      "n": 0,
      "scriptPubKey": {
        "asm": "0 18363770025baac1ebdb99a948eab2776d9568ae",
        "hex": "001418363770025baac1ebdb99a948eab2776d9568ae",
        "reqSigs": 1,
        "type": "witness_v0_keyhash",
        "addresses": (
          "bcrt1qrqmrwuqztw4vr67mnx55364jwake269w8hl5fe"
        )
      }
    }
  )
}

The median time of block 1 and 114 confirmations is 1590276486 (2020-05-24 01:28:06 CET/CEST) and my transaction should be valid after 512 seconds (2020-05-24 01:45:05 CET/CEST), and my best block median time is 2020-05-24 01:28:06 CET/CEST

Below, the details of block 2 with 114 confirmations

{
  "hash": "5f769f610f29057577611868a660b353bea06e51d94905f3dbf7fb93e60a3d30",
  "confirmations": 1,
  "strippedsize": 214,
  "size": 250,
  "weight": 892,
  "height": 114,
  "version": 536870912,
  "versionHex": "20000000",
  "merkleroot": "1699f1cebdde9f4da1211f948f2ec194f7820fcfbab80c93bb5ea486e6837be7",
  "tx": (
    "1699f1cebdde9f4da1211f948f2ec194f7820fcfbab80c93bb5ea486e6837be7"
  ),
  "time": 1590276487,
  "mediantime": 1590276486,
  "nonce": 0,
  "bits": "207fffff",
  "difficulty": 4.656542373906925e-10,
  "chainwork": "00000000000000000000000000000000000000000000000000000000000000e6",
  "nTx": 1,
  "previousblockhash": "36f373a49886a31eff05ff8de39722f589cff103bed47715dd697d14350539ce"
}

Now, I know the sequence (00000000010000000000000000000001) is checked on median time of UTXO’s block, But block 2 (with 114 confirmations) and block 3 (with 113 confirmations) are very similar and very close, and I don’t understand why with block height 2 I’m able to send the transaction.

azure – CustomScriptExtension failed with “Operation is not valid due to the current state of the object”

I’m using CustomScriptExtension with ManagedIentity and sometimes it fails with

"Failed to download all specified files. Exiting. Error Message: Operation is not valid due to the current state of
the object."rnrnMore information on troubleshooting is available at
https://aka.ms/VMExtensionCSEWindowsTroubleshoot "

What does this error really mean?

windows 10 – Networking “does not have a valid IP configuration” – all known solutions exhausted

A lot of people get this error for different reasons, but on 1 particular high-end laptop the error has persisted for a full year, despite trying everything short of reinstalling the OS. It seems like nothing special was happening when the error began, though some network related programs were installed (since removed).

Here’s a list of what has been tried:

  • Restarting
  • Disabling / enabling the network adapters
  • netsh resets and flushing (e.g int tcp reset, int ip reset, flushdns, etc)
  • Reinstalling network/WiFi drivers
  • Changing networks many times to make sure it has nothing to do with the router
  • Manually and automatically setting LAN IP and DNS
  • Uninstalling all 3rd party network related software
  • Network reset all settings (Windows feature)
  • Safe Mode
  • Adding a DHCP related DWORD to the registry that ended in “Toggle” with a value of 1
  • Trying all of this with both Ethernet and WiFi
  • Trying an external WiFi adapter

This is on Windows 10. Even Ping fails to transmit with “general error”.

Probability of hash yielding a valid block

I read today in a paper that for BTC every hash has a probability formula of yielding a valid block and that this is approximated by formula most of the time. Can someone explain to me how to come up with this formula? Is this something specific to BTC?