Skip to content

Instantly share code, notes, and snippets.

View tahaipek's full-sized avatar
🎯
Focusing

Taha İPEK tahaipek

🎯
Focusing
  • Ankara, Turkey
View GitHub Profile
@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',
@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 / 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 / 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%'
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
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
Angular 2
Ng CLI
Scaffold Usage
Component => ng g component my-new-component
Directive => ng g directive my-new-directive
Pipe => ng g pipe my-new-pipe
Service => ng g service my-new-service
Class => ng g class my-new-class
Interface => ng g interface my-new-interface
Enum => ng g enum my-new-enum
@tahaipek
tahaipek / dotnetlayout.md
Created December 7, 2016 21:23 — forked from davidfowl/dotnetlayout.md
.NET project structure
$/
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  src/
 tests/
@tahaipek
tahaipek / gulpfile.js
Created June 1, 2017 13:35 — forked from heldr/gulpfile.js
Another way of splitting a gulpfile into multiple files
/*
Another way of splitting a gulpfile into multiple files based on:
http://macr.ae/article/splitting-gulpfile-multiple-files.html
https://github.com/gulpjs/gulp/blob/master/docs/recipes/split-tasks-across-multiple-files.md
*/
'use strict';
var gulp = require('gulp'),
plugins = require('gulp-load-plugins')(),
@tahaipek
tahaipek / gulpfile.js
Created September 21, 2017 18:25 — forked from biswa4u85/gulpfile.js
SASS
'use strict';
/////////////////////////////////////////////////////////////////////////////
// GULP PLUGINS
var gulp = require('gulp'),
watch = require('gulp-watch'),
autoprefix = require('gulp-autoprefixer'),
sass = require('gulp-sass'),
rename = require('gulp-rename'),
concat = require('gulp-concat'),