Skip to content

Instantly share code, notes, and snippets.

View wvanlit's full-sized avatar
👋

Wessel van Lit wvanlit

👋
View GitHub Profile
@wvanlit
wvanlit / palindrome_dates.py
Created October 1, 2019 11:13
A python script for discovering if a date is a palindromic date, when the next palindromic date is and when this date will be planidromic next.
from datetime import datetime, timedelta
import datedelta
def checkIfPalindrome(string):
length = len(string)
even = length%2==0
for i in range(int(length/2)):
if string[i] != string[length-1 - i]:
return False
@wvanlit
wvanlit / keybase.md
Created September 19, 2019 10:30
Keybase Gist

Keybase proof

I hereby claim:

  • I am wvanlit on github.
  • I am veleon (https://keybase.io/veleon) on keybase.
  • I have a public key ASD_mmYr-eGWCubJQdI8lWBMDKIfHRQXDFHs5Gf1_J5qHQo

To claim this, I am signing this object: