Reference:
Twig : Unset element from array - Stack Overflow
Simple Example:
{% if link.attributes is defined %}
{# we want to get rid of the attributes element #}
{% set link = link|filter((v, k) => k != 'attributes') %}
{% endif %}
/* Sett Sarverott @ 2021 */ | |
var d="YT-playlist."; | |
var pl=""; | |
var z=window.location.href.split("?")[1].split("&"); | |
for(var i in z) | |
if( | |
z[i].split("=")[0]=="list" | |
) | |
pl=z[i].split("=")[1]; | |
d+=pl+".txt\n\n~~~~~~\n"; |
Reference:
Twig : Unset element from array - Stack Overflow
Simple Example:
{% if link.attributes is defined %}
{# we want to get rid of the attributes element #}
{% set link = link|filter((v, k) => k != 'attributes') %}
{% endif %}
const express = require("express"); | |
const { getData } = require("./youtube/youtube-channel-videos-with-playlist"); | |
const router = express.Router(); | |
router.get("/youtube/playlists", getData); | |
module.exports = router; |
<div class="container"> | |
<div id="player"> | |
<div class="js-player" data-type="youtube" data-video-id="" data-ytpls="PL533213361AEB44D3"></div> | |
<!-- <div class="plyr-playlist-wrapper"><ul class="plyr-playlist"></ul></div> RDxdYFuCp3m9k--> | |
</div> | |
<!-- <ul id="playlist"></ul> --> | |
</div> |
version: "3.3" | |
services: | |
reverse-proxy: | |
image: traefik:latest | |
restart: unless-stopped | |
command: | |
- --api | |
- --providers.docker=true | |
- --entrypoints.web.address=:80 |
license: mit |
base_task_iterator <- function(should_continue, iter_body) { | |
if (should_continue()) { | |
iter_body() | |
later::later(~base_task_iterator(should_continue, iter_body)) | |
} | |
invisible() | |
} | |
while_task_iterator <- function(cancelExpr, whileExpr, func) { |
const { introspectSchema } = require("apollo-codegen"); | |
const { executeWithOptions } = require("graphql-code-generator/dist/cli"); | |
const fs = require("fs"); | |
const path = require("path"); | |
const graphqlPath = "./src/graphql/"; | |
const schemaInput = "./src/graphql/temp.graphql"; | |
const jsonOutput = "./src/graphql/temp.json"; | |
const dtsOutput = "./src/graphql/domain.d.ts"; |