From a7abde7d7878803b3123ff14c8f8619f8bd336c6 Mon Sep 17 00:00:00 2001 From: Caleb Hyde Date: Sat, 13 May 2017 08:28:12 -0500 Subject: [PATCH 1/4] May 2017 event --- README.markdown | 8 ++-- .../2017/pykc_coffee_20170513.md | 45 +++++++++++++++++++ 2 files changed, 49 insertions(+), 4 deletions(-) create mode 100644 content/meeting-notes/2017/pykc_coffee_20170513.md diff --git a/README.markdown b/README.markdown index f84d342..5fe3b0b 100644 --- a/README.markdown +++ b/README.markdown @@ -6,17 +6,17 @@ This is the source repository for the `pythonkc.github.io` GitHub Pages output r --- Make sure you are in the top-level directory of the repoistory. ```shell -$ pelican content/ +git clone git@github.com:fle/pelican-sober.git +pelican content/ ``` ## How to view the site locally --- Make sure you are in the top-level directory of the repository. ```shell -$ cd output -$ python -m pelican.server +pushd output; python -m pelican.server; popd ``` -Visit [`http://localhost:8000/`](http://localhost:8000/) in your browser. +Visit [http://localhost:8000/](http://localhost:8000/) in your browser. ## How to deploy to `https://pythonkc.github.io/` Make sure you are in the top-level directory of the repository. diff --git a/content/meeting-notes/2017/pykc_coffee_20170513.md b/content/meeting-notes/2017/pykc_coffee_20170513.md new file mode 100644 index 0000000..4d7c3aa --- /dev/null +++ b/content/meeting-notes/2017/pykc_coffee_20170513.md @@ -0,0 +1,45 @@ +Title: PythonKC May 2017 Coffee & Code +Date: 2017-05-13 00:00 +Category: Meeting Notes +Tags: pythonkc, coffee & code +Summary: Meeting notes for May 2017 PythonKC Coffee & Code + +```python +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + +from datetime import date +today = date(2017, 5, 13) + +def greetings(): + print("Welcome to PythonKC Coffee & Code.") + print("Today is {}".format(today.strftime("%A, %B %d, %Y"))) + print("Thanks to the Johnson County Library system for hosting.") + +if __name__ == '__main__': + greetings() +``` + +## PythonKC Coffee & Code + +* [May 13th 2017](https://www.meetup.com/pythonkc/events/239247016/) +* [JoCo Library, Cedar Roe](https://www.jocolibrary.org/locations/cedarroe) + +## Upcoming Events + +* [June TechTalk : KCWiT X Python KC Joint Meetup](https://www.eventbrite.com/e/june-techtalk-kcwit-x-python-kc-joint-meetup-tickets-32515143670?aff=website) +* [Django Girls workshop](https://djangogirls.org/kansascity/) +* [International Association for Social Science Information Services & Technology (IASSIST) Annual Conference](https://kupce.ku.edu/iassist-conference) +* [DevOpsDays KC 2017 CFP](https://www.papercall.io/devopsdayskc) + +## Python News and Resources + +* [Py-backwards (Python to python compiler)](https://github.com/nvbn/py-backwards#py-backwards-) +* [Write Fast Apps Using Async Python 3.6 and Redis](https://eng.paxos.com/write-fast-apps-using-async-python-3.6-and-redis) +* [Asynchronous Programming in Python | Asyncio](http://djangostars.com/blog/asynchronous-programming-in-python-asyncio/) +* [Queues in Python](https://dbader.org/blog/queues-in-python#) +* [Generating Fake Data for Python Unit Tests with Faker](https://semaphoreci.com/community/tutorials/generating-fake-data-for-python-unit-tests-with-faker) +* [Same Stats, Different Graphs](https://www.autodeskresearch.com/publications/samestats) +* [ Beginner’s Guide to Neural Networks in Python](https://www.springboard.com/blog/beginners-guide-neural-network-in-python-scikit-learn-0-18/) +* [osh (Object Shell)](https://github.com/geophile/osh) +* [Statistical Data Analysis in Python (SciPy 2013)](https://github.com/fonnesbeck/statistical-analysis-python-tutorial) From eb018551049ffb7a0fb43366f9039b22cedbab92 Mon Sep 17 00:00:00 2001 From: Caleb Hyde Date: Sat, 13 May 2017 08:29:07 -0500 Subject: [PATCH 2/4] Git push via git not https --- README.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 5fe3b0b..c78b992 100644 --- a/README.markdown +++ b/README.markdown @@ -21,7 +21,7 @@ Visit [http://localhost:8000/](http://localhost:8000/) in your browser. ## How to deploy to `https://pythonkc.github.io/` Make sure you are in the top-level directory of the repository. ```shell -$ ghp-import output -$ git push https://github.com/pythonkc/pythonkc.github.io.git gh-pages:master --force +ghp-import output +git push git@github.com:pythonkc/pythonkc.github.io.git gh-pages:master --force ``` Visit [`https://pythonkc.github.io/`](https://pythonkc.github.io/) in your browser to verify the deployment. From 0f67d183ed42d36d91e0f9e39836a135f85e7d04 Mon Sep 17 00:00:00 2001 From: Caleb Hyde Date: Sat, 13 May 2017 08:29:54 -0500 Subject: [PATCH 3/4] git-ignore pelican-sober folder --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 815bc6b..2081fed 100644 --- a/.gitignore +++ b/.gitignore @@ -310,3 +310,4 @@ GitHub.sublime-settings ### pythonkc.github.io-src ### output +pelican-sober/ From 95396dd1e7ec4dc9d36b5f5a83f50659480118a2 Mon Sep 17 00:00:00 2001 From: Caleb Hyde Date: Sat, 13 May 2017 09:01:42 -0500 Subject: [PATCH 4/4] Add workshop notes from Jon --- content/meeting-notes/2017/pykc_coffee_20170513.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/meeting-notes/2017/pykc_coffee_20170513.md b/content/meeting-notes/2017/pykc_coffee_20170513.md index 4d7c3aa..cd79acc 100644 --- a/content/meeting-notes/2017/pykc_coffee_20170513.md +++ b/content/meeting-notes/2017/pykc_coffee_20170513.md @@ -43,3 +43,9 @@ if __name__ == '__main__': * [ Beginner’s Guide to Neural Networks in Python](https://www.springboard.com/blog/beginners-guide-neural-network-in-python-scikit-learn-0-18/) * [osh (Object Shell)](https://github.com/geophile/osh) * [Statistical Data Analysis in Python (SciPy 2013)](https://github.com/fonnesbeck/statistical-analysis-python-tutorial) + +## Command Line Workshop Resources + +* [Udacity Linux Command Line Basics](https://www.udacity.com/course/linux-command-line-basics--ud595) - A free course teaching the Linux command line. +* [Argparse Tutorial](https://docs.python.org/3.6/howto/argparse.html) - How to use Python's built-in `argparser` module to build command line applications. +* [Cloud9 IDE](https://c9.io/) - An easy, free way to get to a Linux command line if you don't have a Linux machine/VPS or feel like fighting with Virtual Machines.