This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1.4-buster-slim | |
# # # # # # # # # # # # # # # # # # # # # # # | |
# INSTALL WKHTMLTOPDF | |
ENV WKHTMLTOX wkhtmltox_0.12.5-1.buster_amd64.deb | |
ENV BUILD_PACKAGES build-essential | |
ENV MAIN_PACKAGES fontconfig libfreetype6 libjpeg62-turbo libxext6 libpng16-16 libx11-6 libxcb1 libxrender1 xfonts-75dpi xfonts-base | |
COPY deps/$WKHTMLTOX / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mcr.microsoft.com/dotnet/core/runtime:3.1.4-buster-slim | |
# # # # # # # # # # # # # # # # # # # # # # # | |
# INSTALL SUPERVISORD | |
RUN set -xe && \ | |
apt-get update && apt-get install -y --no-install-recommends \ | |
supervisor && \ | |
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.300-buster AS build | |
WORKDIR /src | |
# Docker build cache'inden yararlanarak hızlandırıyoruz. | |
COPY "eShopOnContainers-ServicesAndWebApps.sln" "eShopOnContainers-ServicesAndWebApps.sln" | |
COPY "Services/Basket/Basket.API/Basket.API.csproj" "Services/Basket/Basket.API/Basket.API.csproj" | |
COPY "Services/Catalog/Catalog.API/Catalog.API.csproj" "Services/Catalog/Catalog.API/Catalog.API.csproj" | |
COPY "Services/Identity/Identity.API/Identity.API.csproj" "Services/Identity/Identity.API/Identity.API.csproj" | |
COPY "Services/Location/Locations.API/Locations.API.csproj" "Services/Location/Locations.API/Locations.API.csproj" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
import os | |
import signal | |
def write_stdout(s): | |
sys.stdout.write(s) | |
sys.stdout.flush() | |
def write_stderr(s): | |
sys.stderr.write(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clc; clear; close all; | |
I= imread('chessboard.jpg'); | |
I = rgb2gray(I); | |
[R,C] = size(I); | |
SI = uint8(zeros(R,C)); | |
mask = 1; | |
% kernel = [-1,-1,-1;-1,8,-1;-1,-1,-1]; | |
% kernel = [1,1,1;1,-8,1;1,1,1]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clc; clear; close all; | |
I= imread('p.jpg'); | |
I = rgb2gray(I); | |
[R,C] = size(I); | |
SI = uint8(zeros(R,C)); | |
for r=1:R | |
for c=1:C | |
ListOfValues = 1:9; | |
counter = 0; | |
for i=-1:1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clc; clear; close all; | |
I= imread('p.jpg'); | |
I = rgb2gray(I); | |
[R,C] = size(I); | |
SI = uint8(zeros(R,C)); | |
for r=1:R | |
for c=1:C | |
total = 0.0; | |
counter = 0; | |
for i=-1:1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include | |
using namespace std; | |
class Piramit | |
{ | |
public: | |
Piramit(); | |
void ciz(); | |
void piramitGir(); | |
int satirSayisi; | |
char karakter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include | |
#include | |
#include | |
using namespace std; | |
class Dortgen | |
{ | |
public: | |
Dortgen(); | |
void ciz(); | |
void solaGit(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include | |
#include | |
using namespace std; | |
unsigned long faktoriyelHesapla(unsigned long); | |
int main() | |
{ | |
int sayi; | |
unsigned long faktoriyel; | |
cout << “Sayi Giriniz “; cin >> sayi; | |
faktoriyel = faktoriyelHesapla(sayi); |
NewerOlder