This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@copyright" : "https://fa.wikipedia.org/wiki/%D9%85%D8%AE%D8%AA%D8%B5%D8%A7%D8%AA_%D9%85%D8%B1%DA%A9%D8%B2_%D8%A7%D8%B3%D8%AA%D8%A7%D9%86%E2%80%8C%D9%87%D8%A7%DB%8C_%D8%A7%DB%8C%D8%B1%D8%A7%D9%86", | |
"East Azerbaijan": { | |
"Lat": 38.052468, | |
"Lng": 46.284993 | |
}, | |
"West Azerbaijan": { | |
"Lat": 37.529607, | |
"Lng": 45.046549 | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use [DATABASE_NAME]; | |
DECLARE @Table NVARCHAR(MAX) | |
DECLARE @Col NVARCHAR(MAX) | |
DECLARE Table_Cursor CURSOR | |
FOR | |
--پيدا کردن تمام فيلدهاي متني تمام جداول ديتابيس جاري | |
SELECT a.name, --table | |
b.name --col | |
FROM sysobjects a, | |
syscolumns b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node.js | |
npm i strong-soap | |
// رضا پولادینه | |
var soap = require('strong-soap').soap; | |
var url = 'http://yoururl/Services/API/IPerson.svc?wsdl'; | |
var requestArgs = {"username": 'نام کاربری',"password": 'رمز', | |
person:{ | |
FirstName:"node", | |
LastName:"node", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Linq; | |
namespace NumberToWordsLib | |
{ | |
/// <summary> | |
/// Number to word languages | |
/// </summary> | |
public enum Language | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Target: SearchPerson | |
* | |
* Authors: Omid Nasri | |
* | |
* Description: A simple solution to search and find the person. | |
* | |
* Version: 1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Target: FindPersonById | |
* | |
* Authors: Omid Nasri | |
* | |
* Description: A simple solution to find person by ID. | |
* | |
* Version: 1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Target: SavePerson | |
* | |
* Authors: Hossein Neshati, Omid Nasri | |
* | |
* Description: A simple solution to store person in CRM. | |
* | |
* Version: 1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Target: DeletePersonById | |
* | |
* Authors: Omid Nasri | |
* | |
* Description: A simple solution to delete person entity by ID. | |
* | |
* Version: 1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Created by JetBrains PhpStorm. | |
* User: dn211290sia | |
* Date: 25.10.14 | |
* Time: 10:00 | |
* To change this template use File | Settings | File Templates. | |
*/ | |
namespace Common\Utility\GeneralPurpose; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$host = 'example.com'; | |
$password = 'pass'; | |
$username = 'username'; | |
try { | |
$result = checkFtp($host, $username, $password); | |
} catch(Exception $e) { | |
$result = $e->getMessage(); | |
} |
NewerOlder