8 – Get current url along with query string in content type node template file

I want to get complete url including query string in content type node template file

Suppose this the url example.com/abc?name=anc&contact=123456

Same I want to print in content type node twig file

I tried url and path but not print complete url inclucing query string

{{ url("<current>") }}   // example.com/abc
{{ path('<current>') }}  // example.com/

I print complete url example.com/abc?name=anc&contact=123456

Is there any theme hook that i can print the complete url

covid 19 – Getting from Bangladesh to Malaysia with current restrictions

I’m a UK citizen, two-shot vaccinated against COVID-19 in Chattogram, Bangladesh. I really want to leave Bangladesh and return to my family in Malaysia. I just can’t figure my way through the restrictions on travel, and with the situation in India, not too many places (or airlines) want to take anyone from Bangladesh. I figured maybe I could try and get to the UK and then go back to Malaysia from there but I can’t even work out if I’d need to quarantine in the UK first, either for UK rules or Malaysian. How best to solve my problem?

united kingdom – Will getting UK student visa cancel my current Tier 2 ICT visa?

I am working in UK on ICT Tier 2 Visa which is ending on 31st August. But, I am planning to join university on 14th or 21st September. I can apply for Student visa 3 months prior to start of course. and Home office takes 8 weeks to make a decision.

Suppose I consider 14th September as course start date and apply for student visa on 14th July within UK. Though it takes 8 weeks for decision, if I get it in 2 weeks then:

  • Will my current Tier 2 visa stand cancelled?

  • Will I not be able to continue to work for the same employer till
    31st August?

  • Should I inform employer before applying for student visa?

  • Can I inform once decision is made on student visa?

How to close the current tab in magento 2 custom page?

I have created one custom page .In this page one link is there ,while clicking the link I need to close the custom page .how can we achieve this?

php – Run if comment date more (+ 1hour) current time


Server date and time 04.05.2021 9:00

If comment date and time 04.05.2021 9:58 – NOT run

If comment date and time 04.05.2021 10:02 – RUN

add_action('transition_comment_status', 'comment_callback', 10, 3);
function comment_callback($new_status, $old_status, $comment) {
if($old_status != $new_status) {
if($new_status == 'approved') {
    $now = current_time( 'mysql' ); 
        $datacomm = strtotime( get_comment_date( 'Y-m-d h:i:s', $comment ));
        $later = strtotime( date( 'Y-m-d H:i:s', strtotime( $now ) + 3600 )); //3600 seconds = 1 hour
        if( $datacomm > $later ) {
        // RUN this
        } }}}

My code not work 🙁

Sorry for my English

Current date in URL link

I need to create navigation item with custom URL: domain.com/food-menu/?menu-date=2021-05-03

But date should change automatically based on current date (variable).

for example: domain.com/food-menu/?menu-date={current-date}

How can I achieve this ? Thanks for help

dnd 5e – What is the current state of Maztica?

I’m afraid there’s no official content about that yet…

… but there’s an official campaign which has some Lantanese in it (“Steampunk-Atlantis” close to Maztica and also disappeared to Abeir). I spoiled myself accidentally, because I play a gnomish Artificer from Lantan (that lived in Faerun since before the Spellplague) and stumbled upon some campaign info. I don’t know any more about that and don’t know whether those Lantanese give any interesting info about what happened exactly to their homeland. So I can’t tell you any details, because I don’t want to spoil myself anymore and don’t want to spoil the story for anyone else, because it’s a pretty nice campaign.

If you don’t mean to play that campaign, maybe have a look into

Waterdeep: Dragonheist

I don’t know if there’s anything useful in it… there might be something tho… but again: I don’t want to spoil anything for anyone here (me included).

Apart from that: Did you look into the Faerun Fandom?



The Fandom-Wiki and that official campaign are the only sources I know of regarding Maztica. I dug deep for my 383 year old gnome-character, but maybe not deep enough.

My DM/girlfriend (same person) told me that the designers might have something planned for Lantan and Maztica but I don’t know if that was just a distraction maneuver to stop me from researching my character’s background too much. So present Maztica pretty much seems like a yet to be filled blank spot on the map. Right now you can fill it (as a DM) with your imagination.

You could imagine it as a Wild West steampunk(ish) continent, but if official lore is of value to you, you may want to leave room to get retconned on this by upcoming official stuff.

MariaDB/MySQL: Dump current transaction data

Suppose, I have a transaction that contains some delete, insert and update queries with a lot of select-joins and values inferred from other tables. Sometimes even outright math inside queries. This makes forensics very hard, but reengineering the queries isn’t going to happen any time soon.

How can I, within the transaction, see (or, preferably, dump) the actual data (in tables and rows) that is being changed within the transaction before committing it?

In short, I want a transaction delta.

I use MariaDB 10.3.23

Keyboard Shortcut for exposing current Spotify track?

I’ve been using a keyboard shortcut for 15 years to know what was the current track playing, preferably by also displaying the album’s photo.
What was easy when only iTunes existed, has become complicated with me also using Spotify
I’ve been hunting for and using different plugins, sizzle, bowtie, growl, spark, lastfm, AppleScript customs script, or more recently Neptunes, with different successes, changing with each new incompatibility brought by new OS X versions.

Now that I am on Big Sur, there is a possible shortcut to bring the control center where an Itunes track playing is present (but not Spotify), there is also a menu item that can be accessed by the mouse, showing the current media stream (including Spotify) but as far as I know, there is no keyboard shortcut for it.

So what would you do, preferably using Apple OS native features, to get it done ?
(a Keyboard Shortcut for exposing current Spotify track playing, preferably with the album image)

Easiest way to get all current footprints? — 👉 GSA SEO and Marketing Forum 👈

It’s been a long time since I used gsa or did any scraping. I have an old text file called ‘gsa footprints’ but its quite a few years old.

I have the platform identifier and looks like i can open up all the engines and extract at least one main footprint from each of them…

And I have footprint factory but that looks like its no longer active unfortunately.

Is there a current alternative to fpf as i remember that being pretty sweet for this.