Skip to content

Instantly share code, notes, and snippets.

View JohnSundarraj's full-sized avatar
🇮🇳
Proud Tamil speaking Indian.

John Sundarraj JohnSundarraj

🇮🇳
Proud Tamil speaking Indian.
View GitHub Profile
@JohnSundarraj
JohnSundarraj / MySQL.py
Last active June 1, 2022 20:05
Singleton Database Classes
class MySQL(object):
__Instance = None
# Initializer.
def __init__(self):
if self.__class__.__Instance:
return
else:
self.__class__.__Instance = self
self.Conf = DBConf()['MySQL']
@JohnSundarraj
JohnSundarraj / config.json
Last active August 29, 2015 14:01
Bootstrap Reload
{
"vars": {
"@gray-darker": "lighten(#000, 13.5%)",
"@gray-dark": "lighten(#000, 20%)",
"@gray": "lighten(#000, 33.5%)",
"@gray-light": "lighten(#000, 60%)",
"@gray-lighter": "lighten(#000, 93.5%)",
"@brand-primary": "#428bca",
"@brand-success": "#23AE89",
"@brand-info": "#1C7EBB",