HomeController.cs
public IActionResult Download()
{
var mimeType = "text/xml";
var xml = @"
<xml>
<var>テスト</var>
</xml>";
var fileContent = System.Text.Encoding.UTF8.GetBytes(xml);
ExtCore | |
ExtCore-Sample | |
Knowledge | |
learning | |
SubTreeLearn | |
WPFLearn | |
IdentityServer4Authentication |
HomeController.cs
public IActionResult Download()
{
var mimeType = "text/xml";
var xml = @"
<xml>
<var>テスト</var>
</xml>";
var fileContent = System.Text.Encoding.UTF8.GetBytes(xml);
.svn/ | |
.vs/ | |
bin/ | |
obj/ | |
*.xproj.user | |
*.lock.json | |
artifacts/ | |
tools/ | |
*.nupkg |
using Microsoft.EntityFrameworkCore; | |
using Microsoft.EntityFrameworkCore.Design; | |
using Microsoft.EntityFrameworkCore.Infrastructure; | |
using OptimicLock.Models; | |
namespace OptimicLock | |
{ | |
public class AppDbContextFactory : IDesignTimeDbContextFactory<AppDbContext> | |
{ | |
public AppDbContext CreateDbContext(string[] args) |
# サブコマンド cd git pull origin master | |
git -C $(pwd)/learning pull --progress -v --no-rebase "origin" | |
# サブコマンド cd git checkout master | |
git -C $(pwd)/learning checkout master -- | |
# 最新をフェッチ | |
git fetch https://github.com/f7q/learning.git | |
# ミラーリング | |
cd .. | |
git clone --mirror https://github.com/f7q/learning.git |
set BACKUPDAY=20180211 | |
set DB_NAME=testdb | |
set EXE_PATH=C:\opt\PostgreSQLPortable_9.6.1\App\PgSQL\bin | |
set BACKUP_FILE_PATH=C:\opt | |
set LOG_NAME=%BACKUP_FILE_PATH%\log\%DB_NAME%_log_%BACKUPDAY%.log | |
set BACKUP_NAME=%BACKUP_FILE_PATH%\data\%DB_NAME%_db_%BACKUPDAY%.sql | |
REM ポータブルDBからバックアップ(サーバ起動状態) | |
echo 開始 %DATE% %TIME% > %LOG_NAME% |
@startuml | |
package "外部データベース" as ext <<Database>> { | |
entity "顧客マスタ" as customer <<M,AAFFAA)>> { | |
+ 顧客ID [PK] | |
-- | |
顧客名 | |
郵便番号 | |
住所 | |
電話番号 |
cipher /w:c
fsutil file testfile 10485760
cmd /c start http://www.yahoo.co.jp
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v TcpTimedWaitDelay /t REG_DWORD /d 60 /f
powershell compress-archive %CD%\Test %CD%\Test.zip
powershell expand-archive %CD%\Test.zip
dir /s /b | findstr /e <ファイル名>
dir /s /b *.* | findstr /i /b Nuget
certutil -hashfile %CD%\aaa.zip MD5
FROM ubuntu:16.04 | |
# system update 50MB程度 | |
RUN apt-get -y update | |
# set locale | |
RUN unlink /etc/localtime | |
RUN ln -s /usr/share/zoneinfo/Japan /etc/localtime | |
#RUN apt-get reinstall -y glibc-common |