본문 바로가기

messages4

Slack에서 테이블 작성과 이미지 삽입 Markdown 사용 방법 Slack에서 Markdown 테이블을 만들려면 다음과 같이 파이프 (|)와 하이픈 (-)을 사용하여 작성할 수 있습니다. 아래는 간단한 예제입니다. | Header 1 | Header 2 | Header 3 | | -------- | -------- | -------- | | Cell 1-1 | Cell 1-2 | Cell 1-3 | | Cell 2-1 | Cell 2-2 | Cell 2-3 | 이 예제에서는 세 개의 열과 두 개의 행을 가진 테이블이 생성됩니다. 각 열은 파이프 기호로 구분되고, 각 행은 하이픈과 파이프로 구성됩니다. 표의 헤더를 나타내려면 첫 번째 행에 헤더 셀을 작성하고 두 번째 행에 각 열의 정렬을 나타내기 위해 하이픈으로 채워진 셀을 추가합니다. 그런 다음 그 아래에 데이터 행.. 2024. 1. 27.
Syslog: log all bash history from every user There are sometimes I wish I had kept all of my history actions within the last 3 days, or I wish I could supervise what an other user have done to a system, I tried to find a way to log all ssh sessions to the server, logging them to syslog and keeping any action performed by every user! This is good for auditing some systems.I thought that a good idea is to pass to system wide bashrc a prompt .. 2014. 12. 15.
Web Socket API Web Socket APIThe Web Socket protocol enables web applications to maintain bidirectional communications with server-side processes. The typhoonae.websocket package provides a Web Socket Service API for GAE applications. It was introduced by the TyphoonAE 0.1.2 release anddoes not run on the productive Google App Engine platform.However, in order to enable the Web Socket API for the Google App En.. 2014. 2. 4.
MySQL UDF를 활용한 사용자 정의 함수 추가 1. 추가할 함수 구현 - syslogudf.c 파일에 기능 구현 #include #include #include my_bool logger_init(UDF_INIT *initid, UDF_ARGS *args, char *message) { initid->maybe_null=0; return 0; } long long logger(UDF_INIT *initid, UDF_ARGS *args, char *is_null, char *error) { if (args->arg_count != 1) { strcpy(error, "LOGGER(): needs message"); return 1; } if (args->arg_type[0] != STRING_RESULT) { strcpy(error, "LOGGER() .. 2010. 1. 19.