I hereby claim:
- I am wilhelmklopp on github.
- I am wilhelmklopp (https://keybase.io/wilhelmklopp) on keybase.
- I have a public key ASC8ne8tNPvmR1nHlZVhgwQuE-wgWH6JQE_wOjlOimbD3go
To claim this, I am signing this object:
# urls.py | |
from django.conf.urls import url | |
from main import views | |
urlpatterns = [ | |
url(r'^oauthcallback/', views.oauthcallback) | |
] | |
# models.py | |
from django.db import models |
# The following snippet DOES NOT work | |
import requests | |
import datetime | |
tomorrow = datetime.date.today() + datetime.timedelta(days=1) | |
api_key = "YOUR-API-KEY-HERE" |
.DS_store | |
*.sqlite3 | |
.env | |
*.rdb | |
*.pyc |
Install Instructions for the MLH Prime GitHub GraphQL API Workshop | |
1. GraphiQL desktop app (you don't strictly needs this, but it makes tihngs easier) | |
If you're on a Mac | |
- If you don't have Brew, install it from here: https://brew.sh/ | |
- if you already have brew run: brew cask install graphiql | |
If you're on Windows or Linux | |
- Make sure you have npm installed. (Get node and npm here: https://nodejs.org/en/) |
{"data":{"viewer":{"repositories":{"edges":[{"node":{"languages":{"edges":[{"node":{"name":"Python","color":"#3572A5"}},{"node":{"name":"CSS","color":"#563d7c"}},{"node":{"name":"JavaScript","color":"#f1e05a"}},{"node":{"name":"HTML","color":"#e34c26"}}]}}},{"node":{"languages":{"edges":[{"node":{"name":"CSS","color":"#563d7c"}}]}}},{"node":{"languages":{"edges":[{"node":{"name":"Python","color":"#3572A5"}},{"node":{"name":"HTML","color":"#e34c26"}},{"node":{"name":"Shell","color":"#89e051"}},{"node":{"name":"CSS","color":"#563d7c"}},{"node":{"name":"JavaScript","color":"#f1e05a"}}]}}},{"node":{"languages":{"edges":[]}}},{"node":{"languages":{"edges":[{"node":{"name":"Python","color":"#3572A5"}},{"node":{"name":"CSS","color":"#563d7c"}},{"node":{"name":"HTML","color":"#e34c26"}}]}}},{"node":{"languages":{"edges":[{"node":{"name":"Ruby","color":"#701516"}},{"node":{"name":"HTML","color":"#e34c26"}},{"node":{"name":"CSS","color":"#563d7c"}},{"node":{"name":"JavaScript","color":"#f1e05a"}}]}}},{"node":{"language |
I hereby claim:
To claim this, I am signing this object:
{ | |
"Section block": { | |
"prefix": "section block", | |
"body": [ | |
"{", | |
"\t\"type\": \"section\",", | |
"\t\"text\": {", | |
"\t\t\"type\": \"mrkdwn\",", | |
"\t\t\"text\": \"$TM_SELECTED_TEXT$0\"", | |
"\t}", |
Check out my internet homepage wilhelmklopp.com |
def fib(n): | |
if n: | |
return n == 1 and n or fib(n - 1) + fib(n - 2) | |
return 0 | |
def A(m, n, s="% s"): | |
if m == 0: | |
return n + 1 | |
if n == 0: |