Miscellaneous Codes From Varios Projects