Skip to content

Instantly share code, notes, and snippets.

View 0fca's full-sized avatar
💻
I am a nerd, I mean, an engineer

Lukas 0fca

💻
I am a nerd, I mean, an engineer
View GitHub Profile
@borisovonline
borisovonline / debian-personalvpn.md
Last active September 21, 2025 18:17
Create a personal VPN server based on Linux Debian and strongSwan

Tutorial: how to create a personal VPN server based on Linux Debian, strongSwan, certificates authentification and ready to use .mobileconfig profiles to use on iPhone, iPad and Mac

This is a part of a big article I posted on Medium. Here is only a tutorial.

We're going to create a personal VPN server, using the following technologies:

  • IKEv2 as a VPN protocol
  • Linux Debian as a server OS
  • strongSwan as a VPN server
  • Certificates as an authentication method

You can use this tutorial on any hosting you prefer.

// Credits to Vesim987
// - no structures
// - no headers
// - maximum 2 called functions
// - one declared function
// - no defined functions
// - mindfuck
//monster:
#define DWORD unsigned long
@haisi
haisi / EditableTableFX.java
Last active July 24, 2025 21:04
Editable JavaFX TableView with textfield, datepicker and dropdown menu
/*
* Just copy and paste the code.
*/
package editabletableview;
import java.time.LocalDate;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter;
import java.time.format.FormatStyle;
import java.util.Date;