Skip to content

Instantly share code, notes, and snippets.

View tahaipek's full-sized avatar
🎯
Focusing

Taha İPEK tahaipek

🎯
Focusing
View GitHub Profile
No 'Access-Control-Allow-Origin' header is present on the requested resource
Angular 2
chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security
GIT KOMUTLARI
---------------
- KULLANICI BILGILERI :
git config --global user.name "kullanıcı adı / rumuz"
git config --global user.email "E-posta"
git config --list # Calisma ve kullanici bilgilerini göster
@tahaipek
tahaipek / MSSQLFindTableName.sql
Created March 11, 2016 15:47
MSSQL Find Table Name
USE [TESTDB]
GO
SELECT t.name, SCHEMA_NAME(schema_id) AS schema_name FROM sys.tables AS t WHERE t.name like '%Test%'
@tahaipek
tahaipek / MSSQLFindColumnName.sql
Created March 11, 2016 15:46
MSSQL Find Column Name
USE [TESTDB]
GO
DECLARE @findColumn varchar(30) = '%Test%';
SELECT t.name AS table_name,
SCHEMA_NAME(schema_id) AS schema_name,
c.name AS column_name
FROM sys.tables AS t
INNER JOIN sys.columns c ON t.OBJECT_ID = c.OBJECT_ID
WHERE c.name LIKE @findColumn
@tahaipek
tahaipek / HelloServerWsdlSoap1_1.php
Created March 11, 2016 14:05
PHP, WCF Soap 1.1
#PHP Code
<?php
$url = "http://localhost/WCF.Integration.Services/ITestService.svc?wsdl";
ini_set("soap.wsdl_cache_enabled", "1");
$client = new SoapClient($url);
try
{
$info = $client->TestMethod(array('methodParameter' => "Test"));
@tahaipek
tahaipek / HelloServerWsdlSoap1_2.php
Last active June 7, 2018 17:05
PHP, WCF Soap 1.2
#PHP Code
<?php
$wsdl = "http://localhost/WCF.Integration.Services/ITestService.svc?wsdl";
$url=$wsdl;
$svc = 'ITestService';
$func = 'TestMethod';
$client = new SoapClient($url, array('soap_version' => SOAP_1_2,
'encoding'=>'ISO-8859-1',