I hereby claim:
- I am TylerFisher on github.
- I am tylrfishr (https://keybase.io/tylrfishr) on keybase.
- I have a public key whose fingerprint is 02CC 8F1D CD3F 9F3E 9043 573E C4F9 D233 89B2 E288
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
This script for Google Spreadsheets allows you to generate slugs for your data such as might be used for creating unique urls.
Use it like this!
# | A | B | C |
---|---|---|---|
1 | a | b | slug |
2 | foo | baz bing | =slugify(A2:B4) |
3 | bar | BAZ | |
4 | FOO | baz-bing |
Now that we've all had a good face-to-face, we're going to accomplish two things today.
First, we're going to add a new route to your app.py
that will let you see a single incident / detainee by clicking on a link from your home page.
Second, we're going to walk through how CSS works and discuss how you might use Materialize to clean up your site's design.
import agate | |
data = {} | |
output = {} | |
""" | |
Converts all entries to lowercase for easier matching. | |
""" | |
def process_csv(): | |
lowered_list = [] |
The MIT License (MIT) | |
Copyright (c) 2014 NPR | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
The MIT License (MIT) | |
Copyright (c) 2014 NPR | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
The MIT License (MIT) | |
Copyright (c) 2014 NPR | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
// all variables I will use | |
var photosArray; | |
var photosArrayCounter; | |
var $visiblePhoto; | |
// all functions | |
var changePhoto = function() { | |
if ($(this).hasClass('next') && photosArrayCounter < photosArray.length) { |
<div {% if row.data_panel %} data-anchor="{{ row.data_panel.lower() }}" {% endif %} class="slide {% if row.extra_class %} {{ row.extra_class }} {% endif %}" style="{% if row.color %} background-color: {{ row.color }}; {% endif %}" {% if row.image %} data-bgimage="{{ row.image }}" {% endif %}> | |
<div class="text full-block {% if row.text_background == 'yes' %} text-bg {% endif %}"> | |
<div class="full-block-cell"> | |
<div class="full-block-content"> | |
{{ row.text }} | |
</div><!--full-block-content--> | |
</div><!--full-block-cell--> | |
</div><!--full-block--> | |
</div><!--slide--> |
{% for row in COPY.content %} | |
{% include "%s.html"|format(row.template) ignore missing %} | |
{% endfor %} |