목록Categories (1103)
KoreanFoodie's Study

파이썬에서 까먹을 수 있는 자잘한 사항들을 리마인드하는 포스트입니다. 코드들은 automatetheboringstuff.com에서 참조했습니다. 먼저, syntax와 관련된 사항들을 복습하는 것이 우선이다. 주로 예제들을 통해 기억을 더듬어 보자. 쉘 예제들(가장 기초부터) : >>> 'Alice' + 'Bob' 'AliceBob' >>> 'Alice' + 42 Traceback (most recent call last): File "", line 1, in 'Alice' + 42 TypeError: Can't convert 'int' object to str implicitly >>> 'Alice' * 5 'AliceAliceAliceAliceAlice' >>> 'Alice' * 'Bob' Traceb..

Implement a simple linux shell with pipe and more! 리눅스 쉘에서 파이프, 리다이렉션을 구현해 보자 I'm going to present how to solve execercise 11, chapter3, from Operating Systems: Principles & Practice,2nd Edition. Problem specificatoin : implement a simple linux shell in c capable of executing a sequence of programs that communicate through a pipe. For example, if the user types ls | wc... So the problem is how t..
친구와 약속이 있었는데, 어쩌다 보니 취소가 되어 시간이 붕 떠 버렸다. 마침 김치찌개를 먹고 싶었기에, 갈 곳 없는 발걸음은 새마을 식당으로 향했다. 각설하고, 맛 평가를 해보자면... -김치찌개의 간은 적당하고, 매운 정도도 적당했다. 신라면보다 약간 덜 매운 느낌?- 밥은 일반 밥집에서 나오는 은색 스텐 그릇의 2배를 살짝 웃도는 양이다. 밥이 부족하진 않을듯.- 국물에 밥을 다 말았을 때 기준으로 약 2.3 숟갈에 한 번씩 고기가 올라오는 것 같다.- 고기는 지방(기름기)이 거의 없는 부위를 사용하는 것 같다. 앞다리나 뒷다리가 아닐까..? 허겁지겁 먹어서 체크를 잘 못 했지만, 삼겹살은 확실히 아니다. 그래도 많이 퍽퍽하다거나 질기지는 않았다. 부드럽다!- 가격이 5000원이었다면 싸다고, 70..