Skip to content

Instantly share code, notes, and snippets.

View ks228's full-sized avatar

Khawar Shehzad ks228

  • United Kingdom
View GitHub Profile
@bxiang
bxiang / LogStreamApp.scala
Last active February 26, 2022 13:54
LogStreamApp
import java.nio.file.{Files, Paths}
import zio._
import zio.console._
import zio.duration._
import zio.stream._
object LogStreamApp extends App {
def isErrorWarning(data: String) = {
@mohandere
mohandere / yoast-seo-sitemap.php
Last active February 4, 2024 04:58
Wordpress yoast seo plugin, generate custom sitemap for custom URLS
<?php
/**
* Create a new custom yoast seo sitemap
*/
add_filter( 'wpseo_sitemap_index', 'ex_add_sitemap_custom_items' );
add_action( 'init', 'init_wpseo_do_sitemap_actions' );
// Add custom index