Skip to content

Instantly share code, notes, and snippets.

View canperk's full-sized avatar
🎯
Focusing

Can PERK canperk

🎯
Focusing
View GitHub Profile
@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',
@planetoftheweb
planetoftheweb / bootstrapCDN.html
Created July 8, 2015 01:25
Bootstrap 3 CDN Page Code
<!-- HEAD SECTION -->
<!-- IE Edge Meta Tag -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">