Skip to content

Instantly share code, notes, and snippets.

View kevinbowen777's full-sized avatar
🏠
Working from home

Kevin Bowen kevinbowen777

🏠
Working from home
View GitHub Profile
@kevinbowen777
kevinbowen777 / keybase.md
Created July 1, 2019 06:31
Keybase proof

Keybase proof

I hereby claim:

  • I am kevinbowen777 on github.
  • I am kevinbowen (https://keybase.io/kevinbowen) on keybase.
  • I have a public key ASDuf0OWN6e_3kB8s9OyE8gvQtReqbtY7YB10yHBTO3qPwo

To claim this, I am signing this object:

@kevinbowen777
kevinbowen777 / xfce-get-release-notes
Last active July 25, 2019 19:28
xfce-get-release-notes
#!/usr/bin/env bash
IGNORE_LIST="grep -iv \"Update translation\" \
| grep -iv \"Add new translation\" \
| grep -iv \"Updates for release\" \
| grep -iv \"^Post release tag bump\" \
| grep -iv \"Fix typo\" \
| grep -iv \"gitignore\" \
| grep -iv \"Bump\" \
| grep -iv \"Fix comments\" \
@kevinbowen777
kevinbowen777 / git-pushing-multiple.rst
Created August 20, 2019 18:49 — forked from rvl/git-pushing-multiple.rst
How to push to multiple git remotes at once. Useful if you keep mirrors of your repo.

Pushing to Multiple Git Repos

If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.

Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.

If in doubt about what git is doing when you run these commands, just

@kevinbowen777
kevinbowen777 / install_django-bebug-toolbar.md
Last active April 24, 2022 05:51
Install django-debug-toolbar

Install django-debug-toolbar


  1. poetry add -D django-debug-toolbar OR pipenv install django-debug-toolbar --dev
@kevinbowen777
kevinbowen777 / django_crispy_form_implementation.md
Created April 25, 2022 02:01
Django crispy forms implementation

Django crispy forms implementation - 20220424


  1. Install the package: poetry add django-crispy-forms OR pipenv install django-crispy-forms

  2. Add to INSTALLED_APPS:

@kevinbowen777
kevinbowen777 / django_social_login_integration.md
Last active June 19, 2022 10:11
django-allauth social login integration

See this StackOverflow answer for additional information.


# Pull base image                                        
FROM python:3.10                                         
                                                         
# Set environment variables                             
ENV PYTHONDONTWRITEBYTECODE 1                            
@kevinbowen777
kevinbowen777 / git_quick_start.md
Last active May 5, 2022 19:38
Git Quick Start
#
# .env template for django projects
#
#
# Remember to rename this file to .env
# and uncomment the appropriate CONFIG statements
# depending upon the deployment environment
# Documentation: https://github.com/sloria/environs#usage-with-django
# Installation: `pip install environs[django]`
@kevinbowen777
kevinbowen777 / furacode.sh
Created September 25, 2022 16:38 — forked from m-rey/furacode.sh
Install Fura Code (Fira Code Nerd Font). Adapted from https://github.com/tonsky/FiraCode/wiki/Linux-instructions#manual-installation
#!/bin/bash
fonts_dir="${HOME}/.local/share/fonts"
if [ ! -d "${fonts_dir}" ]; then
echo "mkdir -p $fonts_dir"
mkdir -p "${fonts_dir}"
else
echo "Found fonts dir $fonts_dir"
fi