Linux/Ubuntu2020. 9. 22. 17:40

특이하게도 apt-get으로 삭제하면 설치되어 있지 않다고 나온다?

$ sudo apt-get remove gnome-calculator
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다       
상태 정보를 읽는 중입니다... 완료
패키지 'gnome-calculator'는 설치되어 있지 않아, 지우지 않았습니다.
0개 업그레이드, 0개 새로 설치, 0개 제거 및 0개 업그레이드 안 함.

 

아래처럼 snap을 통해서 지우고 apt로 설치하면 해결.. (이게 머야!)

$ sudo snap remove gnome-calculator
$ sudo apt install gnome-calculator

[링크 : https://askubuntu.com/questions/1031673/cannot-open-calculator-app-from-keyboard-calculator-button]

'Linux > Ubuntu' 카테고리의 다른 글

ipmitool  (0) 2020.09.24
rsync with ssh  (0) 2020.09.23
ubuntu 18.04 tweak 설치하고 우클릭 안될 경우  (0) 2020.09.10
ubuntu gnome 패널에 날짜 출력하기  (0) 2020.09.07
ubuntu 18.04 모니터간 창이동  (0) 2020.09.03
Posted by 구차니
Programming/c# & winform2020. 9. 22. 17:20

java의 super 키워드와 동일한 느낌?

 

[링크 : https://docs.microsoft.com/ko-kr/dotnet/csharp/language-reference/keywords/base]

[링크 : https://blanedil.tistory.com/2]

[링크 : https://www.tutorialspoint.com/equivalent-of-java-super-keyword-in-chash]

 

+ 2020.09.23

ms 문서에서 보는데 base 아래 this가 있어서 무슨 차이인가 보니..

base는 상속관계에서, this는 클래스내 메소드에서 클래스 변수에 접근할때 사용하는 것으로 범위가 다른 경우에 대해서

서로 다른 용어로 정의를 한 것으로 보인다.

base 키워드는 파생 클래스 내에서 기본 클래스의 멤버에 액세스하는 데 사용됩니다
this 키워드는 클래스의 현재 인스턴스를 가리키며 확장 메서드의 첫 번째 매개 변수에 대한 한정자로도 사용됩니다.

[링크 : https://docs.microsoft.com/ko-kr/dotnet/csharp/language-reference/keywords/this]

 

is는 instanceof에 상응할 듯.

[링크 : https://stackoverflow.com/questions/18147211/c-sharp-is-operator-alternative-in-java/18147246]

'Programming > c# & winform' 카테고리의 다른 글

c# 상속  (0) 2020.09.23
c#은 main()이 아니다 Main()이다 -_-  (0) 2020.09.23
c# xml 주석  (0) 2020.09.22
c# 프로그래밍, 문법 공부(문자열)  (0) 2020.09.22
c# 교과서 표준 입출력 등  (0) 2020.09.21
Posted by 구차니
Programming/c# & winform2020. 9. 22. 16:33

특이한 주석이 존재하네?

/// 일 경우에는 xml 주석인데 몇가지 태그가 존재한다.

어떤 의미로는.. doxygen 을 xml로 해놓은것 같긴한데...

결과물에 어떻게 나오는지 궁금하네?

// Adds two integers and returns the result
/// <summary>
/// Adds two integers and returns the result.
/// </summary>
/// <returns>
/// The sum of two integers.
/// </returns>
/// <example>
/// <code>
/// int c = Math.Add(4, 5);
/// if (c > 10)
/// {
///     Console.WriteLine(c);
/// }
/// </code>
/// </example>
public static int Add(int a, int b)
{
    // If any parameter is equal to the max value of an integer
    // and the other is greater than zero
    if ((a == int.MaxValue && b > 0) || (b == int.MaxValue && a > 0))
        throw new System.OverflowException();

    return a + b;
}

 

[링크 : https://docs.microsoft.com/ko-kr/dotnet/csharp/codedoc]

  [링크 : http://blog.daum.net/clerkurt/251]

'Programming > c# & winform' 카테고리의 다른 글

c#은 main()이 아니다 Main()이다 -_-  (0) 2020.09.23
c# base, is  (0) 2020.09.22
c# 프로그래밍, 문법 공부(문자열)  (0) 2020.09.22
c# 교과서 표준 입출력 등  (0) 2020.09.21
c# 교과서 - 키워드 정리  (0) 2020.09.21
Posted by 구차니
Programming/c# & winform2020. 9. 22. 15:42
ToUpper()
ToLower()
Split()
Trim()
TrimStart()
TrimEnd()
string.Join(delimiter, array)

Console.Clear()
Console.SetCursorPosition()

Console.ReadKey()
ConsoleKeyInfo info;
info.key == ConsoleKey.X
ConsoleKey.UpArrow

 

이 먼가.. 메소드에 Capitalize 한 녀석 떄려야함..

쉬프트 누릐기 쬬~~~~오오오오오낸 짜증남 -_-

 

ReadLine()에 이어서 ReadKey()

그리고 ConsoleKeyInfo 라는 녀석이 추가되었네..

'Programming > c# & winform' 카테고리의 다른 글

c# base, is  (0) 2020.09.22
c# xml 주석  (0) 2020.09.22
c# 교과서 표준 입출력 등  (0) 2020.09.21
c# 교과서 - 키워드 정리  (0) 2020.09.21
c# checked , unchecked  (0) 2020.09.21
Posted by 구차니
embeded/raspberry pi2020. 9. 22. 12:16

ozeki

 

나중에 읽어 봐야겠다..

그런데 VoIP가 정확하게 멀 의미하는거지?

 

 

[링크 :  https://www.instructables.com/id/How-to-make-VoIP-calls-from-Raspberry-Pi/]

[링크 : https://www.voip-info.org/sflphone/]

Posted by 구차니

두개가 무슨 차이인가 해서 찾아봤떠니

 

 

내보내기는 사용자가 설정 가능하고

 

직접내보내기는 정해진 옵션으로 파일명만 지정하고 내보낸다.

 

편의측면에서는 나쁘지 않지만 directly 라는 말이 와닫는 용어는 아닌듯?

 

[링크 : https://ask.libreoffice.org/en/question/241143/difference-in-pdf-export/]

Posted by 구차니
프로그램 사용/openHPC2020. 9. 22. 09:58

torque 설치하고 나서 생긴건 진 모르겠지만 의심가는건 그 것 뿐 -_-

 

[링크 : https://slurm.schedmd.com/documentation.html]

[링크 : https://askubuntu.com/questions/1061325/slurm-new-user-on-ubuntu-18-04]

[링크 : https://cloud.google.com/solutions/deploying-slurm-cluster-compute-engine?hl=ko]

[링크 : https://blog.ksc.re.kr/124]

[링크 : https://wonwooddo.tistory.com/35]

'프로그램 사용 > openHPC' 카테고리의 다른 글

slurm gpu  (0) 2020.11.16
openBMC  (0) 2020.11.02
HPL for CUDA , KNL  (0) 2020.11.02
torque PBS on ubuntu  (0) 2020.09.21
qsub? torque?  (0) 2020.09.18
Posted by 구차니
이론 관련/전기 전자2020. 9. 21. 18:02

인덕션이라길래 그 전기레인지 상상했는데 오디오랑 도대체 어떻게 연결이 되나 했더니

한줄 요약하면 인공와우 혹은 보청기 사용자를(청각 장애인) 위한 전용 스피커 정도로 하면 될 듯

induction을 통해 코일에 직접적으로 음파를 전달하는걸로 보면 될것 같기도 하지만.. 내 영역 밖의 이야기.. ㅠㅠ

 

[링크 : https://en.wikipedia.org/wiki/Audio_induction_loop]

[링크 : https://kor.kunyoong.com/board/read.php?M2_IDX=16088&BCL_IDX=&SC_WORD=&MY=&PAGE=1&B_IDX=22759]

'이론 관련 > 전기 전자' 카테고리의 다른 글

dBFS  (0) 2021.01.29
FFT와 고조파(harmonic)  (0) 2020.10.05
quadrature sampling(I/Q signal)  (0) 2020.09.06
가변저항과 전압  (2) 2020.03.09
래칭 릴레이(latching relay)  (0) 2019.12.22
Posted by 구차니
프로그램 사용/openHPC2020. 9. 21. 15:36

패키지 구성은 위는 서버 아래는 클라이언트.

그나저나 클러스터로 구성되면 어떤 작업이든 상관이 없이 가능한건가? (분산 빌드가 가능?)

sudo aptitude install torque-server torque-scheduler torque-client
sudo aptitude install torque-client torque-mom

[링크 : https://help.ubuntu.com/community/TorquePbsHowto]

[링크 : https://pmateusz.github.io/linux/torque/2017/03/25/torque-installation-on-ubuntu.html]

[링크 : https://jabriffa.wordpress.com/.../installing-torquepbs-job-scheduler-on-ubuntu-14-04-lts/]

[링크 : https://jabriffa.wordpress.com/.../adding-client-nodes-to-a-torquepbs-system-on-ubuntu-14-04-lts/]

[링크 : http://sarghis.com/blog/652/]

 

[링크 : https://community.openpbs.org/t/installation-of-torque-in-single-node-ubuntu-14-04/846]

'프로그램 사용 > openHPC' 카테고리의 다른 글

slurm gpu  (0) 2020.11.16
openBMC  (0) 2020.11.02
HPL for CUDA , KNL  (0) 2020.11.02
slurm 계정이 생겼다?  (0) 2020.09.22
qsub? torque?  (0) 2020.09.18
Posted by 구차니
Programming/c# & winform2020. 9. 21. 14:41

- printf, scanf()

Console.WriteLine(1/2); // 0, 앞의 숫자로 암시적 캐스팅 되서 결과가 나오는 듯
Console.WriteLine("안녕하세요"[100]); // 에러는 발생하지만 이런식으로 변수가 생성 가능한 듯
Console.WriteLin('가'+'힣'); // 99235 char 형으로 인식해서 숫자로 되는 듯. "가" 로 하면 합쳐지려나?

Console.ReadLine();

 

INT_MAX

int.MaxValue
int.MinValue
long.MaxValue
long.MinValue

 

variable.GetType() // 형을 리턴함 "System.Int32"

 

int.parse("111")
int.ToString()
double_var.ToString("0.00"); // 소수점 두자리 출력하도록 제한

 

time 함수?

DateTime.Now.Year
DateTime.Now.Month
DateTime.Now.Day
DateTime.Now.Hour
DateTime.Now.Minute
DateTime.Now.Second

'Programming > c# & winform' 카테고리의 다른 글

c# xml 주석  (0) 2020.09.22
c# 프로그래밍, 문법 공부(문자열)  (0) 2020.09.22
c# 교과서 - 키워드 정리  (0) 2020.09.21
c# checked , unchecked  (0) 2020.09.21
c#(mono) on ubuntu  (0) 2020.09.21
Posted by 구차니