mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-07 09:02:29 +00:00
port to gitlab.
This commit is contained in:
43
content/post/first-post.md
Normal file
43
content/post/first-post.md
Normal file
@@ -0,0 +1,43 @@
|
||||
---
|
||||
title: "First Post"
|
||||
date: 2018-07-13T08:52:45-04:00
|
||||
lastmod: 2018-07-13T08:52:45-04:00
|
||||
draft: false
|
||||
keywords: []
|
||||
description: "introduction"
|
||||
tags: ['python', 'golang', 'javascript']
|
||||
categories: ['random']
|
||||
author: "Dave Gallant"
|
||||
|
||||
# You can also close(false) or open(true) something for this content.
|
||||
# P.S. comment can only be closed
|
||||
comment: true
|
||||
toc: false
|
||||
autoCollapseToc: false
|
||||
postMetaInFooter: false
|
||||
hiddenFromHomePage: false
|
||||
# You can also define another contentCopyright. e.g. contentCopyright: "This is another copyright."
|
||||
contentCopyright: false
|
||||
reward: false
|
||||
mathjax: false
|
||||
mathjaxEnableSingleDollar: false
|
||||
mathjaxEnableAutoNumber: false
|
||||
|
||||
# You unlisted posts you might want not want the header or footer to show
|
||||
hideHeaderAndFooter: false
|
||||
|
||||
# You can enable or disable out-of-date content warning for individual post.
|
||||
# Comment this out to use the global config.
|
||||
#enableOutdatedInfoWarning: false
|
||||
|
||||
flowchartDiagrams:
|
||||
enable: false
|
||||
options: ""
|
||||
|
||||
sequenceDiagrams:
|
||||
enable: false
|
||||
options: ""
|
||||
|
||||
---
|
||||
|
||||
Hello. This is the first post. My plan is to pour useful code snippets, tips and tricks into these pages. I have a fond interest in programming (especially with Python, TypeScript and Golang). Hopefully something within these pages will help you out in your journey.
|
59
content/post/why-python.md
Normal file
59
content/post/why-python.md
Normal file
@@ -0,0 +1,59 @@
|
||||
---
|
||||
title: "Why Python Is My Goto"
|
||||
date: 2018-07-14T22:48:15-04:00
|
||||
draft: true
|
||||
keywords: []
|
||||
description: ""
|
||||
tags: ['python', 'pip']
|
||||
categories: ['python']
|
||||
author: "Dave Gallant"
|
||||
|
||||
# You can also close(false) or open(true) something for this content.
|
||||
# P.S. comment can only be closed
|
||||
comment: true
|
||||
toc: false
|
||||
autoCollapseToc: false
|
||||
postMetaInFooter: false
|
||||
hiddenFromHomePage: false
|
||||
# You can also define another contentCopyright. e.g. contentCopyright: "This is another copyright."
|
||||
contentCopyright: false
|
||||
reward: false
|
||||
mathjax: false
|
||||
mathjaxEnableSingleDollar: false
|
||||
mathjaxEnableAutoNumber: false
|
||||
|
||||
# You unlisted posts you might want not want the header or footer to show
|
||||
hideHeaderAndFooter: false
|
||||
|
||||
# You can enable or disable out-of-date content warning for individual post.
|
||||
# Comment this out to use the global config.
|
||||
#enableOutdatedInfoWarning: false
|
||||
|
||||
flowchartDiagrams:
|
||||
enable: false
|
||||
options: ""
|
||||
|
||||
sequenceDiagrams:
|
||||
enable: false
|
||||
options:
|
||||
---
|
||||
|
||||
Python is a high-level, general-purpose language that has a wide range of use cases.
|
||||
|
||||
Back-end web server? Sure, Django, Flask, Pyramid?
|
||||
|
||||
Test automation? Pytest
|
||||
|
||||
<!--more-->
|
||||
|
||||
Do you want to download a webpage? Simple:
|
||||
|
||||
{{< highlight python >}}
|
||||
|
||||
import requests
|
||||
|
||||
print(requests.get('https://www.theregister.co.uk/').text)
|
||||
|
||||
{{< /highlight >}}
|
||||
|
||||
After that, there is any number of things to do with it.
|
Reference in New Issue
Block a user