$bid = 'myblock';
$block = \Drupal\block_content\Entity\BlockContent::load($bid);
$render = \Drupal::entityTypeManager()->getViewBuilder('block_content')->view($block);
$block_manager = \Drupal::service('plugin.manager.block');
| #!/bin/bash | |
| # This script cleans all cache for Microsoft Teams on Linux | |
| # Tested on Ubuntu-like, Debian by @necrifede, Arch Linux by @lucas-dclrcq and Manjaro with flatpak by @danie1k. Feel free to test/use in other distributions. | |
| # Tested Teams via snap package. | |
| # Tested Teams via flatpak package. | |
| # | |
| # How to use in terminal: | |
| # ./clear_cache_MS_Teams.sh ( deb-stable | deb-insider | snap | flatpak ) | |
| # or |
| .PHONY: up upx log down exec exec0 h t | |
| CUID := $(shell id -u) | |
| CGID := $(shell id -g) | |
| IMAGEPHP := skilldlabs/php:8 | |
| all: | exec | |
| up: | |
| docker run --rm --name core9 \ |
| i = int(input()) | |
| a = [int( input()) for x in range(i)] | |
| listDel = [] | |
| def delit(n): | |
| w = [] | |
| for i in range(1,n // 2 + 1): | |
| if n % i == 0: | |
| w.append(i) |
| // Alerts | |
| @include alert-variant($background, $border, $text-color); | |
| // Background Variant | |
| @include bg-variant($parent, $color); | |
| // Border Radius | |
| @include border-top-radius($radius); | |
| @include border-right-radius($radius); | |
| @include border-bottom-radius($radius); |
| # vi: ft=dosini | |
| [user] | |
| name = Pavan Kumar Sunkara | |
| email = [email protected] | |
| username = pksunkara | |
| [core] | |
| editor = nvim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| pager = delta | |
| [column] |