Skip to content

Instantly share code, notes, and snippets.

View muhamadsobari198's full-sized avatar

Muhamad Sobari muhamadsobari198

View GitHub Profile
@muhamadsobari198
muhamadsobari198 / numeric_posts_nav.php
Created October 3, 2018 04:49 — forked from peterwegren/numeric_posts_nav.php
Custom page/post pagination navigation.
<?php
/**
* numeric_posts_nav
* Custom numeric page links.
*
* @method numeric_posts_nav
*
* @author Peter Wegren <peter @ paper-leaf.com>
*
<?php
class Person
{
private $firstName;
private $lastName;
private $age;
public function __construct(string $firstName, string $lastName, int $age)
{
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Content-Security-Policy</title>
<meta name="viewport" content="width=device-width">
<meta http-equiv="Content-Security-Policy"
content="default-src 'self' data: gap: 'unsafe-eval' ws: ;
style-src 'self' 'unsafe-inline';
script-src https: *.example.com ;
# To learn more about how to use Nix to configure your environment
# see: https://developers.google.com/idx/guides/customize-idx-env
{pkgs}: {
# Which nixpkgs channel to use.
channel = "stable-23.11"; # or "unstable"
# Use https://search.nixos.org/packages to find packages
packages = [
pkgs.php82
pkgs.php82Packages.composer
pkgs.nodejs_20