blogs and datestamps

This commit is contained in:
Tyrel Souza 2022-10-17 00:08:58 -04:00
parent 0ecd73a0b9
commit c12c0672f5
32 changed files with 58 additions and 52 deletions

View File

@ -4,7 +4,7 @@ Python Progress Bar
:author: tyrel
:category: Tech
:tags: Python
:slug: 2011-12-21-python-progress-bar
:slug: python-progress-bar
:status: published
I was looking for a nice progress bar today at work to show progress rather than just printing “\ **Waiting 30 seconds…**\ ” and having the script do nothing, I wanted to have a progress bar show.

View File

@ -4,7 +4,7 @@ Custom Django URLField
:author: tyrel
:category: Tech
:tags: python, django
:slug: 2012-01-05-custom-django-urlfield
:slug: custom-django-urlfield
:status: published
For work I had to write a custom url model field. This model field when setting up accepts a default protocol, and a list of other protocols.

View File

@ -4,7 +4,7 @@ You can un-expire a GPG key.
:author: tyrel
:category: Tech
:tags: linux, gpg
:slug: 2012-01-13-you-can-un-expire-a-gpg-key
:slug: you-can-un-expire-a-gpg-key
:status: published
Today we had a problem at work on a system. Without getting into too much detail as to give away secrets behind the verbal NDA I am behind, I will just say that it had to do with a GPG public key of mine that was expired on a dev machine, accidentally propagating during install to a production machine.

View File

@ -4,7 +4,7 @@ Vertical Bars In Graphite
:author: tyrel
:category: Tech
:tags: graphite, txStatsD
:slug: 2012-02-08-vertical-bars-in-graphite
:slug: vertical-bars-in-graphite
:status: published
I am working with txStatsD and Graphite. I was having the hardest problem looking through the txStatsD code today finding how to graph something as an event, not a data point. I eventually went into every option on the graphite dashboard and found an option to make a bar.

View File

@ -4,7 +4,7 @@ Hubspot
:author: tyrel
:category: Personal
:tags: hackathon
:slug: 2012-02-17-hubspot
:slug: hubspot
:status: published
I was invited to a Hackathon that one of our clients client was throwing. Being that I love programming and learning, I decided I would go.

View File

@ -4,7 +4,7 @@ Some BASH tips
:author: tyrel
:category: Tech
:tags: bash, linux
:slug: 2012-03-08-some-bash-tips
:slug: some-bash-tips
:status: published
I realize I havent updated in a while. I havent had much free time recently as Ive been working on a project for my father in C# after work hours. This is a great change from only working in Python and JavaScript recently. Im making a program that will analyze test results from a plasma torch for a company called HyperTherm. My father built the physical machine, but the employees want something that they can better see the results of a passed torch unit, or a failed torch unit. This program has a bar code scanner that scans the tool used in the test and matches it up to the lot of torch parts. Another added feature is the ability to print a white label that says “UNIT PASSED” or a giant red label that says the unit failed and which of the 8 tests failed were. I had to learn how to use delegates, as my serial event listener is on a separate thread and I cant update labels, or parts of the User Interface without them.  Still working on it, hopefully will wrap it up by Saint Patricks day.

View File

@ -4,7 +4,7 @@ Ganymede, Twilio
:author: tyrel
:category: Tech
:tags: nodejs, twilio
:slug: 2012-05-04-ganymede-twilio
:slug: ganymede-twilio
:status: published
Last night I wrote the beginnings of my first NodeJS application. Is application even the correct word?

View File

@ -3,7 +3,7 @@ Hypertherm
:date: 2012-05-07 23:30
:author: tyrel
:category: Personal
:slug: 2012-05-07-hypertherm
:slug: hypertherm
:status: published
For the past three months I have been upgrading and rewriting version 2 of my software for Hypertherm. I am under a contract for my fathers company. His company is developing a machine to test how well air flows (laminar flow) through a plasma cutting torch head, and how much air leaks out over a certain time (delta pressure loss).

View File

@ -4,7 +4,7 @@ Harry Delmolino
:author: tyrel
:category: Personal
:tags: friends
:slug: 2012-05-25-harry-delmolino
:slug: harry-delmolino
:status: published
I met this random kid online on IRC a year and a half ago (I believe it was December 19th, 2010). His name was HarryD. We got talking and one time he mentioned that he was going to hike Mount Monadnock. That is near me so we got talking and he said he lived near North Hampton, MA. That was cool that I met some random kid who lived near me. He was only 17 at the time.

View File

@ -4,7 +4,7 @@ CFEngine3 Install on CentOS 5.7
:author: tyrel
:category: outdated
:tags: cfengine, centos
:slug: 2012-05-25-cfengine3-install-on-centos-5-7
:slug: cfengine3-install-on-centos-5-7
:status: published
| Today I was tasked with installing CFEngine3 on CentOS-5.7 (A little outdated). When installing CFEngine-3.3.1 I kept getting an error that I couldnt find libtokyocabinet.so.9. I had to set my prefix to /usr/ because the location that tokyocabinet was installing my libraries to was not being read by CFEngines make script.

View File

@ -4,7 +4,7 @@ Getting started in Python Part 1
:author: tyrel
:category: Tech
:tags: python2, pip, virtualenv
:slug: 2013-07-02-getting-started-in-python-part-1
:slug: getting-started-in-python-part-1
:status: published
I have a friend who is interested in becoming a Python developer. He has some Python experience with CodeAcademy, but he of course wants to take this a step further and develop on his own computer. I figure Id give him a few pointers, and I know this has been rehashed a million times, but what the hell, why not blog on it again.

View File

@ -4,7 +4,7 @@ Help, I have too many Django ManyToMany Queries [FIXED]
:author: tyrel
:category: Tech
:tags: python, django, bugs
:slug: 2013-08-06-help-i-have-too-many-django-manytomany-queries-fixed
:slug: help-i-have-too-many-django-manytomany-queries-fixed
:status: published
My boss tasked me with getting the load time of 90 seconds(HOLY CARP!) on one page down. First thing I did was install the Django Debug Toolbar to see what was really happening.

View File

@ -4,7 +4,7 @@ How to not trigger a post_save in Django, but still modify data.
:author: tyrel
:category: Tech
:tags: django, python
:slug: 2013-11-13-how-to-not-trigger-a-post_save-in-django-but-still-modify-data
:slug: how-to-not-trigger-a-post_save-in-django-but-still-modify-data
:status: published
Recently I have been diving into using signals with Django, which of course are pretty neat.

View File

@ -4,7 +4,7 @@ Readline
:author: tyrel
:category: Tech
:tags: readline, linux, cli
:slug: 2014-06-21-readline
:slug: readline
:status: published
A lot of times when I stop at someones computer and help them in the terminal, I use a Readline command and people say “How the heck did you do that?”

View File

@ -4,7 +4,7 @@ First day back in Java since college
:author: tyrel
:category: Tech
:tags: java
:slug: 2014-10-01-java
:slug: java
:status: published
Recently I decided I wanted to learn Java again. I last programmed in Java when I was in College and that was the main language they taught in. I wouldnt say I was a great Java developer, although I completed every Java course well enough to get an A or better.

View File

@ -4,7 +4,7 @@ SSH Agent on “boot”
:author: tyrel
:category: Tech
:tags: linux, ssh
:slug: 2015-01-09-ssh-agent-on-boot
:slug: ssh-agent-on-boot
:status: published
I had a friend complain that he had to keep adding his ssh key to his ssh-agent every time he rebooted. I have a really easy bit of shell code you can put into your .bashrc or your .zshrc file:

View File

@ -4,7 +4,7 @@ Python Debugger
:author: tyrel
:category: Tech
:tags: python, pdb
:slug: 2015-01-13-python-debugger
:slug: python-debugger
:status: published
When I worked at Propel Marketing, my dev team used to have presentations on things they loved. I love the Python debugger. Its very useful and I believe a proper understanding of how to use a debugger, will make you a better programmer. Here is a presentation on the debugger I made for my team. https://prezi.com/cdc4uyn4ghih/python-debugger/

View File

@ -4,7 +4,7 @@ Too many open files
:author: tyrel
:category: Tech
:tags: python, linux, ulimit, bugs
:slug: 2015-01-28-too-many-open-files
:slug: too-many-open-files
:status: published
When I worked at Propel Marketing, we used to outsource static websites to a third party vendor, and then host them on our server. It was our job as developers to pull down the finished website zip file from the vendor, check it to make sure they used the proper domain name, (they didnt a lot of the time,) and make sure it actually looks nice. If these few criteria were met, we could launch the site.

View File

@ -3,7 +3,7 @@ Hello, world!
:date: 2021-10-31 19:10
:author: tyrel
:category: Blog
:slug: 2021-10-31-hello-world
:slug: hello-world
:status: published
This blog here I want to keep some permanent tech thoughts in more written form than my `Wiki <https://tyrel.website/wiki/>`__ where I keep the majority of my written work. I do have a `flight blog <https://k3tas.radio/airband>`__, which has a lot of customization for maps and such that I don't want on here.

View File

@ -4,7 +4,7 @@ Python3 GitHub CLI tool as a refresher
:author: tyrel
:category: Tech
:tags: python, cli
:slug: 2021-11-04-python3-github-cli-tool-as-a-refresher
:slug: python3-github-cli-tool-as-a-refresher
:status: published
It's no lie that I love terminals. I wish I could live on a terminal and never really need to see a GUI application again.

View File

@ -4,7 +4,7 @@ Finished my GitHub CLI tool
:author: tyrel
:category: Tech
:tags: python, cli
:slug: 2021-11-05-finished-my-github-cli-tool
:slug: finished-my-github-cli-tool
:status: published
I never intended this to be a full fleshed CLI tool comparable to the likes of the real GitHub CLI. This was simply a way to refresh myself and have fun. I have accomplished this, and am now calling this *"Feature Complete"*. You can play around with it yourself from the `repository on gitlab <https://gitlab.com/Tyrel/ghub>`__.

View File

@ -4,7 +4,7 @@ Postmortem of a fun couple bugs
:author: tyrel
:category: Tech
:tags: Go, dbus, bugs
:slug: 2021-11-11-postmortem-of-a-fun-couple-bugs
:slug: postmortem-of-a-fun-couple-bugs
:status: published
Story at my previous job:

View File

@ -4,7 +4,7 @@ Garage Door Opener
:author: tyrel
:category: Tech,
:tags: HomeAssistant, home
:slug: 2022-01-09-garage-door-opener
:slug: garage-door-opener
:status: published
I bought a house on October 9, 2020. This house has a garage door, and like any *normal person* of course I had to automate it.

View File

@ -4,7 +4,7 @@ An Update On Flying
:author: tyrel
:category: Personal
:tags: flying
:slug: 2022-05-07-an-update-on-flying
:slug: an-update-on-flying
:status: published
I took ten years to get my pilot's license. From March 17, 2010 to December 30, 2020. It was amazing. I now find myself a year and a half later from achieving my goal and I don't find myself interested enough right now to go flying. There's a gas crisis, there's a pandemic, there's a lot of political things going on, a war in Ukraine, that it kind of feels bad wasting hundreds of dollars just going sight seeing.

View File

@ -4,7 +4,7 @@ Writing an EPUB parser. Part 1
:author: tyrel
:category: Python
:tags: epub, python
:slug: 2022-06-01-writing-an-epub-parser-part-1
:slug: writing-an-epub-parser-part-1
:status: published
Parsing Epubs

View File

@ -4,7 +4,7 @@
:author: tyrel
:category: Tech
:tags: Linux, raspberrypi
:slug: 2022-06-02-monitoring-a-co2-tank-in-a-lab-with-a-raspberry-pi
:slug: monitoring-a-co2-tank-in-a-lab-with-a-raspberry-pi
:status: published
This was written in 2017, but I found a copy again, I wanted to post it again.

View File

@ -4,7 +4,7 @@ Scrollbar Colors
:author: tyrel
:category: Website
:tags: css
:slug: 2022-10-13-scrollbar-colors
:slug: scrollbar-colors
:status: published
Was talking to someone about CSS Nostalgia and "back in my day" when scrollbar colors came up.

View File

@ -4,7 +4,7 @@ New Blog - Pelican!
:author: tyrel
:category: Blog
:tags: python, pelican
:slug: 2022-10-16-pelican-new-blog
:slug: pelican-new-blog
:status: published
If you have read the previous post, and then looked at this one, there are a LOT of changes that happened.

BIN
content/extra/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -8,14 +8,6 @@ Resume
Also https://cv.tyrel.dev/ for more up to date resume.
.. container:: wp-block-file
`2022 Resume <{attach}/pdfs/Tyrel-Souza-Resume-2022.pdf>`_
.. raw:: html
<object class="wp-block-file__embed" data="https://tyrel.dev/random/wp-content/uploads/2022/05/Tyrel-Souza-Resume-2022.pdf" type="application/pdf" style="width:100%;height:1190px" aria-label="Embed of Tyrel-Souza-Resume-2022.">
.. raw:: html
</object>
`Tyrel-Souza-Resume-2022 <https://tyrel.dev/random/wp-content/uploads/2022/05/Tyrel-Souza-Resume-2022.pdf>`__

Binary file not shown.

View File

@ -3,11 +3,26 @@ SITENAME = 'Tyrel Site'
TWITTER_USERNAME = 'tyrelsouza'
SITEURL = 'https://tyrel.dev/blog'
SITESUBTITLE = 'Code, Home Automation, Personal Blog'
MENUITEMS = [
('Home', '/blog/'),
('Tags', '/blog/tags.html'),
('Categories', '/blog/categories.html'),
]
LINKS = (
('Code', 'https://gitea.tyrel.dev/'),
('Wiki', 'https://tyrel.website/wiki/'),
('Flying Blog', 'https://k3tas.radio/airband/'),
('Photos', 'https://tyrel.website/photos'),
('LinkedIN', 'https://www.linkedin.com/in/tyrel-souza/'),
)
SOCIAL = (
('Twitter', 'https://www.twitter.com/tyrelsouza'),
('Instagram', 'https://www.instagram.com/tyrelsouza'),
('GoodReads', 'https://www.goodreads.com/user/show/24381583-tyrel-souza'),
)
PATH = 'content'
TIMEZONE = 'America/New_York'
@ -21,20 +36,6 @@ TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
# Blogroll
LINKS = (
('Code', 'https://gitea.tyrel.dev/'),
('Wiki', 'https://tyrel.website/wiki/'),
('Flying Blog', 'https://k3tas.radio/airband/'),
('Photos', 'https://tyrel.website/photos'),
('LinkedIN', 'https://www.linkedin.com/in/tyrel-souza/'),
)
# Social widget
SOCIAL = (
('Twitter', 'https://www.twitter.com/tyrelsouza'),
('Instagram', 'https://www.instagram.com/tyrelsouza'),
)
PLUGINS = [ ]
@ -42,4 +43,17 @@ DEFAULT_PAGINATION = 10
DISPLAY_CATEGORIES_ON_MENU = False
DELETE_OUTPUT_DIRECTORY = True
STATIC_PATHS = ('images',)
STATIC_PATHS = (
'images',
'_meta',
)
ARTICLE_PATHS = ['blog', ]
ARTICLE_SAVE_AS = '{date:%Y}/{date:%M}/{slug}.html'
ARTICLE_URL = '{date:%Y}/{date:%M}/{slug}.html'
DEFAULT_METADATA = {
'status': 'draft',
'_meta/favicon.ico': {'path': 'favicon.ico'},
}