FY21: H1 OKR Planning - [Objective name]
As discussed in today's Docs Weekly post, we're kicking off OKR planning today.
[objective lead]
pre { | |
padding: 20px; | |
color: #ffffff; | |
background: #434343; } | |
body .gist .line-data, body .gist .file-data, body .gist .line-numbers { | |
color: #ffffff; | |
background: #434343; } | |
body .gist .gist-meta { | |
color: #ffffff; |
#!/usr/bin/env python | |
"""Python trie implementation.""" | |
__author__ = "Chiedo John" | |
__copyright__ = "Copyright 2015, Chiedo, Inc." | |
__license__ = "GPL" | |
__version__ = "1.0.0" | |
__maintainer__ = "Chiedo John" | |
FY21: H1 OKR Planning - [Objective name]
As discussed in today's Docs Weekly post, we're kicking off OKR planning today.
[objective lead]
Add this to /etc/exports on your mac
# BOOT2-DOCKER-BEGIN
/Users 192.168.59.103 -alldirs -mapall=501:20
# BOOT2-DOCKER-END
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World</title> | |
<script src="script.js"></script> | |
<link rel="stylesheet" type="text/css" href="style.css"> | |
</head> | |
<body> | |
Hello World |
[uwsgi] | |
socket = 127.0.0.1:5000 | |
threads = 2 | |
master = True | |
chdir = PATH TO YOUR APP | |
# The module entry point for your app. For my purposes, it is project:app | |
module = project:app | |
pythonpath = PATH TO YOUR PYTHON EXECTUABLE | |
pythonpath = PATH TO YOUR APP | |
# Add environment variables. |
<?php | |
/* | |
* Verifies if the captcha data via Google and redirects to the form page if the captcha does not pass. | |
* | |
* Parameters: | |
* Gcaptcha response - the form data submitted with the request. | |
** Example call if your form used method='get': verify_captcha($_GET['g-recaptcha-response'], "Secret key here"); | |
** Example call if your form used method='post': verify_captcha($_POST['g-recaptcha-response'], "Secret key here"); | |
*/ | |
function verify_google_captcha($gcaptcha_response, $secret) { |
var fs = require('fs-extra-promise') //install this package | |
var sm = require('sitemap') // install this package | |
function pagesToSitemap(pages) { | |
var urls = pages.map(function(p) { | |
if (p.path !== undefined) { | |
return { | |
url: p.path, | |
changefreq: 'daily', | |
priority: 0.7 |
""" | |
Run this backup script daily with a cronjob. Will Store 4 backups of each at a time. | |
It could obviously be modified to support more backups. It is written in a quick and dirty fashion. | |
... It's a backup script that works. Who cares? | |
dependencies: | |
- EC2 API Tools | |
Be sure to set up environment variables for AWS_ACCESS_KEY and AWS_SECRET_KEY | |
""" |
I hereby claim:
To claim this, I am signing this object: