Skip to content

Instantly share code, notes, and snippets.

View oguzhankircali's full-sized avatar

Oguzhan Kircali oguzhankircali

View GitHub Profile
# Archive your static HTML project and save it with the build record.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- master
pool:
vmImage: 'windows-latest'

Click the Windows 10 Start button and type "regedit" Press Enter to open the Registry Editor and click OK to give permission to make changes to your Windows 10 PC. Once you are in the Registry Editor, you’ll need to use the left sidebar to navigate to the following Registry key:

SYSTEM>CurrentControlSet > Control > Power > PowerSettings > 7516b95f-f776-4464-8c53-06167f40cc99 > 8EC4B3A5-6868-48c2-BE75-4F3044BE88A7

In the right-hand pane, double left-click the Attributes value to open the properties windows. Change the value in the “Value data” box from 1 to 2, then click OK. Once changed, then typed in search Edit Power Plan to access (Control Panel\All Control Panel Items\Power Options\Edit Plan Settings)

@oguzhankircali
oguzhankircali / _config.yml
Created June 20, 2019 06:26
Jekyll Config
name: Oğuzhan Kırçalı
title: Blog | Oğuzhan Kırçalı
description: Yazılım Geliştiricisi
meta_description: Oğuzhan Kırçalı | Yazılım Geliştiricisi
logo: assets/images/logo.png
favicon: assets/images/favicon.ico
paginate: 10
baseurl: /blog
email: oguzhankircali@gmail.com
google_analytics: UA-15831320
SELECT pn.Id, pn.DESCRIPTION, (SELECT DBMS_XMLGEN.CONVERT (pn.description, 1) FROM DUAL) NewDesc
from dbo.my_table pn
where pn.description like '%apos;%'
UPDATE dbo.my_table SET DESCRIPTION=(SELECT DBMS_XMLGEN.CONVERT (DESCRIPTION, 1) FROM DUAL) WHERE description like '%apos;%'
<system.serviceModel>
<behaviors>
<endpointBehaviors>
<behavior name="SoapBehavior">
<SoapBehavior></SoapBehavior>
</behavior>
</endpointBehaviors>
<serviceBehaviors>
<behavior>
<serviceMetadata httpGetEnabled="true" />
var baseData = await q.Skip(request.SkipCount).Take(request.MaxResultCount).ToListAsync();
var q2 = from t in baseData
join a in await _customerManager.GetAllAgentFromCacheAsync() on t.OldAgentCode equals a.MustKod into oldAgent
from a in oldAgent.DefaultIfEmpty()
join aNew in await _customerManager.GetAllAgentFromCacheAsync() on t.NewAgentCode equals aNew.MustKod into newAgent
from aNew in newAgent.DefaultIfEmpty()
ALTER TABLE dbo.TableName ADD "COLUMN_NAME" varchar2(50 CHAR) NULL
ALTER TABLE dbo.TableName DROP COLUMN "COLUMN_NAME";
<select id="ddlModules" class="select2"></select>
populateSelect2("ddlModules", null, "");
function populateSelect2(elemId, data, selectedValue) {
var $select = $("#" + elemId);
$.each(data, function (ix, obj) {
var itemSelected = false;
ALTER TABLE sgl.AUDIT_LOGS ADD (PARAMETERS_TEMP CLOB);
UPDATE sgl.AUDIT_LOGS SET PARAMETERS_TEMP=PARAMETERS;
ALTER TABLE sgl.AUDIT_LOGS DROP COLUMN PARAMETERS;
ALTER TABLE sgl.AUDIT_LOGS RENAME COLUMN PARAMETERS_TEMP TO PARAMETERS;
protected void Application_Error(object sender, EventArgs e)
{
var ex = Server.GetLastError();
string allFootprints = GetAllFootprints(ex);
}