Skip to content

Instantly share code, notes, and snippets.

View mejutoco's full-sized avatar

Jesus Mejuto mejutoco

View GitHub Profile
Singular form ending in
Masculine Feminine Neutral
-ich -ei -chen
-ig -in -lein
-ling -heit -icht
-s -keit -tel
-and -schaft -tum
-ant -ung -eau
-är -a -ett
word gender
ich n
ist n
es n
was m
ich n
ist n
es n
was m
<!--
if using jekyll, indents wrap html into pre tag
so dont indent html
-->
<script type="text/javascript" src="/assets/js/jquery-3.5.0.min.js"></script>
<div class="subscribe-to-newsletter">
<div class="top">
<h3 class="title">Receive new articles in your inbox</h3>
<h4 class="subtitle">Never more than once a week</h4>
# views.py
from django.views.decorators.csrf import csrf_exempt
from django.http import JsonResponse
import requests
from django.utils.decorators import method_decorator
from django.views import View
@method_decorator(csrf_exempt, name='dispatch')
class AirtableProxy(View):
airtable_base = 'YOUR_BASE_ID'
# urls.py
# ...
url(r'^/api/newsletter/$',
# replace yourapp with the name of your app
yourapp.AirtableProxy.as_view(airtable_method='POST',
airtable_base='YOUR_BASE_ID',
airtable_table='email_subscribers'),
name='airtable_proxy'),
# ...
.subscribe-to-newsletter {
width: 100%;
height: 283px;
background: #F5CDB4;
padding: 25px;
display: grid;
/*@formatter:off*/
grid: 'top'
'bottom';
<!--
if using jekyll, indents wrap html into pre tag
so dont indent html
-->
<script type="text/javascript" src="/assets/js/jquery-3.5.0.min.js"></script>
<div class="subscribe-to-newsletter">
<div class="top">
<h3 class="title">Receive new articles in your inbox</h3>
<h4 class="subtitle">Never more than once a week</h4>
# Example request
# the real base id has been replaced by YOUR_BASE_ID here
curl "https://api.airtable.com/v0/YOUR_BASE_ID/email_subscribers\
?maxRecords=3&view=Grid%20view" \
-H "Authorization: Bearer YOUR_API_KEY"
Example response
{