Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Learning & Planning

Ali Torabi torabian

💭
Learning & Planning
  • PixelPlux
  • Warsaw, Poland
View GitHub Profile
View PHP Google Json styleguide
<?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' => [
View Roles API
API reference. (Auto genreated by cypress, do not change this document)
## Create a role definitions for team
**URL:** [post] /api/role
### Description:
## Headers (sample)
View Khalife Smart solutions
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 Mar 21, 2020 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags
View meta-tags.md

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">