Wireguard Connection Monitoring Script For Dynamic IP

To ensure healthy bi-directional connection, Wireguard comes with “persistent keep alive” function for peers to ping the server regularly such that the server can reach the peer sitting behind a firewall. However, problems arise when the server has a dynamic IP, and when the server IP changes the peer does not know to update the old IP by resolving the server domain name again. There needs a way for the peer to monitor the connection and update the resolved server IP as needed (not a built-in function currently in the official Wireguard release). The following Wireguard Connection Monitoring Script can be run as a scheduled cron job in Linux/Ubuntu environment to achieve the desired effect.

The script works by pinging the server’s internal address to determine if the connection is still valid. If the ping fails 3 times, the connection is considered failed and Wiregaurd interface will be restarted.

TLDR: This script automatically forces the peer client to restart so servers with dynamic IP can be updated as appropriate.

PS. For windows client, you can run scheduled batch script to do the same thing.

Continue Reading

Minecraft Mob Egg Drop Plugin for Spigot and Paper

This Minecraft Plugin enables mobs to drop spawn egg based on individually customizable drop rates.

This Minecraft Mob Egg Drop Plugin adds the ability for mobs to drop spawn eggs on death. The drop rate is customizable for each type of mobs. The plugin supports any servers with Bukkit API such as Spigot or Paper.

Supported Servers: Spigot, Paper, etc.
Tested Minecraft Version: 1.19.3

Continue Reading

AuthMe WordPress Integration Plugin

AuthMe Reloaded WordPress Integration Plugin allows player to register directly on WordPress pages.

AuthMe Reloaded is a popular Minecraft server plugin that provides authentication for offline servers. However, one shortcoming is that there are very few tools for website integration. AuthMe Reloaded WordPress Integration plugin allows players to directly register an account on any WordPress pages by utilizing a simple shortcode to embed a registration form.

Continue Reading

How to Setup Wireguard VPN Server On Windows

wireguard server for windows tutorial

This tutorial goes through the process of setting up a Wireguard server on Windows. Most Wireguard tutorials on the internet only give you the choice of hosting a server in a Linux environment. However, it is very possible to setup a windows server.

After searching for a tutorial to no avail, I spent a couple days to figure out the best way to do it and how to automate the process. Ideally you would still want to run it in an Linux environment, but if you have a use case for a windows server like me, you would appreciate just how flexible Wireguard is!

Prerequisite

  • Latest Wireguard Windows Client installed (Download here from official site)
  • Setup firewall rules (just as you would for a Linux server setup: open and forward ports 51820, configure ddns etc)

Disclaimer
Using Wireguard on Windows as server is not officially supported. Use at your own risk.

Continue Reading

Off-Grid Tiny House Project Resources

  • Post author:
  • Post last modified:January 20, 2020
  • Post category:Projects
  • Post comments:0 Comments

This page contains the resources that will be useful for projects in the future. Channels: HandeemanLiving Big In A Tiny House Kirsten DirksenExploring Alternatives Logistics: Water System: https://www.youtube.com/watch?v=oyPwFXifqw0 Energy Designs:…

Step 1 Score For Non-US IMG

Courtesy of Michael Dworkin from medschoolgurus.com

What are the average USMLE scores for US and non-US IMGs who matched vs those who did not match overall?
US-IMGs who matched vs those who did not match had an average USMLE Step 1 and Step 2 CK scores of 222 and 232 vs 212 and 222.
Non-US-IMGs who matched vs those who did not match had an average USMLE Step 1 and Step 2 CK scores of 234 and 240 vs 221 and 228.
Thus, in general, non-US-IMGs have to score about 10 points higher on both USMLE Step 1 and USMLE Step 2 CK on average in order to match.
 

Continue Reading

M.2 NVME POST Error Code 97 Solution (PCIE Error on ASRock X99 Taichi & STRIX GTX 980)

ASRock Taichi Error 97In my past experience of assembling over 15 systems or so for friends and family I have seen some mind blowing bugs and error codes. I’ve also heard some pretty weird anecdotes about how computer will only post if you perform certain rituals. However, this particular issue I’ve encountered with M.2 NVME drives with this particular motherboard blows all those stories out of the park.

Continue Reading

Canadian IMG J1 vs. H1b Visa Information

  • Post author:
  • Post last modified:April 25, 2018
  • Post category:IMG Resources
  • Post comments:0 Comments

Courtesy of randomguy91 from USMLE forum

– J1 Visa is sponsored only by the ECFMG and not by the program. Program has nothing to do with you obtaining a J1 visa, and all legal fees are paid by applicant.
– To be eligible for the J1 Visa, you must match and you must provide a statement of need from the Canadian Government (Health Canada)
– There is no pre-conditions for you to obtain a Statement of Need from Health Canada such as exams or return of service.
– Only condition of obtaining a J1 visa by the US Government is that you will need to return to your home country for 2 years prior to being able to apply for green card or any other visa.
– J1 Visa maximum length is 6 years

Big Misconception:
– You do NOT need to complete any exams such as MCCEE or MCQE1 to get Statement of Need. However, when returning to Canada to practice, you will need to complete MCCEE, MCQE1/2, and Specialty specific Boards exams.

Continue Reading

Canadian IMG Friendly US List (2015-2017)

  • Post author:
  • Post last modified:April 25, 2018
  • Post category:IMG Resources
  • Post comments:0 Comments

Courtesy of Vincent Chan from Facebook.

Programs that visa requiring SGU grads have matched at (99% J1, maybe 1% H1b);
**Note just because a hospital is not on this list does not mean that they did not interview Canadians. It just means that they did not match a candidate requiring a visa from SGU (ie; maybe they took a Canadian from SABA so they won’t appear on my list). Therefore this list is not inclusive and is not meant to be used to narrow your program applications down to 50 programs.
***Note that my list might also be incomplete

Continue Reading