프로그래밍
-
[Centos7] .net core 2.0 설치.프로그래밍/.net core 2018. 6. 5. 18:02
centos7부터 .net core 가 공식 지원되는 모양이다.. 아래와 같이 공식적으로 지원하는 .net core 2.0을 설치 할 수 있다. (매우 느림.. 암튼 느림..).NET Core 2.0Install it:yum install centos-release-dotnet yum install rh-dotnet20 Then, to use it:scl enable rh-dotnet20 bash dotnet --info출처: https://forums.dotnetfoundation.org/t/how-and-what-do-i-need-to-install-net-on-centos-7/1112
-
[Centos] .net core 2.1 설치 오류...프로그래밍/.net core 2018. 6. 5. 17:50
개발환경에서 ms 에서 안내에 따라 설치하다 보면 다음과 같은 오류로 인해 설치가 안되는 경우... Downloading packages:dotnet-runtime-deps-2.1.0-rc1- FAILEDdotnet-host-2.1.0-rc1-x64.rpm FAILED 수동으로 2.1.0 런타임을 설치 한 후 ms 안내에 따라 설치해 보자... sudo rpm -Uvh https://packages.microsoft.com/yumrepos/microsoft-fedora27-prod/dotnet-runtime-2.1.0-x64.rpm 일단 패키기로 런타일 설치 후 문제가 없었으나 수정한 내용중 /etc/yum.repos.d/microsoft-prod.repo 내용을 남겨 둔다 -ㅅ-; 음.. 상관 없을려나..
-
배열 사용자 변수 사용예...프로그래밍/mysql 2018. 5. 31. 13:55
set @targets ='1234,1235,1230'; #공백 없이 구분자 , 사용해야 함.set @items = '102,111,112';select * from [테이블명] where FIND_IN_SET(id, @items) and FIND_IN_SET(uid, @targets);update [테이블명] set count=count+4 where FIND_IN_SET(id, @items) and FIND_IN_SET(uid, @targets); 특정 대상을 찾기위해 쿼리문에서 배열 사용자 변수를 설정해 사용하는 방법. >> 참조사용자 변수 : https://dev.mysql.com/doc/refman/8.0/en/user-variables.html FIND_IN_SET : https://dev.m..
-
메모: centos 에 .net core sdk 업그레이드 순서.프로그래밍/.net core 2017. 11. 2. 17:46
1) 기존에 설치된 .net core sdk 가 있으면 제거한다. (yum, apt-get 등으로 가능하면 진행)> 불가능한 경우 dotnet --info 실행 후 설치된 경로 폴더를 삭제. 2) 새 버전의 .net core sdk 설치.> https://docs.microsoft.com/ko-kr/dotnet/core/linux-prerequisites?tabs=netcore2x 3) dotnet --version 을 통해서 업데이트가 잘 되었는지 확인.> 실행되지 않는 경우 2) 단계에서 안내하는 단계중 PATH 설정을 빼먹은것 아닌지 확인. ※ 기존에 설치된 폴더를 제거하지 않은 상태에서 설치한 경우 이전 버전으로 실행 되거나 dotnet 자체가 실행되지 않을 수 있음. 그럴때는 이전 버전의 폴더 ..
-
외부 접속 권한 설정 셈플...프로그래밍/mysql 2017. 6. 12. 12:25
mysql 에 외부 프로그램(HeidiSQL 등...) 을 사용한 접속 설정이 필요한 경우 다음 쿼리를 참고해 작업하자 :P // 5.6 이하에서 유저 외부 접속 설정 확인select host,user,password from mysql.user; // 5.7 이상에서 유저 외부 접속 설정 확인select host,user,authentication_string from mysql.user; // 5.6 이하에서 password 사용하는 경우.INSERT INTO mysql.user (host,user,password) VALUES ('123.123.123.123','root',password('123456'));GRANT ALL PRIVILEGES ON *.* TO 'root'@'123.123.123...
-
-
[WPF] 랜더타겟 이미지 스케일링 조정시(확대시) 깔끔히 나오는게!?프로그래밍/조각코드 2012. 5. 29. 18:44
image = new Image(); RenderOptions.SetBitmapScalingMode(image, BitmapScalingMode.NearestNeighbor);음! 이건 버전이나 그런것은 모르겠고 일단 설정하는 모드가 있는듯!BitmapScalingMode 의 멤버들.. msdn 뽑아옴~Member nameDescriptionUnspecifiedUse the default bitmap scaling mode, which is Linear.LowQualityUse bilinear bitmap scaling, which is faster than HighQuality mode, but produces lower quality output. The LowQualitymode is the sam..