Skip to content

Instantly share code, notes, and snippets.

{
"basics": {
"name": "Brenton Cleeland",
"email": "brenton@brntn.me",
"phone": "0433 915 551",
"url": "https://brntn.me",
"summary": "I am an experienced engineering team lead passionate about driving product success.\nI have led large teams to build, deploy, and maintain customer-facing applications.\nMy passion is growing teams by promoting engineering practices, mentoring and coaching developers, and enabling a collaborative team culture.\n",
"location": {
"city": "Albury",
"countryCode": "Australia"
@sesh
sesh / headers.txt
Created December 6, 2021 01:35
List of unique header keys
accept-ch
accept-ch-lifetime
accept-encoding
accept-ranges
access-control-allow-credentials
access-control-allow-everything
access-control-allow-headers
access-control-allow-methods
access-control-allow-origin
access-control-expose-headers

Keybase proof

I hereby claim:

  • I am sesh on github.
  • I am sesh (https://keybase.io/sesh) on keybase.
  • I have a public key ASDIDvKTNOVGxRpQvFOCN_U8xSpFiZSHjZB0czJAx3AR_Qo

To claim this, I am signing this object:

@sesh
sesh / admin.py
Last active July 18, 2020 05:53
Django Custom User Model
from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from django.utils.translation import ugettext_lazy as _
from .models import User
class CustomUserAdmin(UserAdmin):
fieldsets = (
(None, {'fields': ('email', 'password')}),
# Top Screen
bind l:cmd,alt move screenOriginX,screenOriginY screenSizeX/2,screenSizeY 0
bind ;:cmd,alt move screenOriginX,screenOriginY screenSizeX,screenSizeY 0
bind ':cmd,alt move screenOriginX+screenSizeX/2,screenOriginY screenSizeX/2,screenSizeY 0
# Laptop Screen
bind ,:cmd,alt move screenOriginX,screenOriginY screenSizeX/2,screenSizeY 1
bind .:cmd,alt move screenOriginX,screenOriginY screenSizeX,screenSizeY 1
bind /:cmd,alt move screenOriginX+screenSizeX/2,screenOriginY screenSizeX/2,screenSizeY 1
{
"properties": {
"name": "",
"source_id": 20133687,
"start": "2020-04-30T07:30:00+10:00",
"distance": 7830.219999999999,
"duration": 2517.044,
"activity_type": "running",
"provider": "smashrun"
},
@sesh
sesh / urls2.0.md
Created January 19, 2018 20:52
Django URLs 2.0 (MelbDjango Talk)

Django URLs 2.0


Django 2.0

  • Released December, 2017
  • Major features:
    • Only supports Python 3.4 and above
  • Mobile-friendly admin interface
// Pace your settings in this file to overwrite the default settings
{
"python.linting.enabled": true,
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"window.zoomLevel": 0,
"files.insertFinalNewline": true,
"editor.insertSpaces": true,
"files.trimTrailingWhitespace": true,
}
  • 1password
  • bitbar
  • Caffiene
  • Dash
  • f.lux
  • Handbrake
  • Hemmingway App
  • Homebrew
  • ImageOptim
  • iStat Menus
@sesh
sesh / TUNE.py
Created March 9, 2017 04:10
Download audio files from youtube links in a reddit thread
#!/usr/bin/env python3
"""
Download audio files from youtube links in a reddit thread.
Works a treat on /r/music/
Usage:
./TUNE.py <url>
Requirements: youtube-dl, beautifulsoup4, python>=3.5