This is PEG grammar to parse time syntax in crontab.
You can try it by copy-paste parser.js
to PEGjs online editor.
Then put test input value to any valid crontab time. For example:
* 1 1-9 1,2 SAT,SUN
name: Deploy on Tag | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest |
This is PEG grammar to parse time syntax in crontab.
You can try it by copy-paste parser.js
to PEGjs online editor.
Then put test input value to any valid crontab time. For example:
* 1 1-9 1,2 SAT,SUN
<?php | |
class KMeans | |
{ | |
protected $k; | |
protected $data; | |
public function __construct(array $data, int $k) | |
{ |
<?php | |
class CosineSimilarity | |
{ | |
protected $data_a; | |
protected $data_b; | |
public function __construct(array $data_a, array $data_b) | |
{ |
// Import dependencies yang dibutuhkan | |
const express = require('express'); | |
const { ApolloServer, gql } = require('apollo-server-express'); | |
// Jabarkan skema graphql | |
const typeDefs = gql` | |
type Query { | |
hello: String | |
users: [User]! | |
user(id: ID!): User |
function numberFormat(number) { | |
return (number || '').toString().replace(/^0|\./g,'').replace(/(\d)(?=(\d{3})+(?!\d))/g,'$1.') | |
} |
<?php | |
namespace Emsifa\Stuble; | |
class Gitignore | |
{ | |
protected $gitignoreFile; | |
protected $patterns = []; |
<?php | |
namespace App\Libraries\FormModel; | |
use Closure; | |
use DB; | |
use Exception; | |
use Storage; | |
use Illuminate\Database\Eloquent\Model; | |
use Illuminate\Database\Eloquent\Relations\HasMany; |
<?php | |
class Commando | |
{ | |
protected $filename; | |
protected $command; | |
protected $arguments = []; | |
protected $options = []; | |
protected $optionsAlias = []; |