Skip to content

Instantly share code, notes, and snippets.

View dxdxdt's full-sized avatar

David Timber dxdxdt

View GitHub Profile
@dxdxdt
dxdxdt / README.md
Last active February 20, 2023 11:19
Sending Mail using Powershell

Sending Mail using Powershell

Turns out, Powershell can be used to send emails through harnessing the power of C#. I made this script as a POC as to show how far .Net and Powershell have come.

Should work on all platforms that support Powershell.

Usage

Copied from the script.

@dxdxdt
dxdxdt / fuckyou-gmail.en.md
Last active September 7, 2023 17:44
What to do when Gmail marks all the mails from your server as spam

What to do when Gmail marks all the mails from your server as spam

If you're self-hosting your services and having trouble getting your emails through Gmail and infuriated by Google's non-existent support, you're not the only one. I'd like to share my experiences trying to get it sorted out.

I'm the author of the post above. You can tell how arrogant Google employees are from all the previous posts he made in the past.

@dxdxdt
dxdxdt / headless-vnc.ko-kr.md
Last active September 24, 2022 05:00
클라우드 리눅스 VM에 GUI 돌리기

클라우드 리눅스 VM에 GUI 돌리기

AWS EC2나 GCP CE의 윈도 머신은 대부분 RDP로 접근하는 반면에, 리눅스 머신은 모두 CUI로만 사용하도록 되어있음. 리눅스는 셸로 모든 작업을 할 수 있지만 유니티 에디터같은 소프트웨어는 GUI없이 거의 사용이 불가능하다. 머신에 하드웨어를 추가할 수 없는 환경이라면 이 방법을 추천한다.

개요

Xorg X11 dummy video를 사용해서 가상 fb를 만들고, TigerVNC X 윈도 서버 모듈을 사용해 원격에서 접속할 수 있도록 설정한다. 이 문서는 VM에 GDE를 설치하는 방법을 다룬다. 이 문서는 VNC 포트를 외부에 공개하지 않고 SSH 터널링을 사용해 서버 VNC에 연결하는 방법을 설명한다.