This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Levenshtein | |
def levenshtein(s1: str, s2: str) -> float: | |
''' | |
0.0 means perfect match | |
0.1 very possible match | |
0.2 less possible match | |
0.3 likely not a match | |
''' | |
def processor(_string: str) -> str: | |
_string = _string.upper() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A priest and a shepherd from Australia participate in a TV game. After answering all the questions, there is a tie. | |
So both are given one final assignment. It is to write a poem in three minutes, using the word "Timbuktu". | |
It is a city in Africa. | |
The priest returns with the fruit of his inspiration: | |
"I was a father all my life, | |
I had no children, had no wife, | |
I read the bible through and through | |
on my way to Timbuktu ... " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# after appcleaner does his magic, do this | |
sudo rm -rf "/Library/Application Support/Paragon Software/" | |
sudo rm /Library/LaunchDaemons/com.paragon-software.installer.plist | |
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfs.loader.plist | |
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfsd.plist | |
sudo rm /Library/LaunchAgents/com.paragon-software.ntfs.notification-agent.plist | |
sudo rm -rf /Library/Filesystems/ufsd_NTFS.fs/ | |
sudo rm -rf /Library/PrivilegedHelperTools/com.paragon-software.installer | |
sudo rm -rf /Library/Extensions/ufsd_NTFS.kext/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# | |
# A simple python script to convert a directory full of avi, mp4, and mkv to | |
# iPad compatible videos | |
# | |
# Copyright Leo Mendoza (2012), released as is. | |
# | |
import glob | |
import os |