Skip to content

Instantly share code, notes, and snippets.

View torabian's full-sized avatar
💭
Learning & Planning

Ali Torabi torabian

💭
Learning & Planning
View GitHub Profile
<?php
// Whenever you have a successful operation, either having a response object, or just empty response
// Call this function, and pass your collection array, or single object into this function.
function success($entity)
{
if (is_array($entity)) {
$content = [
'data' => [
API reference. (Auto genreated by cypress, do not change this document)
## Create a role definitions for team
**URL:** [post] /api/role
### Description:
## Headers (sample)
const dgram = require("dgram");
const sample = {
// The device model (unique id, or something that makes the device identical)
model: "virtual",
// Id of the device in the dashboard
id: "temperature_device_1",
// Device version.
@torabian
torabian / meta-tags.md
Created March 21, 2020 16:30 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">