MySQL internal db on same server as use
- Log into mysql
- View existing databases
- Create new database
- Create new superuser for new database
- Grant all privileges to superuser for new database
- Flush privileges
MySQL internal db on same server as use
def strftime(value, format='%d %b %Y'): | |
return value.strftime(format) | |
def strptime(value, format='%Y-%m-%d'): | |
return datetime.datetime.strptime(value, format) | |
flatten = lambda l: [item for sublist in l for item in sublist] |
{# Filter out None or empty string values from list #} | |
{# ################################################ #} | |
{# Given: responses = list of object with "rating" attribute #} | |
{% set ratings = responses|map(attribute='rating')|select('string')|map('length')|select('gt',0)|list %} |
function escapeHtml(unsafe) { | |
return unsafe | |
.replace(/&/g, "&") | |
.replace(/</g, "<") | |
.replace(/>/g, ">") | |
.replace(/"/g, """) | |
.replace(/'/g, "'") | |
} | |
function nl2br(str) { | |
return (str + '') |
Verifying my Blockstack ID is secured with the address 19is5c1Ejamch79L1piwjy3mzarCA12jGw https://explorer.blockstack.org/address/19is5c1Ejamch79L1piwjy3mzarCA12jGw |
I hereby claim:
To claim this, I am signing this object: