Skip to content

Instantly share code, notes, and snippets.

View mr-exception's full-sized avatar

alireza darbandi mr-exception

  • salimon
  • Nicosia
View GitHub Profile
@mr-exception
mr-exception / insomnia_data.json
Last active November 15, 2020 08:55
pajoohyar-core insomnia
{
"_type": "export",
"__export_format": 4,
"__export_date": "2020-11-15T08:55:51.588Z",
"__export_source": "insomnia.desktop.app:v2020.4.1",
"resources": [
{
"_id": "req_72ba066315214a859f2da0fe6f065335",
"parentId": "wrk_72b65f1cbf3642f1b5499eb689b200a8",
"modified": 1600604586457,
@mr-exception
mr-exception / validation.php
Created March 27, 2018 22:21
Laravel Validation.php language file - persian
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by


ZhoZho project API Documention

APIs are using HTTP/1.2 protocol and best practice of rest Apis in 2015
we have to devlare api responses schema before listing them. all the apis are in HTTP1/1 requests are in variouse verbs such as GET, POST, PUT, DELETE and…, input parameters are from-data to handle the file uploading too. responses are in json/text schema

HTTP response codes

HTTP response codes are all in standard of HTTP1/1
---
---
<h1 id="zhozho-project-api-documention">ZhoZho project API Documention</h1>
<p>APIs are using HTTP/1.2 protocol and best practice of rest Apis in 2015<br>
we have to devlare api responses schema before listing them. all the apis are in <code>HTTP1/1</code> requests are in variouse verbs such as <code>GET</code>, <code>POST</code>, <code>PUT</code>, <code>DELETE</code> and…, input parameters are from-data to handle the file uploading too. responses are in json/text schema</p>
<h4 id="http-response-codes">HTTP response codes</h4>
<p>HTTP response codes are all in standard of <a href="https://httpstatuses.com/">HTTP1/1</a></p>
@mr-exception
mr-exception / ZhoZho.md
Last active March 5, 2018 13:35
ZhoZho


ZhoZho project API Documention

APIs are using HTTP/1.2 protocol and best practice of rest Apis in 2015
we have to devlare api responses schema before listing them. all the apis are in HTTP1/1 requests are in variouse verbs such as GET, POST, PUT, DELETE and…, input parameters are from-data to handle the file uploading too. responses are in json/text schema

HTTP response codes

HTTP response codes are all in standard of HTTP1/1
<h1 id="zhozho-project-api-documention">ZhoZho project API Documention</h1>
<p>APIs are using HTTP/1.2 protocol and best practice of rest Apis in 2015<br>
we have to devlare api responses schema before listing them. all the apis are in <code>HTTP1/1</code> requests are in variouse verbs such as <code>GET</code>, <code>POST</code>, <code>PUT</code>, <code>DELETE</code> and…, input parameters are from-data to handle the file uploading too. responses are in json/text schema</p>
<h4 id="http-response-codes">HTTP response codes</h4>
<p>HTTP response codes are all in standard of <a href="https://httpstatuses.com/">HTTP1/1</a></p>
<h4 id="response-codes">Response Codes</h4>
<p>Response codes are included in some categories shown in table blew:</p>
<table>
<thead>
@mr-exception
mr-exception / main.py
Created November 10, 2017 11:51
backup from mongodb database by mongodump in python 3
import os
import time
'''
mongo backup by python
developrt: mr-exception
github: mr-exception
'''
# configs:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<option name="DEFAULT_COMPILER" value="Javac" />
<resourceExtensions />
<wildcardResourcePatterns>
<entry name="!?*.java" />
<entry name="!?*.form" />
<entry name="!?*.class" />
<entry name="!?*.groovy" />