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
const custom = require("../webpack.config.js"); | |
module.exports = { | |
stories: ["../src/**/*.stories.tsx"], | |
addons: [ | |
"@storybook/addon-links", | |
"@storybook/addon-essentials", | |
"@storybook/addon-interactions", | |
"@storybook/preset-create-react-app", | |
], |
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
const path = require("path"); | |
module.exports = { | |
entry: "./src/index.tsx", | |
output: { | |
path: path.resolve(__dirname, "build"), | |
publicPath: "/", | |
filename: "bundle.js", | |
}, | |
devServer: { |
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
<?php | |
namespace App\Http\Middleware; | |
use Illuminate\Support\Facades\Redirect; | |
use Closure; | |
class XSS | |
{ | |
/** |
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 | |
ENV DOTNET_USE_POLLING_FILE_WATCHER 1 | |
WORKDIR /app | |
COPY . . | |
ENV ASPNETCORE_URLS http://+:5005 | |
EXPOSE 5005 | |
ENTRYPOINT dotnet watch --project Test.WebAPI/Test.WebAPI.csproj run --urls=http://+:5005 // Watch kullanarak herhangi bir değişiklikte otomatik ayağa kalkmasını sağlıyoruz. |
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
System.Text.Encoding.RegisterProvider(System.Text.CodePagesEncodingProvider.Instance); // Türkçe karakter sorunu yaşamamak için gerekli | |
using (var stream = new StreamReader(file.OpenReadStream())) | |
{ | |
using (var reader = ExcelReaderFactory.CreateReader(stream.BaseStream)) | |
{ | |
while (reader.Read()) | |
{ | |
// İşlemler | |
var deger=reader.GetValue(1).ToString(); // 1 sayısını verisini almak istediğiniz kolon numarası ile değiştirin | |
} |
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
version: '3' | |
services: | |
web: | |
build: ./web | |
container_name: projePhp | |
depends_on: | |
- database | |
volumes: | |
- ./web:/var/www/html/ |