Skip to content

Instantly share code, notes, and snippets.

View ci.yml
name: Laravel
on:
push:
# branches: [ main ]
pull_request:
branches: [ main ]
jobs:
laravel-tests:
View sites.json
[
{
"url": "https://api.abalin.net",
"name": "Nameday API",
"description": "Nameday API"
},
{
"url": "https://appfactory.cz",
"name": "Appfactory",
"description": "Appfactory"
@xnekv03
xnekv03 / verifyIC.php
Last active Dec 29, 2020 — forked from dg/verifyIC.php
Ověření rodného čísla a IČ
View verifyIC.php
<?php
function verifyIC($ic)
{
// be liberal in what you receive
$ic = preg_replace('#\s+#', '', $ic);
// má požadovaný tvar?
if (!preg_match('#^\d{8}$#', $ic)) {
return FALSE;