Skip to content

Instantly share code, notes, and snippets.

View ertugrulozcan's full-sized avatar

Ahmet Ertuğrul Özcan ertugrulozcan

View GitHub Profile
120920210225150310/v2/subscription/customers{
"name": "test",
"surname": "test",
"identityNumber": "11111111111",
"email": "[email protected]",
"gsmNumber": "+905346118505",
"billingAddress": {
"address": "Nidakule Göztepe, Merdivenköy Mah. Bora Sok. No:1",
"zipCode": "34742",
"contactName": "test test",
version: '3.1'
services:
mongo:
container_name: ertisauth_mongo
image: mongo
restart: always
volumes:
- ${HOME}/.docker/volumes/ertisauth:/data/db
ports:
;===SARI_KAFA.ASM====
LIST P=16F628A
INCLUDE "P16F628A.INC"
__CONFIG _INTRC_OSC_NOCLKOUT & _WDT_OFF & _PWRTE_ON & _MCLRE_ON & _BODEN_OFF & _LVP_OFF & _DATA_CP_OFF & _CP_OFF
;-----------------------------------------------------------
CBLOCK 20h
AL,AH,BL,BH
ENDC
ORG h'00' ;Entrypoint
CLRF PORTB ;Reset PortB
using System;
using System.Collections.Generic;
using System.Linq;
namespace Homework4
{
public static class Question2
{
public static void Run()
{
using System.Net.Http;
using System.Threading.Tasks;
using CmsMigration.LeagueAndTeamMigrationAPI.Helpers;
using CmsMigration.LeagueAndTeamMigrationAPI.Models.Net;
namespace CmsMigration.LeagueAndTeamMigrationAPI.Services
{
public abstract class BaseRestService
{
#region Fields
@using System.Linq
@using Raven.Component.Extensions.DateTimeExtensions
@using Raven.Core.CommonWeb
@using Raven.Core.CommonWeb.Helpers
@using Raven.Core.CommonWeb.ActionFilters.MetaTagsModels
@model Raven.UI.FanatikWeb.Models.ViewModels.TextNews.TextNewsDetailViewModel
@using Raven.Core.CommonWeb.Extensions
@using Raven.Data.Core.Model.Shared
@using Raven.UI.FanatikWeb.Helpers
public class Solution
{
public int Reverse(int number)
{
try
{
int[] digitArray = GetDigitArray(number);
return ConvertDigitArrayToInteger(digitArray.Reverse().ToArray());
}
catch (OverflowException)
{
"matchId": 1181715,
"comments": [
{
"MatchId": 1181715,
"CommentaryType": 17,
"TeamSide": 0,
"Minute": 1,
"Commentary": "Hakemin düdüğüyle maç başlıyor.",
"IsDeleted": false,
{
"code":75615,
"matchDate":"2020-04-01T20:30:00",
"tournamentName":"Hazırlık Karşılaşmaları",
"homeTeam":"FF Sodertalje",
"awayTeam":"",
"matchName":"FF Sodertalje - ",
"matchResultOdd":[
{
"id":1032223,
@ertugrulozcan
ertugrulozcan / PerfectNumber.cs
Created February 15, 2020 09:58
PerfectNumbers
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
namespace ObssConsoleApp
{
public static class PerfectNumber
{