Options +Indexes | |
<Files *> | |
AuthType Basic | |
AuthName "Please enter your username and password." | |
AuthUserFile .htpasswd | |
Require valid-user | |
</Files> |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import urllib2 | |
gh_url = 'https://api.github.com' | |
req = urllib2.Request(gh_url) | |
password_manager = urllib2.HTTPPasswordMgrWithDefaultRealm() |
import random | |
def spiritual_gifts(): | |
# Define the community of believers | |
believers = [] | |
# Initialize the gifts of the Spirit | |
possible_gifts = ["Prophecy", "Serving", "Teaching", "Exhortation", "Giving", "Leadership", "Mercy"] | |
gifts_of_spirit = {} |
# The Seven Rays concept from the esoteric teachings of Alice A. Bailey can be described using Python code | |
# in a metaphorical way. The code will outline each Ray and its associated qualities. | |
# Define the Seven Rays as a dictionary | |
seven_rays = { | |
"1st Ray": { | |
"Name": "Ray of Will or Power", | |
"Qualities": ["Power", "Will", "Purpose", "Leadership"], | |
"Color": "Red" | |
}, |
# I Corinthians 13 - ESV, Presented in PEP 8 Style | |
# Importing essential virtues | |
from christian_values import love | |
def chapter_13(): | |
""" | |
This function describes the characteristics and importance of love, | |
following the guidelines of I Corinthians 13 in the Bible (ESV). | |
""" |
import os | |
import marvin | |
from serpapi import Client as SerpApi | |
serpapi = SerpApi(api_key=os.environ['SERPAPI_API_KEY']) | |
@marvin.ai_fn | |
def get_suggested_keywords(org_name: str) -> list[str]: |
import os | |
import pymongo | |
MONGO_URL = os.environ.get('MONGOHQ_URL') | |
if MONGO_URL: | |
# Get a connection | |
conn = pymongo.Connection(MONGO_URL) | |
# Get the database |
"Other developers are just like us - weird"
"If you ever need to deploy Django, you're good. If you know Capistrano and Unicorn they've got rip-offs of all that stuff."
"I think we should all admit we're horrible coders and move on" "We're all drug addicts - we're fighting methods..."
"It's easy to learn to play the guitar and be able to play Bob Dylan and Weezer and never get better."
"This is basically a talk that was given 30 years ago. We just have to keep giving it every few years because young guys come along and forget it."
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: