목록공부 (5)
잉여의 즐거운 잉여 생활
항상 관심이 많았던 웹크롤링을 정보를 찾던 중 c#으로 개발할수 있는게 없나 보고 있는데 한국어 정리 되어있는건 selenium뿐이고 속도도 느리고 항상 chrome driver를 다운받아야한다는게 싫어 개인적으로 공부하고 정리할 예정이다 필자는 주니어 개발자이기 때문에 반박시 님들말이 다 맞을 예정이다. https://www.puppeteersharp.com/index.html Puppeteer Sharp Puppeteer Sharp Puppeteer Sharp is a .NET port of the official Node.JS Puppeteer API. Puppeteer-Sharp 3 is here! Check out the blog post! If you are making money using ..
static void CreateDatabase() { // Check if database exists bool dbExists = false; string dbName = "db_name"; try { using (NpgsqlConnection connection = new NpgsqlConnection(connectionString)) { connection.Open(); using (NpgsqlCommand command = new NpgsqlCommand($"SELECT 1 FROM pg_database WHERE datname='{dbName}'", connection)) { object result = command.ExecuteScalar(); dbExists = result != null..

commit 미국∙영국[kəˈmɪt] Eng commit 미국∙영국[kəˈmɪt] (그릇된 일·범죄를) 저지르다[범하다] 자살하다 (엄숙히) 약속하다 commission 미국∙영국[kəˈmɪʃn] (보통 정부의 위임을 받은) 위원회[위원단] (위탁 판매 대가로 받는) 수수료[커미션] (미술음악 작품 등을) 의뢰[주문]하다 (장교로) 임관시키다 to commit a sin 죄를 범하다 to commit suicide 자살을 하다 to commit a crime 범행을 저지르다 오픈 commit a crime [두운] 범죄를 저지르다 I hope they fully commit to local development. 그들이 온전히 지역 발전에 전념했으면 좋겠어. 예제 Why are so many men sc..
private Point start_p; // 클릭시 마우스 위치 private Point end_p; // 마우스 이동할때 위치 private bool mouse_move = false; // 마우스가 드레그 상태인지 확인 /// /// 마우스 이동 이벤트 /// /// /// private void Object_MouseMove(object sender, MouseEventArgs e) { Point th; if (objmove) { // 마우스의 현재위치를 계산하기 위한 폼의 위치 if (mouse_move) { th = this.Location; end_p = ((Control)sender).PointToScreen(new Point(e.X, e.Y)); Point tmp = new Point((..
PictureBox 위에 라벨을 올려서 사용하는 경우가 있었고 라벨의 백그라운드를 투명하게 해야했었다 인터넷 검색결과 Color값에 Transparent를 설정하면 투명화 된다고 해서 넣어보았더니 투명하게 되는것이 아니고 흰색 배경으로 변경이 됐다. 이상이 있어 검색을 더 해본 결과 c#디자이너 쪽에서 변경을 해야 투명해 진다고 하드라 // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add..